Example #1
0
 public void SendComand(ConnectionWoker worker)
 {
     testCommandsView.Invoke((ThreadStart) delegate()
     {
         worker.SendToSerialPort(Tests[testsComboBox.SelectedIndex].commands[testCommandsView.SelectedIndex]);
         ChoseNextCommandInList();
     });
 }
Example #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;
 }
Example #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;
 }
Example #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;
        }
Example #5
0
 public void SendCommandAuto(string command, ConnectionWoker worker)
 {
     worker.SendToSerialPort(command);
 }