public FifoFillConditionEventArg(FifoFillConditionEnum value)
 {
     this.value = value;
 }
Beispiel #2
0
 private void OnFifoFillConditionChanged(FifoFillConditionEnum value)
 {
     if (this.FifoFillConditionChanged == null)
     return;
       this.FifoFillConditionChanged((object) this, new FifoFillConditionEventArg(value));
 }
Beispiel #3
0
 public void SetFifoFillCondition(FifoFillConditionEnum value)
 {
     try
     {
         lock (syncThread)
             registers["RegSyncConfig"].Value = (uint)(byte)((uint)(byte)((uint)(byte)registers["RegSyncConfig"].Value & 247U) | (uint)(byte)((uint)(byte)value << 3));
     }
     catch (Exception ex)
     {
         OnError((byte)1, ex.Message);
     }
 }
 public FifoFillConditionEventArg(FifoFillConditionEnum value)
 {
     this.value = value;
 }
Beispiel #5
0
		private void OnFifoFillConditionChanged(FifoFillConditionEnum value)
		{
			if (FifoFillConditionChanged != null)
				FifoFillConditionChanged(this, new FifoFillConditionEventArg(value));
		}
Beispiel #6
0
		public void SetFifoFillCondition(FifoFillConditionEnum value)
		{
			try
			{
				lock (syncThread)
					m_registers["RegSyncConfig"].Value = (m_registers["RegSyncConfig"].Value & 0xBF) | (uint)(value == FifoFillConditionEnum.Allways ? 0x40 : 0);
			}
			catch (Exception exception)
			{
				OnError(1, exception.Message);
			}
		}