namespace _7k_dio { 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.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.cmbComPort = new System.Windows.Forms.ComboBox(); this.txtAddress = new System.Windows.Forms.TextBox(); this.txtBaudRate = new System.Windows.Forms.TextBox(); this.txtDIChannel = new System.Windows.Forms.TextBox(); this.txtDOChannel = new System.Windows.Forms.TextBox(); this.txtDIValue = new System.Windows.Forms.TextBox(); this.txtDOValue = new System.Windows.Forms.TextBox(); this.btnOpenPort = new System.Windows.Forms.Button(); this.btnClosePort = new System.Windows.Forms.Button(); this.btnReadDI = new System.Windows.Forms.Button(); this.btnWriteDO = new System.Windows.Forms.Button(); this.label8 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.label10 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.label11 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.textBox2 = new System.Windows.Forms.TextBox(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label1.Location = new System.Drawing.Point(7, 88); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(100, 30); this.label1.Text = "Com port"; // // label2 // this.label2.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label2.Location = new System.Drawing.Point(7, 276); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(157, 30); this.label2.Text = "DO channel"; // // label3 // this.label3.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label3.Location = new System.Drawing.Point(7, 182); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(100, 30); this.label3.Text = "Baud rate"; // // label4 // this.label4.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label4.Location = new System.Drawing.Point(7, 228); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(157, 30); this.label4.Text = "DI channel"; // // label5 // this.label5.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label5.Location = new System.Drawing.Point(7, 132); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(100, 30); this.label5.Text = "Address"; // // label6 // this.label6.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label6.Location = new System.Drawing.Point(5, 40); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(136, 30); this.label6.Text = "DI value(HEX)"; // // label7 // this.label7.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label7.Location = new System.Drawing.Point(5, 34); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(136, 30); this.label7.Text = "DO value(HEX)"; // // 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(175, 88); this.cmbComPort.Name = "cmbComPort"; this.cmbComPort.Size = new System.Drawing.Size(120, 29); this.cmbComPort.TabIndex = 13; // // txtAddress // this.txtAddress.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.txtAddress.Location = new System.Drawing.Point(175, 132); this.txtAddress.Name = "txtAddress"; this.txtAddress.Size = new System.Drawing.Size(120, 29); this.txtAddress.TabIndex = 14; this.txtAddress.Text = "01"; // // txtBaudRate // this.txtBaudRate.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.txtBaudRate.Location = new System.Drawing.Point(175, 182); this.txtBaudRate.Name = "txtBaudRate"; this.txtBaudRate.Size = new System.Drawing.Size(120, 29); this.txtBaudRate.TabIndex = 15; this.txtBaudRate.Text = "9600"; // // txtDIChannel // this.txtDIChannel.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.txtDIChannel.Location = new System.Drawing.Point(175, 229); this.txtDIChannel.Name = "txtDIChannel"; this.txtDIChannel.Size = new System.Drawing.Size(120, 29); this.txtDIChannel.TabIndex = 16; this.txtDIChannel.Text = "1"; // // txtDOChannel // this.txtDOChannel.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.txtDOChannel.Location = new System.Drawing.Point(175, 276); this.txtDOChannel.Name = "txtDOChannel"; this.txtDOChannel.Size = new System.Drawing.Size(120, 29); this.txtDOChannel.TabIndex = 17; this.txtDOChannel.Text = "2"; // // txtDIValue // this.txtDIValue.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.txtDIValue.Location = new System.Drawing.Point(142, 40); this.txtDIValue.Name = "txtDIValue"; this.txtDIValue.Size = new System.Drawing.Size(110, 29); this.txtDIValue.TabIndex = 18; // // txtDOValue // this.txtDOValue.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.txtDOValue.Location = new System.Drawing.Point(142, 35); this.txtDOValue.Name = "txtDOValue"; this.txtDOValue.Size = new System.Drawing.Size(110, 29); this.txtDOValue.TabIndex = 19; // // btnOpenPort // this.btnOpenPort.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.btnOpenPort.Location = new System.Drawing.Point(7, 320); this.btnOpenPort.Name = "btnOpenPort"; this.btnOpenPort.Size = new System.Drawing.Size(120, 42); this.btnOpenPort.TabIndex = 20; this.btnOpenPort.Text = "Open port"; this.btnOpenPort.Click += new System.EventHandler(this.btnOpenPort_Click); // // btnClosePort // this.btnClosePort.Enabled = false; this.btnClosePort.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.btnClosePort.Location = new System.Drawing.Point(175, 320); this.btnClosePort.Name = "btnClosePort"; this.btnClosePort.Size = new System.Drawing.Size(120, 42); this.btnClosePort.TabIndex = 21; this.btnClosePort.Text = "Close port"; this.btnClosePort.Click += new System.EventHandler(this.btnClosePort_Click); // // btnReadDI // this.btnReadDI.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.btnReadDI.Location = new System.Drawing.Point(5, 73); this.btnReadDI.Name = "btnReadDI"; this.btnReadDI.Size = new System.Drawing.Size(120, 42); this.btnReadDI.TabIndex = 22; this.btnReadDI.Text = "Read DI"; this.btnReadDI.Click += new System.EventHandler(this.btnReadDI_Click); // // btnWriteDO // this.btnWriteDO.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.btnWriteDO.Location = new System.Drawing.Point(5, 67); this.btnWriteDO.Name = "btnWriteDO"; this.btnWriteDO.Size = new System.Drawing.Size(120, 42); this.btnWriteDO.TabIndex = 23; this.btnWriteDO.Text = "Write DO"; this.btnWriteDO.Click += new System.EventHandler(this.btnWriteDO_Click); // // label8 // this.label8.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular); this.label8.Location = new System.Drawing.Point(86, 7); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(211, 81); this.label8.Text = "Select com port and then input address, baud rate, DI channel and DO channel to o" + "pen com port"; // // label9 // this.label9.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.label9.Location = new System.Drawing.Point(7, 7); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(73, 33); this.label9.Text = "Step 1:"; // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.panel1.Controls.Add(this.label8); this.panel1.Controls.Add(this.label9); this.panel1.Controls.Add(this.txtDIChannel); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.txtDOChannel); this.panel1.Controls.Add(this.btnClosePort); this.panel1.Controls.Add(this.btnOpenPort); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.txtBaudRate); this.panel1.Controls.Add(this.txtAddress); this.panel1.Controls.Add(this.cmbComPort); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label1); this.panel1.Location = new System.Drawing.Point(25, 14); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(305, 377); // // label10 // this.label10.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular); this.label10.Location = new System.Drawing.Point(4, 6); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(188, 34); this.label10.Text = "Click button to read data"; // // panel2 // this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.panel2.Controls.Add(this.button1); this.panel2.Controls.Add(this.label10); this.panel2.Controls.Add(this.btnReadDI); this.panel2.Controls.Add(this.txtDIValue); this.panel2.Controls.Add(this.label6); this.panel2.Location = new System.Drawing.Point(336, 133); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(266, 129); // // label11 // this.label11.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular); this.label11.Location = new System.Drawing.Point(5, 4); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(211, 30); this.label11.Text = "Click button to write data"; // // panel3 // this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.panel3.Controls.Add(this.button2); this.panel3.Controls.Add(this.label11); this.panel3.Controls.Add(this.btnWriteDO); this.panel3.Controls.Add(this.txtDOValue); this.panel3.Controls.Add(this.label7); this.panel3.Location = new System.Drawing.Point(336, 268); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(266, 123); // // 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(132, 73); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(120, 42); this.button1.TabIndex = 24; this.button1.Text = "Read DI_MF"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular); this.button2.ForeColor = System.Drawing.Color.Blue; this.button2.Location = new System.Drawing.Point(131, 67); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(132, 42); this.button2.TabIndex = 25; this.button2.Text = "Write DO_MF"; this.button2.Click += new System.EventHandler(this.button2_Click); // // textBox2 // this.textBox2.Location = new System.Drawing.Point(336, 14); this.textBox2.Multiline = true; this.textBox2.Name = "textBox2"; this.textBox2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textBox2.Size = new System.Drawing.Size(266, 113); this.textBox2.TabIndex = 8; 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(628, 405); this.Controls.Add(this.textBox2); this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "Form1"; this.Text = "7k_dio"; this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); this.ResumeLayout(false); } #endregion private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label7; private System.Windows.Forms.ComboBox cmbComPort; private System.Windows.Forms.TextBox txtAddress; private System.Windows.Forms.TextBox txtBaudRate; private System.Windows.Forms.TextBox txtDIChannel; private System.Windows.Forms.TextBox txtDOChannel; private System.Windows.Forms.TextBox txtDIValue; private System.Windows.Forms.TextBox txtDOValue; private System.Windows.Forms.Button btnOpenPort; private System.Windows.Forms.Button btnClosePort; private System.Windows.Forms.Button btnReadDI; private System.Windows.Forms.Button btnWriteDO; private System.Windows.Forms.Label label8; private System.Windows.Forms.Label label9; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Label label10; private System.Windows.Forms.Panel panel2; private System.Windows.Forms.Label label11; private System.Windows.Forms.Panel panel3; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private System.Windows.Forms.TextBox textBox2; } }