Subversion Repositories Projects

Rev

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