boolean PJ_SwitchMode (int $InstanceID, boolean $Status)
InstanceID | ID of the device to be switched |
Status | TRUE for On, FALSE for Off |
If the command succeeds, it returns TRUE, otherwise FALSE.
Sends a switching command to the WDT-868 module of the ID InstanceID.
PJ_SwitchMode(12345, True);