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 AttitudeDataRequestFrame extends RequestFrame {
8
public class AttitudeDataRequestFrame extends RequestFrame {
7
        private int autoSendInterval;
9
        private int autoSendInterval;
8
       
10
       
9
        public AttitudeDataRequestFrame(int autoSendInterval) {
11
        public AttitudeDataRequestFrame(int autoSendInterval) {
10
                super(FC_ADDRESS);
12
                super(FC_ADDRESS);
11
                this.autoSendInterval = autoSendInterval;
13
                this.autoSendInterval = autoSendInterval;
12
        }
14
        }
13
       
15
       
14
        public void accept(RequestFrameVisitor o) throws IOException {
16
        public void accept(RequestFrameVisitor o) throws IOException {
15
                o.visit(this);
17
                o.visit(this);
16
        }
18
        }
17
       
19
       
18
        public int getAutoSendInterval() {
20
        public int getAutoSendInterval() {
19
                return autoSendInterval;
21
                return autoSendInterval;
20
        }
22
        }
21
}
23
}
22
 
24