Rev 1540 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1540 | - | 1 | package dongfang.mkt.frames; |
2 | |||
3 | import java.io.IOException; |
||
4 | |||
5 | |||
6 | public class LoopbackTestRequestFrame extends RequestFrame { |
||
7 | int _byte; |
||
8 | int word; |
||
9 | char[] chararray; |
||
10 | |||
11 | LoopbackTestRequestFrame(int address) { |
||
12 | super(address); |
||
13 | } |
||
14 | |||
15 | @Override |
||
16 | public void accept(RequestFrameVisitor o) throws IOException { |
||
17 | o.visit(this); |
||
18 | } |
||
19 | |||
20 | public int getByte() { |
||
21 | return _byte; |
||
22 | } |
||
23 | |||
24 | public void setByte(int _byte) { |
||
25 | this._byte = _byte; |
||
26 | } |
||
27 | |||
28 | public int getWord() { |
||
29 | return word; |
||
30 | } |
||
31 | |||
32 | public void setWord(int _word) { |
||
33 | this.word = _word; |
||
34 | } |
||
35 | |||
36 | public char[] getChararray() { |
||
37 | return chararray; |
||
38 | } |
||
39 | |||
40 | public void setChararray(char[] chararray) { |
||
41 | this.chararray = chararray; |
||
42 | } |
||
43 | } |