namespace _7k_di { partial class Form1 { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.label1 = new System.Windows.Forms.Label(); this.cmbComPort = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.txtAddress = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.txtBaurdRate = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.txtChannel = new System.Windows.Forms.TextBox(); this.btnOpenCom = new System.Windows.Forms.Button(); this.btnCloseCom = new System.Windows.Forms.Button(); this.txtReadData = new System.Windows.Forms.TextBox(); this.btnRead = new System.Windows.Forms.Button(); this.label5 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.textBox2 = new System.Windows.Forms.TextBox(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label1.Location = new System.Drawing.Point(13, 94); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(90, 28); this.label1.Text = "COM port"; // // cmbComPort // this.cmbComPort.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.cmbComPort.Items.Add("0"); this.cmbComPort.Items.Add("1"); this.cmbComPort.Items.Add("2"); this.cmbComPort.Items.Add("3"); this.cmbComPort.Items.Add("4"); this.cmbComPort.Items.Add("5"); this.cmbComPort.Location = new System.Drawing.Point(181, 94); this.cmbComPort.Name = "cmbComPort"; this.cmbComPort.Size = new System.Drawing.Size(120, 29); this.cmbComPort.TabIndex = 1; // // label2 // this.label2.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label2.Location = new System.Drawing.Point(13, 140); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(90, 28); this.label2.Text = "Address"; // // txtAddress // this.txtAddress.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.txtAddress.Location = new System.Drawing.Point(181, 139); this.txtAddress.Name = "txtAddress"; this.txtAddress.Size = new System.Drawing.Size(120, 29); this.txtAddress.TabIndex = 4; this.txtAddress.Text = "01"; // // label3 // this.label3.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label3.Location = new System.Drawing.Point(13, 189); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(97, 27); this.label3.Text = "Baurd rate"; // // txtBaurdRate // this.txtBaurdRate.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.txtBaurdRate.Location = new System.Drawing.Point(181, 187); this.txtBaurdRate.Name = "txtBaurdRate"; this.txtBaurdRate.Size = new System.Drawing.Size(120, 29); this.txtBaurdRate.TabIndex = 6; this.txtBaurdRate.Text = "9600"; // // label4 // this.label4.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label4.Location = new System.Drawing.Point(13, 81); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(126, 27); this.label4.Text = "Read channel"; // // txtChannel // this.txtChannel.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.txtChannel.Location = new System.Drawing.Point(155, 79); this.txtChannel.Name = "txtChannel"; this.txtChannel.Size = new System.Drawing.Size(120, 29); this.txtChannel.TabIndex = 9; this.txtChannel.Text = "16"; // // btnOpenCom // this.btnOpenCom.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.btnOpenCom.Location = new System.Drawing.Point(13, 228); this.btnOpenCom.Name = "btnOpenCom"; this.btnOpenCom.Size = new System.Drawing.Size(120, 41); this.btnOpenCom.TabIndex = 10; this.btnOpenCom.Text = "Open com"; this.btnOpenCom.Click += new System.EventHandler(this.btnOpenCom_Click); // // btnCloseCom // this.btnCloseCom.Enabled = false; this.btnCloseCom.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.btnCloseCom.Location = new System.Drawing.Point(181, 228); this.btnCloseCom.Name = "btnCloseCom"; this.btnCloseCom.Size = new System.Drawing.Size(120, 41); this.btnCloseCom.TabIndex = 11; this.btnCloseCom.Text = "Close com"; this.btnCloseCom.Click += new System.EventHandler(this.btnCloseCom_Click); // // txtReadData // this.txtReadData.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.txtReadData.Location = new System.Drawing.Point(155, 114); this.txtReadData.Name = "txtReadData"; this.txtReadData.Size = new System.Drawing.Size(120, 29); this.txtReadData.TabIndex = 12; // // btnRead // this.btnRead.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.btnRead.Location = new System.Drawing.Point(13, 149); this.btnRead.Name = "btnRead"; this.btnRead.Size = new System.Drawing.Size(142, 41); this.btnRead.TabIndex = 13; this.btnRead.Text = "Read DI(HEX)"; this.btnRead.Click += new System.EventHandler(this.btnRead_Click); // // label5 // this.label5.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label5.Location = new System.Drawing.Point(13, 114); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(100, 20); this.label5.Text = "Read data"; // // label9 // this.label9.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular); this.label9.Location = new System.Drawing.Point(87, 11); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(188, 65); this.label9.Text = "input your read channel and press button to read data"; // // label8 // this.label8.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular); this.label8.Location = new System.Drawing.Point(90, 10); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(211, 81); this.label8.Text = "Select com port and input address, baud rate and total channel to open com port"; // // label7 // this.label7.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label7.Location = new System.Drawing.Point(11, 10); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(73, 33); this.label7.Text = "Step 1:"; // // label10 // this.label10.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label10.Location = new System.Drawing.Point(13, 11); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(68, 28); this.label10.Text = "Step 2:"; // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.panel1.Controls.Add(this.label8); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.btnCloseCom); this.panel1.Controls.Add(this.btnOpenCom); this.panel1.Controls.Add(this.txtBaurdRate); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.txtAddress); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbComPort); this.panel1.Controls.Add(this.label1); this.panel1.Location = new System.Drawing.Point(16, 15); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(310, 279); // // panel2 // this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.panel2.Controls.Add(this.button1); this.panel2.Controls.Add(this.label9); this.panel2.Controls.Add(this.label10); this.panel2.Controls.Add(this.label5); this.panel2.Controls.Add(this.btnRead); this.panel2.Controls.Add(this.txtReadData); this.panel2.Controls.Add(this.txtChannel); this.panel2.Controls.Add(this.label4); this.panel2.Location = new System.Drawing.Point(345, 15); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(310, 279); // // button1 // this.button1.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.button1.ForeColor = System.Drawing.Color.Blue; this.button1.Location = new System.Drawing.Point(13, 228); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(215, 41); this.button1.TabIndex = 15; this.button1.Text = "Read DI(HEX)_MF"; this.button1.Click += new System.EventHandler(this.button1_Click); // // textBox2 // this.textBox2.Location = new System.Drawing.Point(16, 300); this.textBox2.Multiline = true; this.textBox2.Name = "textBox2"; this.textBox2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textBox2.Size = new System.Drawing.Size(639, 187); this.textBox2.TabIndex = 7; this.textBox2.Text = resources.GetString("textBox2.Text"); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.AutoScroll = true; this.ClientSize = new System.Drawing.Size(678, 501); this.Controls.Add(this.textBox2); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "Form1"; this.Text = "7k_di"; this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.ResumeLayout(false); } #endregion private System.Windows.Forms.Label label1; private System.Windows.Forms.ComboBox cmbComPort; private System.Windows.Forms.Label label2; private System.Windows.Forms.TextBox txtAddress; private System.Windows.Forms.Label label3; private System.Windows.Forms.TextBox txtBaurdRate; private System.Windows.Forms.Label label4; private System.Windows.Forms.TextBox txtChannel; private System.Windows.Forms.Button btnOpenCom; private System.Windows.Forms.Button btnCloseCom; private System.Windows.Forms.TextBox txtReadData; private System.Windows.Forms.Button btnRead; private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label9; private System.Windows.Forms.Label label8; private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label10; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Panel panel2; private System.Windows.Forms.Button button1; private System.Windows.Forms.TextBox textBox2; } }