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