private void _deviceController_DeviceVolChangedEvent(object sender, DeviceVolChangedEventArgs e) { if (e.Muted) { _serialCon.SendMutedChange(e.Name); _webAccessHost.SendMutedChangeEnocderNumber(e); } else { _serialCon.SendMVolChange(e.Name, e.Volume); _webAccessHost.SendVolChangedEncoderNumber(e); } }