Casio Naurtech CETerm Ver.5.5 Scripting Guide Instrukcja Użytkownika Strona 101

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 164
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 100
NAURTECH WEB BROWSER AND TERMINAL EMULATION FOR WINDOWS CE AND WINDOWS MOBILE
CETerm Scripting Guide Page 101
if (rfStatus > 0)
{
// RF detected
// Delayed playsound, increase delay for WEP if needed
CETerm.SetTimeout( "RFWakeupSoundPlay();", 100 );
RFWakeupSoundContinue = 0;
}
else if (RFWakeupSoundCount > RFWakeupSoundCountMaximum)
{
// Failed to get RF, show failure message.
OS.Alert( "Failed to detect RF signal.\n" +
"Return to coverage area." );
RFWakeupSoundContinue = 0;
}
if (RFWakeupSoundContinue)
{
if (!(RFWakeupSoundCount % 5))
{
// Play "tick" sound while check is running.
CETerm.PlaySound( "MenuPop" );
}
// Schedule next RF check
RFWakeupSoundTimerID = CETerm.SetTimeout(
"RFWakeupSoundOnTimer();",
RFWakeupSoundInterval );
}
}
function RFWakeupSoundPlay()
{
// Select any wave file on device for notification.
CETerm.PlaySound( "infbeg" );
}
Przeglądanie stron 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 163 164

Komentarze do niniejszej Instrukcji

Brak uwag