예제 #1
0
        void Tx_BaseEvent(GenericBase device, BaseEventArgs args)
        {
            var id = args.EventId;

            if (id == EndpointTransmitterBase.VideoSourceFeedbackEventId)
            {
                Debug.Console(2, this, "  Video Source: {0}", Tx.VideoSourceFeedback);
                VideoSourceNumericFeedback.FireUpdate();
                ActiveVideoInputFeedback.FireUpdate();
            }

            // ------------------------------ incomplete -----------------------------------------
            else if (id == EndpointTransmitterBase.AudioSourceFeedbackEventId)
            {
                Debug.Console(2, this, "  Audio Source: {0}", Tx.AudioSourceFeedback);
                AudioSourceNumericFeedback.FireUpdate();
            }
        }
예제 #2
0
        void Tx_BaseEvent(GenericBase device, BaseEventArgs args)
        {
            var id = args.EventId;

            switch (id)
            {
            case EndpointTransmitterBase.VideoSourceFeedbackEventId:
                Debug.Console(2, this, "  Video Source: {0}", Tx.VideoSourceFeedback);
                VideoSourceNumericFeedback.FireUpdate();
                ActiveVideoInputFeedback.FireUpdate();
                break;

            case EndpointTransmitterBase.AudioSourceFeedbackEventId:
                Debug.Console(2, this, "  Audio Source: {0}", Tx.AudioSourceFeedback);
                AudioSourceNumericFeedback.FireUpdate();
                break;
            }
        }
예제 #3
0
 void Tx_OnlineStatusChange(GenericBase currentDevice, OnlineOfflineEventArgs args)
 {
     ActiveVideoInputFeedback.FireUpdate();
     VideoSourceNumericFeedback.FireUpdate();
     AudioSourceNumericFeedback.FireUpdate();
 }