IMSIPseudo.java: rename welcomeMsg to LUCounter
This commit is contained in:
parent
041b0e0af1
commit
1e5cc46d7f
|
@ -16,7 +16,7 @@ public class IMSIPseudo extends Applet implements ToolkitInterface, ToolkitConst
|
||||||
// which has a limited number of write cycles.
|
// which has a limited number of write cycles.
|
||||||
private byte helloMenuItem;
|
private byte helloMenuItem;
|
||||||
|
|
||||||
static byte[] welcomeMsg = new byte[] { '0', 'x', ' ', 'L', 'U' };
|
static byte[] LUCounter = new byte[] { '0', 'x', ' ', 'L', 'U' };
|
||||||
static byte[] menuItemText = new byte[] { 'I', 'M', 'S', 'I', ' ', 'P', 's', 'e', 'u', 'd', 'o', 'n', 'y', 'm',
|
static byte[] menuItemText = new byte[] { 'I', 'M', 'S', 'I', ' ', 'P', 's', 'e', 'u', 'd', 'o', 'n', 'y', 'm',
|
||||||
'i', 'z', 'a', 't', 'i', 'o', 'n'};
|
'i', 'z', 'a', 't', 'i', 'o', 'n'};
|
||||||
|
|
||||||
|
@ -60,15 +60,15 @@ public class IMSIPseudo extends Applet implements ToolkitInterface, ToolkitConst
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event == EVENT_EVENT_DOWNLOAD_LOCATION_STATUS) {
|
if (event == EVENT_EVENT_DOWNLOAD_LOCATION_STATUS) {
|
||||||
welcomeMsg[0]++;
|
LUCounter[0]++;
|
||||||
showHello();
|
showHello();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void showHello() {
|
private void showHello() {
|
||||||
ProactiveHandler proHdlr = ProactiveHandler.getTheHandler();
|
ProactiveHandler proHdlr = ProactiveHandler.getTheHandler();
|
||||||
proHdlr.initDisplayText((byte)0, DCS_8_BIT_DATA, welcomeMsg, (short)0,
|
proHdlr.initDisplayText((byte)0, DCS_8_BIT_DATA, LUCounter, (short)0,
|
||||||
(short)(welcomeMsg.length));
|
(short)(LUCounter.length));
|
||||||
proHdlr.send();
|
proHdlr.send();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue