Rev 1688 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1688 | Rev 1689 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | package dongfang.mkt.frames; |
1 | package dongfang.mkt.frames; |
2 | 2 | ||
3 | public class ReadMotorMixerResponseFrame extends ResponseFrame { |
3 | public class ReadMotorMixerResponseFrame extends ResponseFrame { |
- | 4 | private char[] name; |
|
4 | private int[][] matrix; |
5 | private int[][] matrix; |
5 | // private int[] oppositeMotors; |
6 | // private int[] oppositeMotors; |
6 | private int configurationVersion; |
7 | private int configurationVersion; |
7 | private int dataLength; // not used really... |
8 | private int dataLength; // not used really... |
8 | 9 | ||
9 | public ReadMotorMixerResponseFrame() { |
10 | public ReadMotorMixerResponseFrame() { |
10 | super(FC_ADDRESS); |
11 | super(FC_ADDRESS); |
11 | } |
12 | } |
12 | 13 | ||
- | 14 | public char[] getName() { |
|
- | 15 | return name; |
|
- | 16 | } |
|
- | 17 | ||
- | 18 | public void setName(char[] name) { |
|
- | 19 | this.name = name; |
|
- | 20 | } |
|
- | 21 | ||
13 | @Override |
22 | @Override |
14 | public boolean isResponseTo(RequestFrame r) { |
23 | public boolean isResponseTo(RequestFrame r) { |
15 | return r instanceof ReadMotorMixerRequestFrame; |
24 | return r instanceof ReadMotorMixerRequestFrame; |
16 | } |
25 | } |
17 | 26 |