private void OnTempThresholdChanged(TempThresholdEnum value) { if (TempThresholdChanged == null) { return; } TempThresholdChanged((object)this, new TempThresholdEventArg(value)); }
private void OnTempThresholdChanged(TempThresholdEnum value) { if (TempThresholdChanged == null) return; TempThresholdChanged((object)this, new TempThresholdEventArg(value)); }
public TempThresholdEventArg(TempThresholdEnum value) { this.value = value; }
public void SetTempThreshold(TempThresholdEnum value) { try { lock (syncThread) registers["RegImageCal"].Value = (uint)(byte)((uint)(byte)((uint)(byte)registers["RegImageCal"].Value & 249U) | (uint)(byte)((uint)(byte)value << 1)); } catch (Exception ex) { OnError((byte)1, ex.Message); } }