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.label5 = new System.Windows.Forms.Label(); this.txtChannelVolt = new System.Windows.Forms.TextBox(); this.ch9Volt = new System.Windows.Forms.TextBox(); this.ch7Volt = new System.Windows.Forms.TextBox(); this.ch5Volt = new System.Windows.Forms.TextBox(); this.ch3Volt = new System.Windows.Forms.TextBox(); this.ch1Volt = new System.Windows.Forms.TextBox(); this.ch8Volt = new System.Windows.Forms.TextBox(); this.ch6Volt = new System.Windows.Forms.TextBox(); this.ch4Volt = new System.Windows.Forms.TextBox(); this.ch2Volt = new System.Windows.Forms.TextBox(); this.ch0Volt = new System.Windows.Forms.TextBox(); 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.btDisconnect = new System.Windows.Forms.Button(); this.btConnect = new System.Windows.Forms.Button(); this.dataGrid1 = new System.Windows.Forms.DataGrid(); 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); // // label5 // this.label5.Enabled = false; this.label5.Location = new System.Drawing.Point(451, 139); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(97, 20); this.label5.Text = "Channel Value"; // // txtChannelVolt // this.txtChannelVolt.Enabled = false; this.txtChannelVolt.Location = new System.Drawing.Point(451, 159); this.txtChannelVolt.Name = "txtChannelVolt"; this.txtChannelVolt.Size = new System.Drawing.Size(89, 23); this.txtChannelVolt.TabIndex = 71; this.txtChannelVolt.Text = "0"; this.txtChannelVolt.TextChanged += new System.EventHandler(this.txtChannelVolt_TextChanged_1); // // ch9Volt // this.ch9Volt.Enabled = false; this.ch9Volt.Location = new System.Drawing.Point(402, 183); this.ch9Volt.Name = "ch9Volt"; this.ch9Volt.Size = new System.Drawing.Size(43, 23); this.ch9Volt.TabIndex = 70; this.ch9Volt.Text = "0"; // // ch7Volt // this.ch7Volt.Enabled = false; this.ch7Volt.Location = new System.Drawing.Point(402, 161); this.ch7Volt.Name = "ch7Volt"; this.ch7Volt.Size = new System.Drawing.Size(43, 23); this.ch7Volt.TabIndex = 69; this.ch7Volt.Text = "0"; // // ch5Volt // this.ch5Volt.Enabled = false; this.ch5Volt.Location = new System.Drawing.Point(402, 139); this.ch5Volt.Name = "ch5Volt"; this.ch5Volt.Size = new System.Drawing.Size(43, 23); this.ch5Volt.TabIndex = 68; this.ch5Volt.Text = "0"; // // ch3Volt // this.ch3Volt.Enabled = false; this.ch3Volt.Location = new System.Drawing.Point(402, 117); this.ch3Volt.Name = "ch3Volt"; this.ch3Volt.Size = new System.Drawing.Size(43, 23); this.ch3Volt.TabIndex = 67; this.ch3Volt.Text = "0"; // // ch1Volt // this.ch1Volt.Enabled = false; this.ch1Volt.Location = new System.Drawing.Point(402, 95); this.ch1Volt.Name = "ch1Volt"; this.ch1Volt.Size = new System.Drawing.Size(43, 23); this.ch1Volt.TabIndex = 66; this.ch1Volt.Text = "0"; // // ch8Volt // this.ch8Volt.Enabled = false; this.ch8Volt.Location = new System.Drawing.Point(292, 183); this.ch8Volt.Name = "ch8Volt"; this.ch8Volt.Size = new System.Drawing.Size(43, 23); this.ch8Volt.TabIndex = 65; this.ch8Volt.Text = "0"; // // ch6Volt // this.ch6Volt.Enabled = false; this.ch6Volt.Location = new System.Drawing.Point(292, 161); this.ch6Volt.Name = "ch6Volt"; this.ch6Volt.Size = new System.Drawing.Size(43, 23); this.ch6Volt.TabIndex = 64; this.ch6Volt.Text = "0"; // // ch4Volt // this.ch4Volt.Enabled = false; this.ch4Volt.Location = new System.Drawing.Point(292, 139); this.ch4Volt.Name = "ch4Volt"; this.ch4Volt.Size = new System.Drawing.Size(43, 23); this.ch4Volt.TabIndex = 63; this.ch4Volt.Text = "0"; // // ch2Volt // this.ch2Volt.Enabled = false; this.ch2Volt.Location = new System.Drawing.Point(292, 117); this.ch2Volt.Name = "ch2Volt"; this.ch2Volt.Size = new System.Drawing.Size(43, 23); this.ch2Volt.TabIndex = 62; this.ch2Volt.Text = "0"; // // ch0Volt // this.ch0Volt.Enabled = false; this.ch0Volt.Location = new System.Drawing.Point(292, 95); this.ch0Volt.Name = "ch0Volt"; this.ch0Volt.Size = new System.Drawing.Size(43, 23); this.ch0Volt.TabIndex = 61; this.ch0Volt.Text = "0"; // // label4 // this.label4.Enabled = false; this.label4.Location = new System.Drawing.Point(451, 93); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(110, 16); this.label4.Text = "Channel Number"; // // txtChannel // this.txtChannel.Enabled = false; this.txtChannel.Location = new System.Drawing.Point(451, 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(451, 188); 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(346, 181); 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(346, 159); 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(346, 139); 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(346, 119); 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(346, 97); 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); // // btDisconnect // this.btDisconnect.Enabled = false; this.btDisconnect.Location = new System.Drawing.Point(389, 11); 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(259, 11); 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); // // dataGrid1 // this.dataGrid1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.dataGrid1.Location = new System.Drawing.Point(3, 89); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.Size = new System.Drawing.Size(227, 141); this.dataGrid1.TabIndex = 76; // // 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(562, 233); this.Controls.Add(this.dataGrid1); this.Controls.Add(this.label5); this.Controls.Add(this.txtChannelVolt); this.Controls.Add(this.ch9Volt); this.Controls.Add(this.ch7Volt); this.Controls.Add(this.ch5Volt); this.Controls.Add(this.ch3Volt); this.Controls.Add(this.ch1Volt); this.Controls.Add(this.ch8Volt); this.Controls.Add(this.ch6Volt); this.Controls.Add(this.ch4Volt); this.Controls.Add(this.ch2Volt); this.Controls.Add(this.ch0Volt); 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.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 = "Holding_Register_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 label5; private System.Windows.Forms.TextBox txtChannelVolt; private System.Windows.Forms.TextBox ch9Volt; private System.Windows.Forms.TextBox ch7Volt; private System.Windows.Forms.TextBox ch5Volt; private System.Windows.Forms.TextBox ch3Volt; private System.Windows.Forms.TextBox ch1Volt; private System.Windows.Forms.TextBox ch8Volt; private System.Windows.Forms.TextBox ch6Volt; private System.Windows.Forms.TextBox ch4Volt; private System.Windows.Forms.TextBox ch2Volt; private System.Windows.Forms.TextBox ch0Volt; 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.Button btDisconnect; private System.Windows.Forms.Button btConnect; private System.Windows.Forms.DataGrid dataGrid1; } }