override protected void ExecuteCommand(ArduinoCommand command, ExecutionArguments xargs) { if (!_enabled) { List <ArduinoDevice> devices = Mgr.GetDevicesByPin(_transmitPin); foreach (var device in devices) { if (device is IRTransmitter && device != this) { ((IRTransmitter)device).Disable(); } } Enable(); } base.ExecuteCommand(command, xargs); }