private void OnLowPowerSelectionChanged(LowPowerSelection value)
 {
     if (this.LowPowerSelectionChanged == null)
     {
         return;
     }
     this.LowPowerSelectionChanged((object)this, new LowPowerSelectionEventArg(value));
 }
Beispiel #2
0
 private void OnLowPowerSelectionChanged(LowPowerSelection value)
 {
     if (this.LowPowerSelectionChanged == null)
         return;
     this.LowPowerSelectionChanged((object)this, new LowPowerSelectionEventArg(value));
 }
 public LowPowerSelectionEventArg(LowPowerSelection value)
 {
     this.value = value;
 }
Beispiel #4
0
 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);
     }
 }
 public LowPowerSelectionEventArg(LowPowerSelection value)
 {
     this.value = value;
 }