Subversion Repositories Projects

Rev

Rev 1564 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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