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