public void SendComand(ConnectionWoker worker) { testCommandsView.Invoke((ThreadStart) delegate() { worker.SendToSerialPort(Tests[testsComboBox.SelectedIndex].commands[testCommandsView.SelectedIndex]); ChoseNextCommandInList(); }); }
public void PrepareValidater(TestInterfaceData worker) { DCU = worker.DcuWorker; mXmlWorking = worker.XmlWorking; mTestCases = worker.TestCaseForAutoTests; mTests = worker.TestForAutoTests; mNeedValue = worker.ValidParam; mCommands = worker.CommandForAutoTests; }
public void PrepareTestPusher(TestInterfaceData interfaceData) { testCommandsView = interfaceData.testCommandsView; Tests = interfaceData.Tests; testsComboBox = interfaceData.testsComboBox; progressBar1 = interfaceData.progressBar1; timeForWaitBox3 = interfaceData.timeForWaitBox3; testEnd = interfaceData.TestEnd; iMworker = interfaceData.iMWorker; }
public void PrepareTestPusher(TestInterfaceData interfaceData) { testCommandsView = interfaceData.testCommandsView; Tests = interfaceData.Tests; testsComboBox = interfaceData.testsComboBox; progressBar1 = interfaceData.progressBar1; timeForWaitBox3 = interfaceData.timeForWaitBox3; testEnd = interfaceData.TestEnd; iMworker = interfaceData.iMWorker; mTestCaseForAuto = interfaceData.TestCaseForAutoTests; mCommandForAutoTests = interfaceData.CommandForAutoTests; mTestForAutoTests = interfaceData.TestForAutoTests; mValidParam = interfaceData.ValidParam; }
public void SendCommandAuto(string command, ConnectionWoker worker) { worker.SendToSerialPort(command); }