示例#1
0
 public void AddActuator(string bluetoothDeviceName, int region, int positivePin, int negativePin)
 {
     if (this.WebSocket.IsAlive)
     {
         this.WebSocket.Send(MessageGenerator.AddActuator(bluetoothDeviceName, region, positivePin, negativePin));
     }
 }