Example #1
0
 private void OnFromReceiveChanged(FromReceive value)
 {
     if (this.FromReceiveChanged == null)
     {
         return;
     }
     this.FromReceiveChanged((object)this, new FromReceiveEventArg(value));
 }
Example #2
0
 private void OnFromReceiveChanged(FromReceive value)
 {
     if (this.FromReceiveChanged == null)
         return;
     this.FromReceiveChanged((object)this, new FromReceiveEventArg(value));
 }
Example #3
0
 public FromReceiveEventArg(FromReceive value)
 {
     this.value = value;
 }
Example #4
0
 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);
     }
 }
Example #5
0
 public FromReceiveEventArg(FromReceive value)
 {
     this.value = value;
 }