0,0 → 1,55 |
package dongfang.mkt.frames; |
|
public class AllDisplaysResponseFrame extends ResponseFrame { |
private int item; |
private int line; |
// private int maxItem; |
private char[] text; |
|
public AllDisplaysResponseFrame(int address) { |
super(address); |
} |
|
@Override |
public boolean isResponseTo(RequestFrame r) { |
return r instanceof AllDisplaysRequestFrame; |
} |
|
public int getItem() { |
return item; |
} |
|
public void setItem(int item) { |
this.item = item; |
} |
|
public int getLine() { |
return line; |
} |
|
public void setLine(int line) { |
this.line = line; |
} |
|
/* |
public int getMaxItem() { |
return maxItem; |
} |
|
public void setMaxItem(int maxItem) { |
this.maxItem = maxItem; |
} |
*/ |
|
public char[] getText() { |
return text; |
} |
|
public String getTextAsString() { |
return new String(text); |
} |
|
public void setText(char[] text) { |
this.text = text; |
} |
} |