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.timerScan = new System.Windows.Forms.Timer();
this.pnlCOMStatus = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.txtChannelNumber = new System.Windows.Forms.TextBox();
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.label1 = 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.dataGrid1 = new System.Windows.Forms.DataGrid();
this.pnlCOMStatus.SuspendLayout();
this.SuspendLayout();
//
// timerScan
//
this.timerScan.Interval = 1000;
this.timerScan.Tick += new System.EventHandler(this.timerScan_Tick_1);
//
// pnlCOMStatus
//
this.pnlCOMStatus.Controls.Add(this.label3);
this.pnlCOMStatus.Controls.Add(this.txtChannelNumber);
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.label1);
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(3, 3);
this.pnlCOMStatus.Name = "pnlCOMStatus";
this.pnlCOMStatus.Size = new System.Drawing.Size(414, 87);
//
// label3
//
this.label3.Location = new System.Drawing.Point(3, 60);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(98, 22);
this.label3.Text = "Total Channel:";
//
// txtChannelNumber
//
this.txtChannelNumber.Location = new System.Drawing.Point(107, 60);
this.txtChannelNumber.Name = "txtChannelNumber";
this.txtChannelNumber.Size = new System.Drawing.Size(111, 23);
this.txtChannelNumber.TabIndex = 53;
this.txtChannelNumber.Text = "10";
//
// 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;
//
// label1
//
this.label1.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular);
this.label1.ForeColor = System.Drawing.Color.Blue;
this.label1.Location = new System.Drawing.Point(3, 3);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(140, 17);
this.label1.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;
//
// 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, 99);
this.dataGrid1.Name = "dataGrid1";
this.dataGrid1.Size = new System.Drawing.Size(414, 110);
this.dataGrid1.TabIndex = 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(420, 212);
this.Controls.Add(this.dataGrid1);
this.Controls.Add(this.pnlCOMStatus);
this.Name = "Form1";
this.Text = "Input_Register_Modbus_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.Timer timerScan;
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 label1;
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;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtChannelNumber;
private System.Windows.Forms.DataGrid dataGrid1;
}
}