|
@@ -33,11 +33,11 @@
|
33
|
33
|
this.Start_button = new System.Windows.Forms.Button();
|
34
|
34
|
this.Ascii_checkBox = new System.Windows.Forms.CheckBox();
|
35
|
35
|
this.cmCom_Port = new System.Windows.Forms.Label();
|
36
|
|
- this.button1 = new System.Windows.Forms.Button();
|
37
|
|
- this.PortClose_button = new System.Windows.Forms.Button();
|
38
|
|
- this.comboBox1 = new System.Windows.Forms.ComboBox();
|
|
36
|
+ this.button_PortOpen = new System.Windows.Forms.Button();
|
|
37
|
+ this.button_PortClose = new System.Windows.Forms.Button();
|
|
38
|
+ this.comboBox_Port = new System.Windows.Forms.ComboBox();
|
39
|
39
|
this.cmBaudRate = new System.Windows.Forms.Label();
|
40
|
|
- this.comboBox2 = new System.Windows.Forms.ComboBox();
|
|
40
|
+ this.comboBox_baudrate = new System.Windows.Forms.ComboBox();
|
41
|
41
|
this.Crc16_Check = new System.Windows.Forms.Button();
|
42
|
42
|
this.label1 = new System.Windows.Forms.Label();
|
43
|
43
|
this.groupBox9.SuspendLayout();
|
|
@@ -52,11 +52,11 @@
|
52
|
52
|
this.groupBox9.Controls.Add(this.Start_button);
|
53
|
53
|
this.groupBox9.Controls.Add(this.Ascii_checkBox);
|
54
|
54
|
this.groupBox9.Controls.Add(this.cmCom_Port);
|
55
|
|
- this.groupBox9.Controls.Add(this.button1);
|
56
|
|
- this.groupBox9.Controls.Add(this.PortClose_button);
|
57
|
|
- this.groupBox9.Controls.Add(this.comboBox1);
|
|
55
|
+ this.groupBox9.Controls.Add(this.button_PortOpen);
|
|
56
|
+ this.groupBox9.Controls.Add(this.button_PortClose);
|
|
57
|
+ this.groupBox9.Controls.Add(this.comboBox_Port);
|
58
|
58
|
this.groupBox9.Controls.Add(this.cmBaudRate);
|
59
|
|
- this.groupBox9.Controls.Add(this.comboBox2);
|
|
59
|
+ this.groupBox9.Controls.Add(this.comboBox_baudrate);
|
60
|
60
|
this.groupBox9.Location = new System.Drawing.Point(12, 23);
|
61
|
61
|
this.groupBox9.Name = "groupBox9";
|
62
|
62
|
this.groupBox9.Size = new System.Drawing.Size(225, 223);
|
|
@@ -108,41 +108,41 @@
|
108
|
108
|
this.cmCom_Port.TabIndex = 89;
|
109
|
109
|
this.cmCom_Port.Text = "Com Port";
|
110
|
110
|
//
|
111
|
|
- // button1
|
|
111
|
+ // button_PortOpen
|
112
|
112
|
//
|
113
|
|
- this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
113
|
+ this.button_PortOpen.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
114
|
114
|
| System.Windows.Forms.AnchorStyles.Left)
|
115
|
115
|
| System.Windows.Forms.AnchorStyles.Right)));
|
116
|
|
- this.button1.Location = new System.Drawing.Point(13, 95);
|
117
|
|
- this.button1.Name = "button1";
|
118
|
|
- this.button1.Size = new System.Drawing.Size(93, 34);
|
119
|
|
- this.button1.TabIndex = 86;
|
120
|
|
- this.button1.Text = "Port Open";
|
121
|
|
- this.button1.UseVisualStyleBackColor = true;
|
|
116
|
+ this.button_PortOpen.Location = new System.Drawing.Point(19, 95);
|
|
117
|
+ this.button_PortOpen.Name = "button_PortOpen";
|
|
118
|
+ this.button_PortOpen.Size = new System.Drawing.Size(93, 34);
|
|
119
|
+ this.button_PortOpen.TabIndex = 86;
|
|
120
|
+ this.button_PortOpen.Text = "Port Open";
|
|
121
|
+ this.button_PortOpen.UseVisualStyleBackColor = true;
|
122
|
122
|
//
|
123
|
|
- // PortClose_button
|
|
123
|
+ // button_PortClose
|
124
|
124
|
//
|
125
|
|
- this.PortClose_button.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
125
|
+ this.button_PortClose.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
126
|
126
|
| System.Windows.Forms.AnchorStyles.Left)
|
127
|
127
|
| System.Windows.Forms.AnchorStyles.Right)));
|
128
|
|
- this.PortClose_button.Location = new System.Drawing.Point(118, 95);
|
129
|
|
- this.PortClose_button.Name = "PortClose_button";
|
130
|
|
- this.PortClose_button.Size = new System.Drawing.Size(93, 34);
|
131
|
|
- this.PortClose_button.TabIndex = 87;
|
132
|
|
- this.PortClose_button.Text = "Port Closed";
|
133
|
|
- this.PortClose_button.UseVisualStyleBackColor = true;
|
|
128
|
+ this.button_PortClose.Location = new System.Drawing.Point(118, 95);
|
|
129
|
+ this.button_PortClose.Name = "button_PortClose";
|
|
130
|
+ this.button_PortClose.Size = new System.Drawing.Size(93, 34);
|
|
131
|
+ this.button_PortClose.TabIndex = 87;
|
|
132
|
+ this.button_PortClose.Text = "Port Closed";
|
|
133
|
+ this.button_PortClose.UseVisualStyleBackColor = true;
|
134
|
134
|
//
|
135
|
|
- // comboBox1
|
|
135
|
+ // comboBox_Port
|
136
|
136
|
//
|
137
|
|
- this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
137
|
+ this.comboBox_Port.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
138
|
138
|
| System.Windows.Forms.AnchorStyles.Left)
|
139
|
139
|
| System.Windows.Forms.AnchorStyles.Right)));
|
140
|
|
- this.comboBox1.Cursor = System.Windows.Forms.Cursors.Default;
|
141
|
|
- this.comboBox1.FormattingEnabled = true;
|
142
|
|
- this.comboBox1.Location = new System.Drawing.Point(109, 15);
|
143
|
|
- this.comboBox1.Name = "comboBox1";
|
144
|
|
- this.comboBox1.Size = new System.Drawing.Size(101, 20);
|
145
|
|
- this.comboBox1.TabIndex = 88;
|
|
140
|
+ this.comboBox_Port.Cursor = System.Windows.Forms.Cursors.Default;
|
|
141
|
+ this.comboBox_Port.FormattingEnabled = true;
|
|
142
|
+ this.comboBox_Port.Location = new System.Drawing.Point(109, 15);
|
|
143
|
+ this.comboBox_Port.Name = "comboBox_Port";
|
|
144
|
+ this.comboBox_Port.Size = new System.Drawing.Size(101, 20);
|
|
145
|
+ this.comboBox_Port.TabIndex = 88;
|
146
|
146
|
//
|
147
|
147
|
// cmBaudRate
|
148
|
148
|
//
|
|
@@ -156,13 +156,13 @@
|
156
|
156
|
this.cmBaudRate.TabIndex = 90;
|
157
|
157
|
this.cmBaudRate.Text = "Baud Rate(bps)";
|
158
|
158
|
//
|
159
|
|
- // comboBox2
|
|
159
|
+ // comboBox_baudrate
|
160
|
160
|
//
|
161
|
|
- this.comboBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
161
|
+ this.comboBox_baudrate.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
162
|
162
|
| System.Windows.Forms.AnchorStyles.Left)
|
163
|
163
|
| System.Windows.Forms.AnchorStyles.Right)));
|
164
|
|
- this.comboBox2.FormattingEnabled = true;
|
165
|
|
- this.comboBox2.Items.AddRange(new object[] {
|
|
164
|
+ this.comboBox_baudrate.FormattingEnabled = true;
|
|
165
|
+ this.comboBox_baudrate.Items.AddRange(new object[] {
|
166
|
166
|
"9600",
|
167
|
167
|
"14400",
|
168
|
168
|
"19200",
|
|
@@ -170,11 +170,11 @@
|
170
|
170
|
"57600",
|
171
|
171
|
"115200",
|
172
|
172
|
"128000"});
|
173
|
|
- this.comboBox2.Location = new System.Drawing.Point(110, 45);
|
174
|
|
- this.comboBox2.Name = "comboBox2";
|
175
|
|
- this.comboBox2.Size = new System.Drawing.Size(101, 20);
|
176
|
|
- this.comboBox2.TabIndex = 91;
|
177
|
|
- this.comboBox2.Text = "115200";
|
|
173
|
+ this.comboBox_baudrate.Location = new System.Drawing.Point(110, 45);
|
|
174
|
+ this.comboBox_baudrate.Name = "comboBox_baudrate";
|
|
175
|
+ this.comboBox_baudrate.Size = new System.Drawing.Size(101, 20);
|
|
176
|
+ this.comboBox_baudrate.TabIndex = 91;
|
|
177
|
+ this.comboBox_baudrate.Text = "115200";
|
178
|
178
|
//
|
179
|
179
|
// Crc16_Check
|
180
|
180
|
//
|
|
@@ -219,13 +219,13 @@
|
219
|
219
|
private System.Windows.Forms.Button Start_button;
|
220
|
220
|
private System.Windows.Forms.CheckBox Ascii_checkBox;
|
221
|
221
|
private System.Windows.Forms.Label cmCom_Port;
|
222
|
|
- private System.Windows.Forms.Button button1;
|
223
|
|
- private System.Windows.Forms.Button PortClose_button;
|
224
|
|
- private System.Windows.Forms.ComboBox comboBox1;
|
|
222
|
+ private System.Windows.Forms.Button button_PortOpen;
|
|
223
|
+ private System.Windows.Forms.Button button_PortClose;
|
225
|
224
|
private System.Windows.Forms.Label cmBaudRate;
|
226
|
|
- private System.Windows.Forms.ComboBox comboBox2;
|
|
225
|
+ private System.Windows.Forms.ComboBox comboBox_baudrate;
|
227
|
226
|
private System.Windows.Forms.Button Crc16_Check;
|
228
|
227
|
private System.Windows.Forms.Label label1;
|
|
228
|
+ public System.Windows.Forms.ComboBox comboBox_Port;
|
229
|
229
|
}
|
230
|
230
|
}
|
231
|
231
|
|