namespace ModbusTCPServer2005 { 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() { this.label1 = new System.Windows.Forms.Label(); this.chkDO1 = new System.Windows.Forms.CheckBox(); this.chkDO2 = new System.Windows.Forms.CheckBox(); this.chkDO3 = new System.Windows.Forms.CheckBox(); this.chkDO4 = new System.Windows.Forms.CheckBox(); this.timer1 = new System.Windows.Forms.Timer(); this.chkDI4 = new System.Windows.Forms.CheckBox(); this.chkDI3 = new System.Windows.Forms.CheckBox(); this.chkDI2 = new System.Windows.Forms.CheckBox(); this.chkDI1 = new System.Windows.Forms.CheckBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.txtAO1 = new System.Windows.Forms.TextBox(); this.txtAO2 = new System.Windows.Forms.TextBox(); this.txtAO3 = new System.Windows.Forms.TextBox(); this.txtAO4 = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.txtAI4 = new System.Windows.Forms.TextBox(); this.txtAI3 = new System.Windows.Forms.TextBox(); this.txtAI2 = new System.Windows.Forms.TextBox(); this.txtAI1 = new System.Windows.Forms.TextBox(); this.pnlCOMStatus = new System.Windows.Forms.Panel(); this.cmbStopBit = new System.Windows.Forms.ComboBox(); this.btCloseCOM = new System.Windows.Forms.Button(); this.cmbParity = new System.Windows.Forms.ComboBox(); this.btOpenCOM = new System.Windows.Forms.Button(); this.cmbDataBit = new System.Windows.Forms.ComboBox(); this.label7 = new System.Windows.Forms.Label(); this.labStopBit = new System.Windows.Forms.Label(); this.labParity = new System.Windows.Forms.Label(); this.labBaud = new System.Windows.Forms.Label(); this.labDataBit = new System.Windows.Forms.Label(); this.labPort = new System.Windows.Forms.Label(); this.cmbBaud = new System.Windows.Forms.ComboBox(); this.cmbPort = new System.Windows.Forms.ComboBox(); this.pnlCOMStatus.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(15, 152); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(82, 21); this.label1.Text = "DO Value"; // // chkDO1 // this.chkDO1.Location = new System.Drawing.Point(13, 176); this.chkDO1.Name = "chkDO1"; this.chkDO1.Size = new System.Drawing.Size(82, 23); this.chkDO1.TabIndex = 1; this.chkDO1.Text = "000001"; // // chkDO2 // this.chkDO2.Location = new System.Drawing.Point(15, 217); this.chkDO2.Name = "chkDO2"; this.chkDO2.Size = new System.Drawing.Size(82, 23); this.chkDO2.TabIndex = 2; this.chkDO2.Text = "000002"; // // chkDO3 // this.chkDO3.Location = new System.Drawing.Point(15, 258); this.chkDO3.Name = "chkDO3"; this.chkDO3.Size = new System.Drawing.Size(82, 23); this.chkDO3.TabIndex = 3; this.chkDO3.Text = "000003"; // // chkDO4 // this.chkDO4.Location = new System.Drawing.Point(15, 299); this.chkDO4.Name = "chkDO4"; this.chkDO4.Size = new System.Drawing.Size(82, 23); this.chkDO4.TabIndex = 4; this.chkDO4.Text = "000004"; // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // chkDI4 // this.chkDI4.Location = new System.Drawing.Point(103, 299); this.chkDI4.Name = "chkDI4"; this.chkDI4.Size = new System.Drawing.Size(82, 23); this.chkDI4.TabIndex = 10; this.chkDI4.Text = "100004"; // // chkDI3 // this.chkDI3.Location = new System.Drawing.Point(103, 258); this.chkDI3.Name = "chkDI3"; this.chkDI3.Size = new System.Drawing.Size(82, 23); this.chkDI3.TabIndex = 9; this.chkDI3.Text = "100003"; // // chkDI2 // this.chkDI2.Location = new System.Drawing.Point(103, 217); this.chkDI2.Name = "chkDI2"; this.chkDI2.Size = new System.Drawing.Size(82, 23); this.chkDI2.TabIndex = 8; this.chkDI2.Text = "100002"; this.chkDI2.CheckStateChanged += new System.EventHandler(this.chkDI2_CheckStateChanged); // // chkDI1 // this.chkDI1.Location = new System.Drawing.Point(101, 176); this.chkDI1.Name = "chkDI1"; this.chkDI1.Size = new System.Drawing.Size(82, 23); this.chkDI1.TabIndex = 7; this.chkDI1.Text = "100001"; this.chkDI1.CheckStateChanged += new System.EventHandler(this.chkDI1_CheckStateChanged); // // label2 // this.label2.Location = new System.Drawing.Point(103, 152); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(82, 21); this.label2.Text = "DI Value"; // // label3 // this.label3.Location = new System.Drawing.Point(306, 152); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(122, 21); this.label3.Text = "AO Value"; // // label4 // this.label4.Location = new System.Drawing.Point(191, 152); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(109, 21); this.label4.Text = "AI Value"; // // txtAO1 // this.txtAO1.Location = new System.Drawing.Point(308, 177); this.txtAO1.Name = "txtAO1"; this.txtAO1.Size = new System.Drawing.Size(98, 23); this.txtAO1.TabIndex = 16; this.txtAO1.Text = "0"; // // txtAO2 // this.txtAO2.Location = new System.Drawing.Point(308, 217); this.txtAO2.Name = "txtAO2"; this.txtAO2.Size = new System.Drawing.Size(98, 23); this.txtAO2.TabIndex = 17; this.txtAO2.Text = "0"; // // txtAO3 // this.txtAO3.Location = new System.Drawing.Point(308, 258); this.txtAO3.Name = "txtAO3"; this.txtAO3.Size = new System.Drawing.Size(98, 23); this.txtAO3.TabIndex = 18; this.txtAO3.Text = "0"; // // txtAO4 // this.txtAO4.Location = new System.Drawing.Point(308, 299); this.txtAO4.Name = "txtAO4"; this.txtAO4.Size = new System.Drawing.Size(98, 23); this.txtAO4.TabIndex = 19; this.txtAO4.Text = "0"; // // label5 // this.label5.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular); this.label5.Location = new System.Drawing.Point(44, 8); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(394, 34); this.label5.Text = "IO Simulation"; this.label5.ParentChanged += new System.EventHandler(this.label5_ParentChanged); // // txtAI4 // this.txtAI4.Location = new System.Drawing.Point(191, 299); this.txtAI4.Name = "txtAI4"; this.txtAI4.Size = new System.Drawing.Size(98, 23); this.txtAI4.TabIndex = 28; this.txtAI4.Text = "444"; // // txtAI3 // this.txtAI3.Location = new System.Drawing.Point(191, 258); this.txtAI3.Name = "txtAI3"; this.txtAI3.Size = new System.Drawing.Size(98, 23); this.txtAI3.TabIndex = 27; this.txtAI3.Text = "333"; // // txtAI2 // this.txtAI2.Location = new System.Drawing.Point(191, 217); this.txtAI2.Name = "txtAI2"; this.txtAI2.Size = new System.Drawing.Size(98, 23); this.txtAI2.TabIndex = 26; this.txtAI2.Text = "222"; // // txtAI1 // this.txtAI1.Location = new System.Drawing.Point(191, 177); this.txtAI1.Name = "txtAI1"; this.txtAI1.Size = new System.Drawing.Size(98, 23); this.txtAI1.TabIndex = 25; this.txtAI1.Text = "111"; // // pnlCOMStatus // this.pnlCOMStatus.Controls.Add(this.cmbStopBit); this.pnlCOMStatus.Controls.Add(this.btCloseCOM); this.pnlCOMStatus.Controls.Add(this.cmbParity); this.pnlCOMStatus.Controls.Add(this.btOpenCOM); this.pnlCOMStatus.Controls.Add(this.cmbDataBit); this.pnlCOMStatus.Controls.Add(this.label7); this.pnlCOMStatus.Controls.Add(this.labStopBit); this.pnlCOMStatus.Controls.Add(this.labParity); this.pnlCOMStatus.Controls.Add(this.labBaud); this.pnlCOMStatus.Controls.Add(this.labDataBit); this.pnlCOMStatus.Controls.Add(this.labPort); this.pnlCOMStatus.Controls.Add(this.cmbBaud); this.pnlCOMStatus.Controls.Add(this.cmbPort); this.pnlCOMStatus.Location = new System.Drawing.Point(0, 45); this.pnlCOMStatus.Name = "pnlCOMStatus"; this.pnlCOMStatus.Size = new System.Drawing.Size(406, 87); // // cmbStopBit // this.cmbStopBit.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular); this.cmbStopBit.Items.Add("1"); this.cmbStopBit.Items.Add("2"); this.cmbStopBit.Location = new System.Drawing.Point(339, 35); this.cmbStopBit.Name = "cmbStopBit"; this.cmbStopBit.Size = new System.Drawing.Size(56, 19); this.cmbStopBit.TabIndex = 32; // // btCloseCOM // this.btCloseCOM.Enabled = false; this.btCloseCOM.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular); this.btCloseCOM.Location = new System.Drawing.Point(317, 61); this.btCloseCOM.Name = "btCloseCOM"; this.btCloseCOM.Size = new System.Drawing.Size(78, 23); this.btCloseCOM.TabIndex = 45; this.btCloseCOM.Text = "Close"; this.btCloseCOM.Click += new System.EventHandler(this.btCloseCOM_Click); // // cmbParity // this.cmbParity.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular); this.cmbParity.Items.Add("0-None Parity"); this.cmbParity.Items.Add("1-Odd Parity"); this.cmbParity.Items.Add("2-Even Parity"); this.cmbParity.Location = new System.Drawing.Point(226, 35); this.cmbParity.Name = "cmbParity"; this.cmbParity.Size = new System.Drawing.Size(100, 19); this.cmbParity.TabIndex = 31; // // btOpenCOM // this.btOpenCOM.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular); this.btOpenCOM.Location = new System.Drawing.Point(226, 61); this.btOpenCOM.Name = "btOpenCOM"; this.btOpenCOM.Size = new System.Drawing.Size(78, 23); this.btOpenCOM.TabIndex = 38; this.btOpenCOM.Text = "Open"; this.btOpenCOM.Click += new System.EventHandler(this.btOpenCOM_Click_1); // // cmbDataBit // this.cmbDataBit.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular); this.cmbDataBit.Items.Add("7"); this.cmbDataBit.Items.Add("8"); this.cmbDataBit.Location = new System.Drawing.Point(170, 35); this.cmbDataBit.Name = "cmbDataBit"; this.cmbDataBit.Size = new System.Drawing.Size(48, 19); this.cmbDataBit.TabIndex = 30; // // label7 // this.label7.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular); this.label7.ForeColor = System.Drawing.Color.Blue; this.label7.Location = new System.Drawing.Point(3, 3); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(140, 17); this.label7.Text = "Connection Status"; // // labStopBit // this.labStopBit.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular); this.labStopBit.Location = new System.Drawing.Point(339, 20); this.labStopBit.Name = "labStopBit"; this.labStopBit.Size = new System.Drawing.Size(56, 15); this.labStopBit.Text = "Stop Bit"; this.labStopBit.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // labParity // this.labParity.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular); this.labParity.Location = new System.Drawing.Point(228, 20); this.labParity.Name = "labParity"; this.labParity.Size = new System.Drawing.Size(98, 15); this.labParity.Text = "Parity"; this.labParity.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // labBaud // this.labBaud.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular); this.labBaud.Location = new System.Drawing.Point(86, 20); this.labBaud.Name = "labBaud"; this.labBaud.Size = new System.Drawing.Size(75, 15); this.labBaud.Text = "Baudrate"; this.labBaud.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // labDataBit // this.labDataBit.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular); this.labDataBit.Location = new System.Drawing.Point(170, 20); this.labDataBit.Name = "labDataBit"; this.labDataBit.Size = new System.Drawing.Size(48, 15); this.labDataBit.Text = "Data Bit"; this.labDataBit.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // labPort // this.labPort.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular); this.labPort.Location = new System.Drawing.Point(6, 20); this.labPort.Name = "labPort"; this.labPort.Size = new System.Drawing.Size(75, 15); this.labPort.Text = "COM Port"; this.labPort.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // cmbBaud // this.cmbBaud.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular); this.cmbBaud.Items.Add("1200"); this.cmbBaud.Items.Add("2400"); this.cmbBaud.Items.Add("4800"); this.cmbBaud.Items.Add("9600"); this.cmbBaud.Items.Add("19200"); this.cmbBaud.Items.Add("38400"); this.cmbBaud.Items.Add("57600"); this.cmbBaud.Items.Add("115200"); this.cmbBaud.Location = new System.Drawing.Point(85, 35); this.cmbBaud.Name = "cmbBaud"; this.cmbBaud.Size = new System.Drawing.Size(76, 19); this.cmbBaud.TabIndex = 29; // // cmbPort // this.cmbPort.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular); this.cmbPort.Location = new System.Drawing.Point(6, 35); this.cmbPort.Name = "cmbPort"; this.cmbPort.Size = new System.Drawing.Size(75, 19); this.cmbPort.TabIndex = 28; // // 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(438, 352); this.Controls.Add(this.pnlCOMStatus); this.Controls.Add(this.txtAI4); this.Controls.Add(this.txtAI3); this.Controls.Add(this.txtAI2); this.Controls.Add(this.txtAI1); this.Controls.Add(this.label5); this.Controls.Add(this.txtAO4); this.Controls.Add(this.txtAO3); this.Controls.Add(this.txtAO2); this.Controls.Add(this.txtAO1); this.Controls.Add(this.label3); this.Controls.Add(this.label4); this.Controls.Add(this.chkDI4); this.Controls.Add(this.chkDI3); this.Controls.Add(this.chkDI2); this.Controls.Add(this.chkDI1); this.Controls.Add(this.label2); this.Controls.Add(this.chkDO4); this.Controls.Add(this.chkDO3); this.Controls.Add(this.chkDO2); this.Controls.Add(this.chkDO1); this.Controls.Add(this.label1); this.Name = "Form1"; this.Text = "Modbus_Slave_RTU_Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.Closed += new System.EventHandler(this.Form1_Closed); this.pnlCOMStatus.ResumeLayout(false); this.ResumeLayout(false); } #endregion private System.Windows.Forms.Label label1; private System.Windows.Forms.CheckBox chkDO1; private System.Windows.Forms.CheckBox chkDO2; private System.Windows.Forms.CheckBox chkDO3; private System.Windows.Forms.CheckBox chkDO4; private System.Windows.Forms.Timer timer1; private System.Windows.Forms.CheckBox chkDI4; private System.Windows.Forms.CheckBox chkDI3; private System.Windows.Forms.CheckBox chkDI2; private System.Windows.Forms.CheckBox chkDI1; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label4; private System.Windows.Forms.TextBox txtAO1; private System.Windows.Forms.TextBox txtAO2; private System.Windows.Forms.TextBox txtAO3; private System.Windows.Forms.TextBox txtAO4; private System.Windows.Forms.Label label5; private System.Windows.Forms.TextBox txtAI4; private System.Windows.Forms.TextBox txtAI3; private System.Windows.Forms.TextBox txtAI2; private System.Windows.Forms.TextBox txtAI1; private System.Windows.Forms.Panel pnlCOMStatus; private System.Windows.Forms.ComboBox cmbStopBit; private System.Windows.Forms.Button btCloseCOM; private System.Windows.Forms.ComboBox cmbParity; private System.Windows.Forms.Button btOpenCOM; private System.Windows.Forms.ComboBox cmbDataBit; private System.Windows.Forms.Label label7; private System.Windows.Forms.Label labStopBit; private System.Windows.Forms.Label labParity; private System.Windows.Forms.Label labBaud; private System.Windows.Forms.Label labDataBit; private System.Windows.Forms.Label labPort; private System.Windows.Forms.ComboBox cmbBaud; private System.Windows.Forms.ComboBox cmbPort; } }