Esempio n. 1
0
 public void Update(PenUpdateInformation update)
 {
     if (deviceInformation != null)
     {
         deviceInformation.Update(update.deviceInformationUpdate);
     }
 }
Esempio n. 2
0
 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);
         }
     }
 }
Esempio n. 3
0
 private void LePenClient_onUpdatePenController(IPenClient sender, PenUpdateInformation args)
 {
     onUpdatePenController?.Invoke(this, args);
 }