Ejemplo n.º 1
0
		private void SendPostCompleted(object sender, BaseEventArgs e)
		{
			if (callback == null) return;
			callback(this, new BaseEventArgs(e.Result, e.Error));
		}
Ejemplo n.º 2
0
        /// <summary>
        /// Method to handle base events raised by the Dm Tx.
        /// </summary>
        /// <param name="device">Reference to the device raising this event.</param>
        /// <param name="args">Information about the event being raised.</param>
        void dmTx_BaseEvent(GenericBase device, BaseEventArgs args)
        {
            // determine what event has been raised
            switch (args.EventId)
            {
                case BaseDmTx401.VideoSourceFeedbackEventId:
                    break;

                default:
                    break;
            }
        }
Ejemplo n.º 3
0
 void swampBaseEvent(GenericBase device, BaseEventArgs args)
 {
     uint callingZone = 0;
     switch (args.EventId)
     {
         case Swamp.SPDIFOut9SourceFeedbackEventId:
             callingZone = 9;
             break;
         case Swamp.SPDIFOut10SourceFeedbackEventId:
             callingZone = 10;
             break;
         default:
             break;
     }
     myEISC.UShortInput[40 + callingZone].UShortValue = swampA.SpdifOuts[callingZone].SPDIFOutSourceFeedback.UShortValue;
     UItoZone.zoneCurrentSourceNumber[callingZone] = swampA.SpdifOuts[callingZone].SPDIFOutSourceFeedback.UShortValue;
     UItoZone.zoneCurrentSourceText[callingZone] = sourceNameArray[swampA.SpdifOuts[callingZone].SPDIFOutSourceFeedback.UShortValue];
     if (swampA.SpdifOuts[callingZone].SPDIFOutSourceFeedback.UShortValue == 0)
     {
         UItoZone.zoneCurrentOnOffStatus[callingZone] = false;
     }
     else UItoZone.zoneCurrentOnOffStatus[callingZone] = true;
     updateUI(callingZone, "sources");
     updateUI(callingZone, "onOffStatus");
 }
Ejemplo n.º 4
0
        private void EventRaised(object sender, BaseEventArgs e)
        {
            if (_success)
                return;

            _success = _event.Check(e.Event);
        }
 public void OnClientCheckPassed(BaseEventArgs e)
 {
     m_host.OnClientCheckPassed(e);
 }