Rev 1537 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1537 | Rev 1562 | ||
---|---|---|---|
Line 70... | Line 70... | ||
70 | private final char id; |
70 | private final char id; |
71 | RESPONSE_IDS(char id) { this.id = id; } |
71 | RESPONSE_IDS(char id) { this.id = id; } |
72 | public char getId() { return id; } |
72 | public char getId() { return id; } |
73 | } |
73 | } |
Line 74... | Line -... | ||
74 | - | ||
75 | /* |
- | |
76 | public ResponseFrame getResponseFrameInstance(RESPONSE_IDS id) { |
- | |
77 | switch (id) { |
- | |
78 | case ANALOG_DEBUG_LABEL: return new AnalogDebugLabelResponseFrame(); |
- | |
79 | case EXTERNAL_CONTROL: return new ExternalControlResponseFrame(); |
- | |
80 | case DISPLAY1: return new Display1ResponseFrame(); |
- | |
81 | case DISPLAY2: return new Display2ResponseFrame(); |
- | |
82 | case VERSION: return new VersionResponseFrame(); |
- | |
83 | } |
- | |
84 | } |
- | |
85 | */ |
- | |
86 | 74 | ||
Line 87... | Line 75... | ||
87 | protected final int address; |
75 | protected final int address; |
88 | 76 | ||
89 | protected Frame(int address) { |
77 | protected Frame(int address) { |