public override bool SetDimLevel(int dimLevel)
 {
     try {
         gateway.SendCommand(
             LightwaveRFHelper.GenerateDimString(this, dimLevel)
             );
         return(true);
     } catch {
         return(false);
     }
 }
Exemple #2
0
 public override void ToggleDeviceState(int state)
 {
     gateway.SendCommand(
         LightwaveRFHelper.GenerateToggleDeviceStateString(this, state)
         );
 }