Rev 1535 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1535 | Rev 1601 | ||
---|---|---|---|
1 | package dongfang.mkt.frames; |
1 | package dongfang.mkt.frames; |
2 | 2 | ||
3 | public class UniversalReadParamSetResponseFrame extends ResponseFrame { |
3 | public class UniversalReadParamSetResponseFrame extends ResponseFrame { |
4 | private int configurationSetNumber; |
4 | private int configurationSetNumber; |
5 | private int configurationVersion; |
5 | private int configurationVersion; |
- | 6 | private int length; |
|
6 | private int[] data; |
7 | private int[] data; |
7 | 8 | ||
8 | public UniversalReadParamSetResponseFrame(int address) { |
9 | public UniversalReadParamSetResponseFrame(int address) { |
9 | super(address); |
10 | super(address); |
10 | } |
11 | } |
11 | 12 | ||
12 | @Override |
13 | @Override |
13 | public boolean isResponseTo(RequestFrame r) { |
14 | public boolean isResponseTo(RequestFrame r) { |
14 | return r instanceof UniversalReadParamSetRequestFrame; |
15 | return r instanceof UniversalReadParamSetRequestFrame; |
15 | } |
16 | } |
16 | 17 | ||
17 | public int getConfigurationSetNumber() { |
18 | public int getConfigurationSetNumber() { |
18 | return configurationSetNumber; |
19 | return configurationSetNumber; |
19 | } |
20 | } |
20 | 21 | ||
21 | public void setConfigurationSetNumber(int configurationSetNumber) { |
22 | public void setConfigurationSetNumber(int configurationSetNumber) { |
22 | this.configurationSetNumber = configurationSetNumber; |
23 | this.configurationSetNumber = configurationSetNumber; |
23 | } |
24 | } |
24 | 25 | ||
25 | public int getConfigurationVersion() { |
26 | public int getConfigurationVersion() { |
26 | return configurationVersion; |
27 | return configurationVersion; |
27 | } |
28 | } |
28 | 29 | ||
29 | public void setConfigurationVersion(int configurationVersion) { |
30 | public void setConfigurationVersion(int configurationVersion) { |
30 | this.configurationVersion = configurationVersion; |
31 | this.configurationVersion = configurationVersion; |
31 | } |
32 | } |
- | 33 | ||
- | 34 | public int getConfigurationSetLength() { |
|
- | 35 | return length; |
|
- | 36 | } |
|
- | 37 | ||
- | 38 | public void setConfigurationSetLength(int configurationSetLength) { |
|
- | 39 | this.length = configurationSetLength; |
|
- | 40 | } |
|
32 | 41 | ||
33 | public int[] getData() { |
42 | public int[] getData() { |
34 | return data; |
43 | return data; |
35 | } |
44 | } |
36 | 45 | ||
37 | public void setData(int[] data) { |
46 | public void setData(int[] data) { |
38 | this.data = data; |
47 | this.data = data; |
39 | } |
48 | } |
40 | } |
49 | } |
41 | 50 |