Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejavascript
function SetObjectState(objtype : String, id : String, state : String)

Method arguments:

  1. objtype - Required argument. The type of the object whose state is to be changed. It takes the following values:  Type – String, range – existing object types.
  2. id - Required argument. Identification number of the object of the type set in the objtype parameter. It takes the following values:  Type – String, range – existing object identification numbers of the specified type.
  3. state - Required – Required argument. The state to switch the object to. It takes the following values:  Type – String, range – available states of the object.

...

Info
titleNote

The Timer object with identification number 1 should be created beforehand. Set the Minutes parameter of the Timer object to 30.The timer would go off every hour at half past the hour - 09:30, 10:30, 11:30, etc.

...