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 | import dongfang.mkt.RequestFrameVisitor; |
||
6 | |||
7 | public class UniversalWriteParamSetRequestFrame extends RequestFrame { |
||
8 | private int[] data; |
||
9 | private int configurationSetNumber; |
||
10 | private int configurationVersionNumber; |
||
11 | |||
12 | public UniversalWriteParamSetRequestFrame(int configurationVersionNumber, int[] data) { |
||
13 | super(FC_ADDRESS); |
||
14 | this.configurationVersionNumber = configurationVersionNumber; |
||
15 | this.data = data; |
||
16 | } |
||
17 | |||
18 | @Override |
||
19 | public void accept(RequestFrameVisitor o) throws IOException { |
||
20 | o.visit(this); |
||
21 | } |
||
22 | |||
23 | public int getConfigurationSetNumber() { |
||
24 | return configurationSetNumber; |
||
25 | } |
||
26 | |||
27 | public void setConfigurationSetNumber(int n) { |
||
28 | this.configurationSetNumber = n ; |
||
29 | } |
||
30 | |||
31 | public int getConfigurationVersionNumber() { |
||
32 | return configurationVersionNumber; |
||
33 | } |
||
34 | |||
35 | public int[] getData() { |
||
36 | return data; |
||
37 | } |
||
38 | } |