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