示例#1
0
 public void SendComand(ConnectionWoker worker)
 {
     testCommandsView.Invoke((ThreadStart) delegate()
     {
         worker.SendToSerialPort(Tests[testsComboBox.SelectedIndex].commands[testCommandsView.SelectedIndex]);
         ChoseNextCommandInList();
     });
 }
示例#2
0
 public void PrepareValidater(TestInterfaceData worker)
 {
     DCU         = worker.DcuWorker;
     mXmlWorking = worker.XmlWorking;
     mTestCases  = worker.TestCaseForAutoTests;
     mTests      = worker.TestForAutoTests;
     mNeedValue  = worker.ValidParam;
     mCommands   = worker.CommandForAutoTests;
 }
示例#3
0
 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;
 }
示例#4
0
        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;
        }
示例#5
0
 public void SendCommandAuto(string command, ConnectionWoker worker)
 {
     worker.SendToSerialPort(command);
 }