/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. |
public ExternalControlRequestFrame() { |
super(FC_ADDRESS); |
ExternalControlRequestFrame(int address) { |
super(address); |
} |
public int[] getDigital() { |
/dongfang_FC_rewrite_tool/src/dongfang/mkt/frames/VersionResponseFrame.java |
---|
89,8 → 89,6 |
} |
public String toString() { |
StringBuilder result = new StringBuilder(); |
result.append("SW=" + SWMajor + "." + SWMinor + "." + SWPatch + ", protocol=" + protoMajor + "." + protoMinor); |
result.append(); |
return getClass().getSimpleName() + ": SWMajor=" + SWMajor + ", SWMinor=" + SWMinor + ", SWPatch=" + SWPatch + ", protocolMajor="+protoMajor + ", protocolMinor=" + protoMinor; |
} |
} |