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 AllDisplaysRequestFrame extends RequestFrame { |
9 | public enum PAGEORDER { |
||
10 | STAY(0), BACKWARD(1), FORWARD(2), RESET(3); |
||
11 | |||
12 | int remoteKeys; |
||
13 | |||
14 | PAGEORDER(int remoteKeys) { |
||
15 | this.remoteKeys = remoteKeys; |
||
16 | } |
||
17 | |||
18 | public int getRemoteKeys() { |
||
19 | return remoteKeys; |
||
20 | } |
||
21 | } |
||
22 | |||
23 | private PAGEORDER pageOrder; |
||
24 | private int autoSendInterval; |
||
25 | |||
26 | AllDisplaysRequestFrame(int address) { |
||
27 | super(address); |
||
28 | } |
||
29 | |||
30 | @Override |
||
31 | public void accept(RequestFrameVisitor o) throws IOException { |
||
32 | o.visit(this); |
||
33 | } |
||
34 | |||
35 | public PAGEORDER getPageOrder() { |
||
36 | return pageOrder; |
||
37 | } |
||
38 | |||
39 | public void setPageOrder(PAGEORDER pageOrder) { |
||
40 | this.pageOrder = pageOrder; |
||
41 | } |
||
42 | |||
43 | public int getAutoSendInterval() { |
||
44 | return autoSendInterval; |
||
45 | } |
||
46 | |||
47 | public void setAutoSendInterval(int autoSendInterval) { |
||
48 | this.autoSendInterval = autoSendInterval; |
||
49 | } |
||
50 | } |