public PreamblePolarityEventArg(PreamblePolarityEnum value)
 {
     this.value = value;
 }
Beispiel #2
0
 public void SetPreamblePolarity(PreamblePolarityEnum value)
 {
     try
     {
         lock (syncThread)
             registers["RegSyncConfig"].Value = (uint)(byte)((uint)(byte)((uint)(byte)registers["RegSyncConfig"].Value & 223U) | (uint)(byte)((uint)(byte)value << 5));
     }
     catch (Exception ex)
     {
         OnError((byte)1, ex.Message);
     }
 }
Beispiel #3
0
 private void OnPreamblePolarityChanged(PreamblePolarityEnum value)
 {
     if (this.PreamblePolarityChanged == null)
     return;
       this.PreamblePolarityChanged((object) this, new PreamblePolarityEventArg(value));
 }
 public PreamblePolarityEventArg(PreamblePolarityEnum value)
 {
     this.value = value;
 }