Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 1696 → Rev 1698

/dongfang_FC_rewrite_tool/src/dongfang/mkt/frames/ExternalControlRequestFrame.java
35,8 → 35,8
int frameNum; // unsigned byte.
int argument; // unsigned byte. Called "config" in MK code.
 
ExternalControlRequestFrame(int address) {
super(address);
public ExternalControlRequestFrame() {
super(FC_ADDRESS);
}
 
public int[] getDigital() {
/dongfang_FC_rewrite_tool/src/dongfang/mkt/frames/VersionResponseFrame.java
89,6 → 89,8
}
public String toString() {
return getClass().getSimpleName() + ": SWMajor=" + SWMajor + ", SWMinor=" + SWMinor + ", SWPatch=" + SWPatch + ", protocolMajor="+protoMajor + ", protocolMinor=" + protoMinor;
StringBuilder result = new StringBuilder();
result.append("SW=" + SWMajor + "." + SWMinor + "." + SWPatch + ", protocol=" + protoMajor + "." + protoMinor);
result.append();
}
}