Rev 1535 | Rev 1564 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1535 | Rev 1545 | ||
---|---|---|---|
1 | package dongfang.mkt.frames; |
1 | package dongfang.mkt.frames; |
2 | 2 | ||
3 | import java.io.IOException; |
3 | import java.io.IOException; |
4 | 4 | ||
5 | import dongfang.mkt.RequestFrameVisitor; |
5 | import dongfang.mkt.RequestFrameVisitor; |
6 | 6 | ||
7 | public class AnalogDebugLabelRequestFrame extends RequestFrame { |
7 | public class AnalogDebugLabelRequestFrame extends RequestFrame { |
8 | int channel; |
8 | int channel; |
9 | 9 | ||
10 | AnalogDebugLabelRequestFrame(int address, int channel) { |
10 | public AnalogDebugLabelRequestFrame(int address, int channel) { |
11 | super(address); |
11 | super(address); |
12 | this.channel = channel; |
12 | this.channel = channel; |
13 | } |
13 | } |
14 | 14 | ||
15 | public int getChannel() { |
15 | public int getChannel() { |
16 | return channel; |
16 | return channel; |
17 | } |
17 | } |
18 | 18 | ||
19 | public void accept(RequestFrameVisitor o) throws IOException { |
19 | public void accept(RequestFrameVisitor o) throws IOException { |
20 | o.visit(this); |
20 | o.visit(this); |
21 | } |
21 | } |
22 | } |
22 | } |
23 | 23 |