/dongfang_FC_rewrite_tool/src/dongfang/mkt/frames/MotorTestRequestFrame.java |
---|
0,0 → 1,26 |
package dongfang.mkt.frames; |
import java.io.IOException; |
import dongfang.mkt.RequestFrameVisitor; |
public class MotorTestRequestFrame extends RequestFrame { |
int[] motorValues = new int[16]; |
MotorTestRequestFrame(int address) { |
super(address); |
} |
@Override |
public void accept(RequestFrameVisitor o) throws IOException { |
o.visit(this); |
} |
public void setMotorValue(int index, int value) { |
motorValues[index] = value; |
} |
public int[] getMotorValues() { |
return motorValues; |
} |
} |