Rev 1564 |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
package dongfang.mkt.frames;
import java.io.IOException;
import dongfang.mkt.RequestFrameVisitor;
public class SingleDisplayRequestFrame
extends RequestFrame
{
private boolean allLinesInOneFrame
;
// private int autoSendInterval;
private int page
;
SingleDisplayRequestFrame
(int address
) {
super(address
);
}
@
Override
public void accept
(RequestFrameVisitor o
) throws IOException {
o.
visit(this);
}
public boolean getAllLinesInOneFrame
() {
return allLinesInOneFrame
;
}
public void setAllLinesInOneFrame
(boolean allLinesInOneFrame
) {
this.
allLinesInOneFrame = allLinesInOneFrame
;
}
public int getMenuItem
() {
return page
;
}
public void setMenuItem
(int page
) {
this.
page = page
;
}
public int getMenuItemCode
() {
return allLinesInOneFrame
? page | 0x80 : page
;
}
/*
public int getAutoSendInterval() {
return autoSendInterval;
}
public void setAutoSendInterval(int autoSendInterval) {
this.autoSendInterval = autoSendInterval;
}
*/
}