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