public void Update(PenUpdateInformation update) { if (deviceInformation != null) { deviceInformation.Update(update.deviceInformationUpdate); } }
public void Update(PenUpdateInformation update) { if (IsLe) { Rssi = update.Rssi; if (!string.IsNullOrEmpty(update.ModelName)) { name = update.ModelName; NotifyPropertyChanged("Name"); } } else { if (deviceInformation != null && update.deviceInformationUpdate != null) { deviceInformation.Update(update.deviceInformationUpdate); } } }
private void LePenClient_onUpdatePenController(IPenClient sender, PenUpdateInformation args) { onUpdatePenController?.Invoke(this, args); }