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