Visara Master Console Center Scripting Guide Instrukcja Użytkownika Strona 197

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 262
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 196
Chapter 5 Script Commands
Scripting Guide 197
Example:
SWITCH $Msg[ 3]
CASE “IOS000I”:
//call the IOS000 script to handle
IOS000( $Msg[ 4], $Msg[ 5])
BREAK
CASE “IOS050I”:
//call the IOS050 script to handle
IOS050( $Msg[ 4], $Msg[ 5])
BREAK
CASE “IOS060I”:
CASE “IOS070I”:
CASE “IOS080I”:
//call the IOS067 script to handle
IOS0678( $Msg[ 4], $Msg[ 5])
BREAK
DEFAULT:
LOG( LOG_FLT, “OTHER MESSAGE”)
BREAK
ENDSWITCH
SWITCH %Index
CASE 0:
//call the IOS000 script to handle
DoThisNow( $Msg[ 4], $Msg[ 5])
BREAK
CASE 1:
//call the IOS050 script to handle
DoThatNow( $Msg[ 4], $Msg[ 5])
BREAK
CASE 2:
CASE 3:
CASE 4:
//call the IOS067 script to handle
IOS0678( $Msg[ 4], $Msg[ 5])
BREAK
DEFAULT:
LOG( LOG_FLT, “OTHER MESSAGE”)
BREAK
ENDSWITCH
See Also:
IF
Przeglądanie stron 196
1 2 ... 192 193 194 195 196 197 198 199 200 201 202 ... 261 262

Komentarze do niniejszej Instrukcji

Brak uwag