Rev 1564 | 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 | |||
1566 | - | 5 | import dongfang.mkt.RequestFrameVisitor; |
1540 | - | 6 | |
1566 | - | 7 | |
1540 | - | 8 | public class LoopbackTestRequestFrame extends RequestFrame { |
9 | int _byte; |
||
10 | int word; |
||
11 | char[] chararray; |
||
12 | |||
13 | LoopbackTestRequestFrame(int address) { |
||
14 | super(address); |
||
15 | } |
||
16 | |||
17 | @Override |
||
18 | public void accept(RequestFrameVisitor o) throws IOException { |
||
19 | o.visit(this); |
||
20 | } |
||
21 | |||
22 | public int getByte() { |
||
23 | return _byte; |
||
24 | } |
||
25 | |||
26 | public void setByte(int _byte) { |
||
27 | this._byte = _byte; |
||
28 | } |
||
29 | |||
30 | public int getWord() { |
||
31 | return word; |
||
32 | } |
||
33 | |||
34 | public void setWord(int _word) { |
||
35 | this.word = _word; |
||
36 | } |
||
37 | |||
38 | public char[] getChararray() { |
||
39 | return chararray; |
||
40 | } |
||
41 | |||
42 | public void setChararray(char[] chararray) { |
||
43 | this.chararray = chararray; |
||
44 | } |
||
45 | } |