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); }
protected ReceiverStateInformation GetReceiverState(string receiverToken) { ReceiverStateInformation receiverSI = null; RunStep(() => { receiverSI = Client.GetReceiverState(receiverToken); }, string.Format("Get Receiver '{0}' State", receiverToken)); DoRequestDelay(); return(receiverSI); }