Rev 1564 |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
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
;
}
}