private void OnLowPowerSelectionChanged(LowPowerSelection value) { if (this.LowPowerSelectionChanged == null) { return; } this.LowPowerSelectionChanged((object)this, new LowPowerSelectionEventArg(value)); }
private void OnLowPowerSelectionChanged(LowPowerSelection value) { if (this.LowPowerSelectionChanged == null) return; this.LowPowerSelectionChanged((object)this, new LowPowerSelectionEventArg(value)); }
public LowPowerSelectionEventArg(LowPowerSelection value) { this.value = value; }
public void SetLowPowerSelection(LowPowerSelection value) { try { lock (syncThread) registers["RegSeqConfig1"].Value = (uint)(byte)((uint)(byte)((uint)(byte)registers["RegSeqConfig1"].Value & 251U) | (uint)(byte)((uint)(byte)value << 2)); } catch (Exception ex) { OnError((byte)1, ex.Message); } }