예제 #1
0
 public void SendComand(ConnectionWoker worker)
 {
     testCommandsView.Invoke((ThreadStart) delegate()
     {
         worker.SendToSerialPort(Tests[testsComboBox.SelectedIndex].commands[testCommandsView.SelectedIndex]);
         ChoseNextCommandInList();
     });
 }
예제 #2
0
 private void SendButtonClick(object sender, EventArgs e)
 {
     ImitatorSer.SendToSerialPort(messageTextBox.Text);
     messageTextBox.Clear();
 }
예제 #3
0
 public void SendCommandAuto(string command, ConnectionWoker worker)
 {
     worker.SendToSerialPort(command);
 }
예제 #4
0
 private void dcuSendButton_Click(object sender, EventArgs e)
 {
     DcuSer.SendToSerialPort(DcuTextBox.Text);
     DcuTextBox.Clear();
 }
예제 #5
0
 public void SendComandToFromValidater()
 {
     // Thread.Sleep(1000);
     DCU.SendToSerialPort("do");
     Thread.Sleep(500);
 }