Beispiel #1
0
 private void RemoveCommand(DescriptCommand command)
 {
     _descriptCommands.Remove(command);
 }
Beispiel #2
0
 private void AddCommand(DescriptCommand command)
 {
     _descriptCommands.Add(command);
 }
Beispiel #3
0
        public string Execute(DescriptCommand command)
        {
            var device = _smartDevicesProvider.GetDevice(command.DeviceId);

            return(device.ExecuteCommand(command.CommandId));
        }