Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1611 | - | 1 | package dongfang.mkt.frames; |
2 | |||
3 | public class ReadIMUConfigurationResponseFrame extends ResponseFrame { |
||
4 | private int configurationVersion; |
||
5 | private int length; |
||
6 | private int[] data; |
||
7 | |||
8 | public ReadIMUConfigurationResponseFrame(int address) { |
||
9 | super(address); |
||
10 | } |
||
11 | |||
12 | @Override |
||
13 | public boolean isResponseTo(RequestFrame r) { |
||
14 | return r instanceof ReadIMUConfigurationRequestFrame; |
||
15 | } |
||
16 | |||
17 | public int getConfigurationVersion() { |
||
18 | return configurationVersion; |
||
19 | } |
||
20 | |||
21 | public void setConfigurationVersion(int configurationVersion) { |
||
22 | this.configurationVersion = configurationVersion; |
||
23 | } |
||
24 | |||
25 | public int getConfigurationSetLength() { |
||
26 | return length; |
||
27 | } |
||
28 | |||
29 | public void setConfigurationSetLength(int configurationSetLength) { |
||
30 | this.length = configurationSetLength; |
||
31 | } |
||
32 | |||
33 | public int[] getData() { |
||
34 | return data; |
||
35 | } |
||
36 | |||
37 | public void setData(int[] data) { |
||
38 | this.data = data; |
||
39 | } |
||
40 | } |