internal StepType ContinuousMoveTest(out SoapException ex, out int Timeout, string ProfileToken, PTZSpeed Velocity, string verTimeout) { StepType res = StepType.None; Timeout = 0; ex = null; bool passed = true; string logMessage = ""; //Get step list for command XmlNodeList m_testList = m_TestCommon.GetStepsForCommand(string.Format("{0}.{1}", ServiceName, "ContinuousMove")); if (m_testList != null) { //Get current step XmlNode test = m_testList[m_commandCount[ContinuousMove]]; #region Analyze request //ProfileToken CommonCompare.StringCompare("RequestParameters/ProfileToken", "ProfileToken", ProfileToken, ref logMessage, ref passed, test); //Velocity CommonCompare.PTZSpeedCompare("RequestParameters/Velocity", "Velocity", Velocity, ref logMessage, ref passed, test); //verTimeout CommonCompare.StringCompare("RequestParameters/Timeout", "Timeout", verTimeout, ref logMessage, ref passed, test); #endregion //Analyze request //Generate response res = m_TestCommon.GenerateResponseStepTypeVoid(test, out ex, out Timeout); //Log message m_TestCommon.writeToLog(test, logMessage, passed); Increment(m_testList.Count, ContinuousMove); } else { res = StepType.None; Timeout = 0; ex = null; res = StepType.None; } return(res); }