Subversion Repositories Projects

Rev

Rev 1541 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1541 - 1
package dongfang.mkt.frames;
2
 
3
import java.io.IOException;
4
 
5
 
6
public class MotorTestRequestFrame extends RequestFrame {
7
        int[] motorValues = new int[16];
8
 
9
        MotorTestRequestFrame(int address) {
10
                super(address);
11
        }
12
 
13
        @Override
14
        public void accept(RequestFrameVisitor o) throws IOException {
15
                o.visit(this);
16
        }
17
 
18
        public void setMotorValue(int index, int value) {
19
                motorValues[index] = value;
20
        }
21
 
22
        public int[] getMotorValues() {
23
                return motorValues;
24
        }
25
}