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