Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1540 | - | 1 | package dongfang.mkt.frames; |
2 | |||
3 | public class SingleDisplayResponseFrame extends ResponseFrame { |
||
4 | private int item; |
||
5 | private char[] text; |
||
6 | |||
7 | public SingleDisplayResponseFrame(int address) { |
||
8 | super(address); |
||
9 | } |
||
10 | |||
11 | @Override |
||
12 | public boolean isResponseTo(RequestFrame r) { |
||
13 | return r instanceof SingleDisplayRequestFrame; |
||
14 | } |
||
15 | |||
16 | public int getItem() { |
||
17 | return item; |
||
18 | } |
||
19 | |||
20 | public void setItem(int item) { |
||
21 | this.item = item; |
||
22 | } |
||
23 | |||
24 | public char[] getText() { |
||
25 | return text; |
||
26 | } |
||
27 | |||
28 | public void setText(char[] text) { |
||
29 | this.text = text; |
||
30 | } |
||
31 | } |