Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1535 | - | 1 | package dongfang.mkt.frames; |
2 | |||
3 | import java.io.IOException; |
||
4 | |||
5 | |||
6 | public class UniversalWriteParamSetRequestFrame extends RequestFrame { |
||
7 | private int[] data; |
||
8 | private int configurationSetNumber; |
||
9 | private int configurationVersionNumber; |
||
10 | |||
11 | public UniversalWriteParamSetRequestFrame(int configurationVersionNumber, int[] data) { |
||
12 | super(FC_ADDRESS); |
||
13 | this.configurationVersionNumber = configurationVersionNumber; |
||
14 | this.data = data; |
||
15 | } |
||
16 | |||
17 | @Override |
||
18 | public void accept(RequestFrameVisitor o) throws IOException { |
||
19 | o.visit(this); |
||
20 | } |
||
21 | |||
22 | public int getConfigurationSetNumber() { |
||
23 | return configurationSetNumber; |
||
24 | } |
||
25 | |||
26 | public void setConfigurationSetNumber(int n) { |
||
27 | this.configurationSetNumber = n ; |
||
28 | } |
||
29 | |||
30 | public int getConfigurationVersionNumber() { |
||
31 | return configurationVersionNumber; |
||
32 | } |
||
33 | |||
1564 | - | 34 | public int getDataLength() { |
35 | return data.length; |
||
36 | } |
||
37 | |||
1535 | - | 38 | public int[] getData() { |
39 | return data; |
||
40 | } |
||
41 | } |