public DcFreeEventArg(DcFreeEnum value) { this.value = value; }
public DcFreeEventArg(DcFreeEnum value) { _value = value; }
public DcFreeEventArg(DcFreeEnum value) { _value = value; }
private void OnDcFreeChanged(DcFreeEnum value) { if (this.DcFreeChanged == null) return; this.DcFreeChanged((object) this, new DcFreeEventArg(value)); }
public void SetDcFree(DcFreeEnum value) { try { lock (syncThread) registers["RegPacketConfig1"].Value = (uint)(byte)((uint)(byte)((uint)(byte)registers["RegPacketConfig1"].Value & 159U) | (uint)(byte)(((int)(byte)value & 3) << 5)); } catch (Exception ex) { OnError((byte)1, ex.Message); } }
private void OnDcFreeChanged(DcFreeEnum value) { if (DcFreeChanged != null) DcFreeChanged(this, new DcFreeEventArg(value)); }
public void SetDcFree(DcFreeEnum value) { try { lock (syncThread) m_registers["RegPacketConfig1"].Value = (m_registers["RegPacketConfig1"].Value & 0x9F) | (((uint)value & 3) << 5); } catch (Exception exception) { OnError(1, exception.Message); } }
public DcFreeEventArg(DcFreeEnum value) { this.value = value; }