예제 #1
0
        public static ReceiverStateInformation GetReceiverState(BaseOnvifTest test, ReceiverPortClient client, string receiverToken)
        {
            ReceiverStateInformation receiverSI = null;

            RunStep(test, () => { receiverSI = client.GetReceiverState(receiverToken); },
                    string.Format("Get Receiver {0} State", receiverToken));
            DoRequestDelay(test);
            return(receiverSI);
        }
예제 #2
0
        protected ReceiverStateInformation GetReceiverState(string receiverToken)
        {
            ReceiverStateInformation receiverSI = null;

            RunStep(() => { receiverSI = Client.GetReceiverState(receiverToken); },
                    string.Format("Get Receiver '{0}' State", receiverToken));
            DoRequestDelay();
            return(receiverSI);
        }