update goals file
This commit is contained in:
parent
f756c70c1c
commit
29799820e2
3 changed files with 12 additions and 6 deletions
|
@ -11,7 +11,7 @@ namespace PinkConnection2_TestApp
|
|||
SerialPort port = null;
|
||||
byte b = 0;
|
||||
|
||||
TextBox CommandTextBox = new TextBox { MaxLength = 2 };
|
||||
TextBox CommandTextBox = new TextBox { MaxLength = 8 };
|
||||
DropDown SerialPortDropDown = new DropDown();
|
||||
|
||||
public MainForm()
|
||||
|
@ -92,9 +92,9 @@ namespace PinkConnection2_TestApp
|
|||
|
||||
void sendRawSafe()
|
||||
{
|
||||
if (CommandTextBox.Text.Length != 2)
|
||||
if (CommandTextBox.Text.Length != 8)
|
||||
{
|
||||
MessageBox.Show("Command length must not be less than 2");
|
||||
MessageBox.Show("Command length must not be less than 8");
|
||||
return;
|
||||
}
|
||||
if (port == null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue