Rev 1688 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1688 | Rev 1689 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | 4 | ||
Line 5... | Line 5... | ||
5 | import dongfang.mkt.RequestFrameVisitor; |
5 | import dongfang.mkt.RequestFrameVisitor; |
- | 6 | ||
6 | 7 | ||
7 | 8 | public class WriteMotorMixerRequestFrame extends RequestFrame { |
|
8 | public class WriteMotorMixerRequestFrame extends RequestFrame { |
9 | private char[] name; |
9 | private int[][] matrix; |
- | |
Line 10... | Line 10... | ||
10 | // private int[] oppositeMotors; |
10 | private int[][] matrix; |
11 | private int motorMixerVersionNumber; |
11 | // private int[] oppositeMotors; |
12 | private int configurationVersion; |
12 | private int motorMixerVersionNumber; |
- | 13 | ||
13 | 14 | public WriteMotorMixerRequestFrame(int motorMixerVersionNumber, char[] name, int[][] matrix /*, int[] oppositeMotors*/) { |
|
14 | public WriteMotorMixerRequestFrame(int motorMixerVersionNumber, int[][] matrix /*, int[] oppositeMotors*/) { |
15 | super(FC_ADDRESS); |
15 | super(FC_ADDRESS); |
16 | this.motorMixerVersionNumber = motorMixerVersionNumber; |
Line 16... | Line 17... | ||
16 | this.motorMixerVersionNumber = motorMixerVersionNumber; |
17 | this.name = name; |
Line 25... | Line 26... | ||
25 | 26 | ||
26 | public int getMotorMixerVersionNumber() { |
27 | public int getMotorMixerVersionNumber() { |
27 | return motorMixerVersionNumber; |
28 | return motorMixerVersionNumber; |
Line -... | Line 29... | ||
- | 29 | } |
|
- | 30 | ||
- | 31 | public void setMotorMixerVersionNumber(int motorMixerVersionNumber) { |
|
- | 32 | this.motorMixerVersionNumber = motorMixerVersionNumber; |
|
- | 33 | } |
|
- | 34 | ||
- | 35 | public char[] getName() { |
|
- | 36 | return name; |
|
- | 37 | } |
|
- | 38 | ||
- | 39 | public void setName(char[] name) { |
|
- | 40 | this.name = name; |
|
28 | } |
41 | } |
29 | 42 | ||
30 | public int[][] getMatrix() { |
43 | public int[][] getMatrix() { |
Line 31... | Line 44... | ||
31 | return matrix; |
44 | return matrix; |
32 | } |
45 | } |
33 | 46 | ||
34 | /* |
47 | /* |
35 | public int[] getOppositeMotors() { |
48 | public int[] getOppositeMotors() { |
36 | return oppositeMotors; |
- | |
37 | } |
- | |
38 | */ |
- | |
39 | - | ||
40 | public int getConfigurationVersion() { |
- | |
41 | return configurationVersion; |
- | |
42 | } |
- | |
43 | - | ||
Line 44... | Line 49... | ||
44 | public void setConfigurationVersion(int configurationVersion) { |
49 | return oppositeMotors; |
45 | this.configurationVersion = configurationVersion; |
50 | } |
46 | } |
51 | */ |
47 | 52 |