private void OnFromReceiveChanged(FromReceive value) { if (this.FromReceiveChanged == null) { return; } this.FromReceiveChanged((object)this, new FromReceiveEventArg(value)); }
private void OnFromReceiveChanged(FromReceive value) { if (this.FromReceiveChanged == null) return; this.FromReceiveChanged((object)this, new FromReceiveEventArg(value)); }
public FromReceiveEventArg(FromReceive value) { this.value = value; }
public void SetFromReceive(FromReceive value) { try { lock (syncThread) registers["RegSeqConfig2"].Value = (uint)(byte)((uint)(byte)((uint)(byte)registers["RegSeqConfig2"].Value & 31U) | (uint)(byte)((uint)(byte)value << 5)); } catch (Exception ex) { OnError((byte)1, ex.Message); } }