Exemplo n.º 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();
            }
        }
Exemplo n.º 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;
            }
        }
Exemplo n.º 3
0
 void Tx_OnlineStatusChange(GenericBase currentDevice, OnlineOfflineEventArgs args)
 {
     ActiveVideoInputFeedback.FireUpdate();
     VideoSourceNumericFeedback.FireUpdate();
     AudioSourceNumericFeedback.FireUpdate();
 }