private void characteristicReadValueChanged(object sender, BLE_CharacteristicReadResult e) { this.Dispatcher.Invoke(() => { lock (this.treeServices) { this.dataChanged = true; } }); }
private void BinderSet_ReadValueChanged(object sender, BLE_CharacteristicReadResult e) { Task.Run(() => { try { this.CharacteristicReadValueChanged?.Invoke(sender, e); } catch (Exception e) { this.log.Exception(9999, "RaiseConnectAttemptResult", "", e); } }); }
private void BLE_CharacteristicReadValueChangeHandler(object sender, BLE_CharacteristicReadResult args) { ErrReport report; WrapErr.ToErrReport(out report, 200055, "Failure on BLE_CharacteristicReadValueChangeHandler", () => { if (args.Status == BLE_CharacteristicCommunicationStatus.Success) { this.TranslateIfBool(args.DataModel); } this.BLE_CharacteristicReadValueChanged?.Invoke(sender, args); }); }
private void onReadValueChanged(object sender, BLE_CharacteristicReadResult result) { this.ReadValueChanged?.Invoke(sender, result); }