namespace Input_Status { partial class Form1 { /// /// 設計工具所需的變數。 /// private System.ComponentModel.IContainer components = null; /// /// 清除任何使用中的資源。 /// /// 如果應該公開 Managed 資源則為 true,否則為 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form 設計工具產生的程式碼 /// /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。 /// /// private void InitializeComponent() { this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.txtIP = new System.Windows.Forms.TextBox(); this.txtPort = new System.Windows.Forms.TextBox(); this.txtChannelNumber = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.timerScan = new System.Windows.Forms.Timer(); this.label4 = new System.Windows.Forms.Label(); this.txtChannel = new System.Windows.Forms.TextBox(); this.butONOFF = new System.Windows.Forms.Button(); this.ckbCH9 = new System.Windows.Forms.CheckBox(); this.ckbCH8 = new System.Windows.Forms.CheckBox(); this.ckbCH7 = new System.Windows.Forms.CheckBox(); this.ckbCH6 = new System.Windows.Forms.CheckBox(); this.ckbCH5 = new System.Windows.Forms.CheckBox(); this.ckbCH4 = new System.Windows.Forms.CheckBox(); this.ckbCH3 = new System.Windows.Forms.CheckBox(); this.ckbCH2 = new System.Windows.Forms.CheckBox(); this.ckbCH1 = new System.Windows.Forms.CheckBox(); this.ckbCH0 = new System.Windows.Forms.CheckBox(); this.txtMsg = new System.Windows.Forms.TextBox(); this.btDisconnect = new System.Windows.Forms.Button(); this.btConnect = new System.Windows.Forms.Button(); this.SuspendLayout(); // // label2 // this.label2.Location = new System.Drawing.Point(53, 36); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(42, 22); this.label2.Text = "Port :"; // // label1 // this.label1.Location = new System.Drawing.Point(16, 10); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(82, 22); this.label1.Text = "IP address :"; // // txtIP // this.txtIP.Location = new System.Drawing.Point(104, 10); this.txtIP.Name = "txtIP"; this.txtIP.Size = new System.Drawing.Size(92, 23); this.txtIP.TabIndex = 14; this.txtIP.Text = "10.1.0.5"; // // txtPort // this.txtPort.Location = new System.Drawing.Point(104, 36); this.txtPort.Name = "txtPort"; this.txtPort.Size = new System.Drawing.Size(92, 23); this.txtPort.TabIndex = 15; this.txtPort.Text = "502"; // // txtChannelNumber // this.txtChannelNumber.Location = new System.Drawing.Point(104, 64); this.txtChannelNumber.Name = "txtChannelNumber"; this.txtChannelNumber.Size = new System.Drawing.Size(92, 23); this.txtChannelNumber.TabIndex = 19; this.txtChannelNumber.Text = "10"; this.txtChannelNumber.TextChanged += new System.EventHandler(this.txtChannelNumber_TextChanged); // // label3 // this.label3.Location = new System.Drawing.Point(3, 64); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(98, 22); this.label3.Text = "Total Channel:"; // // timerScan // this.timerScan.Interval = 1000; this.timerScan.Tick += new System.EventHandler(this.timerScan_Tick); // // label4 // this.label4.Enabled = false; this.label4.Location = new System.Drawing.Point(342, 91); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(109, 18); this.label4.Text = "Channel Number"; // // txtChannel // this.txtChannel.Enabled = false; this.txtChannel.Location = new System.Drawing.Point(349, 112); this.txtChannel.Name = "txtChannel"; this.txtChannel.Size = new System.Drawing.Size(89, 23); this.txtChannel.TabIndex = 59; this.txtChannel.Text = "10"; this.txtChannel.TextChanged += new System.EventHandler(this.txtChannel_TextChanged_1); // // butONOFF // this.butONOFF.Enabled = false; this.butONOFF.Location = new System.Drawing.Point(349, 141); this.butONOFF.Name = "butONOFF"; this.butONOFF.Size = new System.Drawing.Size(89, 23); this.butONOFF.TabIndex = 58; this.butONOFF.Text = "ON"; this.butONOFF.Click += new System.EventHandler(this.butONOFF_Click); // // ckbCH9 // this.ckbCH9.Enabled = false; this.ckbCH9.Location = new System.Drawing.Point(293, 179); this.ckbCH9.Name = "ckbCH9"; this.ckbCH9.Size = new System.Drawing.Size(50, 20); this.ckbCH9.TabIndex = 57; this.ckbCH9.Text = "ch9"; this.ckbCH9.CheckStateChanged += new System.EventHandler(this.ckbCH9_CheckStateChanged); // // ckbCH8 // this.ckbCH8.Enabled = false; this.ckbCH8.Location = new System.Drawing.Point(236, 181); this.ckbCH8.Name = "ckbCH8"; this.ckbCH8.Size = new System.Drawing.Size(50, 20); this.ckbCH8.TabIndex = 56; this.ckbCH8.Text = "ch8"; this.ckbCH8.CheckStateChanged += new System.EventHandler(this.ckbCH8_CheckStateChanged); // // ckbCH7 // this.ckbCH7.Enabled = false; this.ckbCH7.Location = new System.Drawing.Point(293, 157); this.ckbCH7.Name = "ckbCH7"; this.ckbCH7.Size = new System.Drawing.Size(50, 20); this.ckbCH7.TabIndex = 55; this.ckbCH7.Text = "ch7"; this.ckbCH7.CheckStateChanged += new System.EventHandler(this.ckbCH7_CheckStateChanged); // // ckbCH6 // this.ckbCH6.Enabled = false; this.ckbCH6.Location = new System.Drawing.Point(236, 163); this.ckbCH6.Name = "ckbCH6"; this.ckbCH6.Size = new System.Drawing.Size(50, 16); this.ckbCH6.TabIndex = 54; this.ckbCH6.Text = "ch6"; this.ckbCH6.CheckStateChanged += new System.EventHandler(this.ckbCH6_CheckStateChanged); // // ckbCH5 // this.ckbCH5.Enabled = false; this.ckbCH5.Location = new System.Drawing.Point(293, 137); this.ckbCH5.Name = "ckbCH5"; this.ckbCH5.Size = new System.Drawing.Size(50, 18); this.ckbCH5.TabIndex = 53; this.ckbCH5.Text = "ch5"; this.ckbCH5.CheckStateChanged += new System.EventHandler(this.ckbCH5_CheckStateChanged); // // ckbCH4 // this.ckbCH4.Enabled = false; this.ckbCH4.Location = new System.Drawing.Point(236, 141); this.ckbCH4.Name = "ckbCH4"; this.ckbCH4.Size = new System.Drawing.Size(50, 16); this.ckbCH4.TabIndex = 52; this.ckbCH4.Text = "ch4"; this.ckbCH4.CheckStateChanged += new System.EventHandler(this.ckbCH4_CheckStateChanged); // // ckbCH3 // this.ckbCH3.Enabled = false; this.ckbCH3.Location = new System.Drawing.Point(293, 117); this.ckbCH3.Name = "ckbCH3"; this.ckbCH3.Size = new System.Drawing.Size(50, 16); this.ckbCH3.TabIndex = 51; this.ckbCH3.Text = "ch3"; this.ckbCH3.CheckStateChanged += new System.EventHandler(this.ckbCH3_CheckStateChanged); // // ckbCH2 // this.ckbCH2.Enabled = false; this.ckbCH2.Location = new System.Drawing.Point(236, 117); this.ckbCH2.Name = "ckbCH2"; this.ckbCH2.Size = new System.Drawing.Size(50, 18); this.ckbCH2.TabIndex = 50; this.ckbCH2.Text = "ch2"; this.ckbCH2.CheckStateChanged += new System.EventHandler(this.ckbCH2_CheckStateChanged_1); // // ckbCH1 // this.ckbCH1.Enabled = false; this.ckbCH1.Location = new System.Drawing.Point(293, 95); this.ckbCH1.Name = "ckbCH1"; this.ckbCH1.Size = new System.Drawing.Size(50, 16); this.ckbCH1.TabIndex = 49; this.ckbCH1.Text = "ch1"; this.ckbCH1.CheckStateChanged += new System.EventHandler(this.ckbCH1_CheckStateChanged); // // ckbCH0 // this.ckbCH0.Enabled = false; this.ckbCH0.Location = new System.Drawing.Point(236, 93); this.ckbCH0.Name = "ckbCH0"; this.ckbCH0.Size = new System.Drawing.Size(51, 18); this.ckbCH0.TabIndex = 48; this.ckbCH0.Text = "ch0"; this.ckbCH0.CheckStateChanged += new System.EventHandler(this.ckbCH0_CheckStateChanged); // // txtMsg // this.txtMsg.AcceptsReturn = true; this.txtMsg.Location = new System.Drawing.Point(3, 93); this.txtMsg.Multiline = true; this.txtMsg.Name = "txtMsg"; this.txtMsg.Size = new System.Drawing.Size(227, 117); this.txtMsg.TabIndex = 47; this.txtMsg.WordWrap = false; // // btDisconnect // this.btDisconnect.Enabled = false; this.btDisconnect.Location = new System.Drawing.Point(304, 10); this.btDisconnect.Name = "btDisconnect"; this.btDisconnect.Size = new System.Drawing.Size(96, 48); this.btDisconnect.TabIndex = 46; this.btDisconnect.Text = "Disconnect"; this.btDisconnect.Click += new System.EventHandler(this.btDisconnect_Click); // // btConnect // this.btConnect.Location = new System.Drawing.Point(202, 10); this.btConnect.Name = "btConnect"; this.btConnect.Size = new System.Drawing.Size(96, 48); this.btConnect.TabIndex = 45; this.btConnect.Text = "Connect"; this.btConnect.Click += new System.EventHandler(this.btConnect_Click_1); // // 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(452, 233); this.Controls.Add(this.label4); this.Controls.Add(this.txtChannel); this.Controls.Add(this.butONOFF); this.Controls.Add(this.ckbCH9); this.Controls.Add(this.ckbCH8); this.Controls.Add(this.ckbCH7); this.Controls.Add(this.ckbCH6); this.Controls.Add(this.ckbCH5); this.Controls.Add(this.ckbCH4); this.Controls.Add(this.ckbCH3); this.Controls.Add(this.ckbCH2); this.Controls.Add(this.ckbCH1); this.Controls.Add(this.ckbCH0); this.Controls.Add(this.txtMsg); this.Controls.Add(this.btDisconnect); this.Controls.Add(this.btConnect); this.Controls.Add(this.label3); this.Controls.Add(this.txtChannelNumber); this.Controls.Add(this.txtPort); this.Controls.Add(this.txtIP); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Name = "Form1"; this.Text = "Coil_Status_Modbus_TCP_Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); } #endregion private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label1; private System.Windows.Forms.TextBox txtIP; private System.Windows.Forms.TextBox txtPort; private System.Windows.Forms.TextBox txtChannelNumber; private System.Windows.Forms.Label label3; private System.Windows.Forms.Timer timerScan; private System.Windows.Forms.Label label4; private System.Windows.Forms.TextBox txtChannel; private System.Windows.Forms.Button butONOFF; private System.Windows.Forms.CheckBox ckbCH9; private System.Windows.Forms.CheckBox ckbCH8; private System.Windows.Forms.CheckBox ckbCH7; private System.Windows.Forms.CheckBox ckbCH6; private System.Windows.Forms.CheckBox ckbCH5; private System.Windows.Forms.CheckBox ckbCH4; private System.Windows.Forms.CheckBox ckbCH3; private System.Windows.Forms.CheckBox ckbCH2; private System.Windows.Forms.CheckBox ckbCH1; private System.Windows.Forms.CheckBox ckbCH0; private System.Windows.Forms.TextBox txtMsg; private System.Windows.Forms.Button btDisconnect; private System.Windows.Forms.Button btConnect; } }