Subversion Repositories Projects

Rev

Rev 1543 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1543 Rev 1562
Line 1... Line 1...
1
package dongfang.mkt.frames;
1
package dongfang.mkt.frames;
Line 2... Line 2...
2
 
2
 
-
 
3
public class CompassHeadingResponseFrame extends ResponseFrame {
-
 
4
        int[] angle= new int[2];
-
 
5
        int[] user = new int[2];
-
 
6
        int calcState;
-
 
7
        int orientation;
3
public class CompassHeadingResponseFrame extends ResponseFrame {
8
       
4
        public CompassHeadingResponseFrame(int address) {
9
        public CompassHeadingResponseFrame(int address) {
5
                super(address);
10
                super(address);
Line 6... Line 11...
6
        }
11
        }
7
 
12
 
8
        @Override
13
        @Override
9
        public boolean isResponseTo(RequestFrame r) {
14
        public boolean isResponseTo(RequestFrame r) {
10
                return false ;//r instanceof CompassHeadingRequestFrame;
15
                return r instanceof CompassHeadingRequestFrame;