Subversion Repositories Projects

Rev

Rev 1545 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1545 Rev 1564
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
public class AnalogDebugLabelRequestFrame extends RequestFrame {
6
public class AnalogDebugLabelRequestFrame extends RequestFrame {
8
        int channel;
7
        int channel;
9
       
8
       
10
        public AnalogDebugLabelRequestFrame(int address, int channel) {
9
        public AnalogDebugLabelRequestFrame(int address, int channel) {
11
                super(address);
10
                super(address);
12
                this.channel = channel;
11
                this.channel = channel;
13
        }
12
        }
14
 
13
 
15
        public int getChannel() {
14
        public int getChannel() {
16
                return channel;
15
                return channel;
17
        }
16
        }
18
       
17
       
19
        public void accept(RequestFrameVisitor o) throws IOException {
18
        public void accept(RequestFrameVisitor o) throws IOException {
20
                o.visit(this);
19
                o.visit(this);
21
        }
20
        }
22
}
21
}
23
 
22