196 lines
9.3 KiB
C#
196 lines
9.3 KiB
C#
namespace SLC1_N
|
|
{
|
|
partial class Form_PLCconnect
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form_PLCconnect));
|
|
this.uiGroupBox9 = new Sunny.UI.UIGroupBox();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.cb_PLCPortName = new System.Windows.Forms.ComboBox();
|
|
this.label11 = new System.Windows.Forms.Label();
|
|
this.label15 = new System.Windows.Forms.Label();
|
|
this.cb_PLCBaudRate = new System.Windows.Forms.ComboBox();
|
|
this.lb_PLCCom_status = new System.Windows.Forms.Label();
|
|
this.bt_PLCConnect = new System.Windows.Forms.Button();
|
|
this.bt_PLCBreak = new System.Windows.Forms.Button();
|
|
this.bt_PLCRefresh = new System.Windows.Forms.Button();
|
|
this.uiGroupBox9.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// uiGroupBox9
|
|
//
|
|
this.uiGroupBox9.Controls.Add(this.label7);
|
|
this.uiGroupBox9.Controls.Add(this.cb_PLCPortName);
|
|
this.uiGroupBox9.Controls.Add(this.label11);
|
|
this.uiGroupBox9.Controls.Add(this.label15);
|
|
this.uiGroupBox9.Controls.Add(this.cb_PLCBaudRate);
|
|
this.uiGroupBox9.Controls.Add(this.lb_PLCCom_status);
|
|
this.uiGroupBox9.Controls.Add(this.bt_PLCConnect);
|
|
this.uiGroupBox9.Controls.Add(this.bt_PLCBreak);
|
|
this.uiGroupBox9.Controls.Add(this.bt_PLCRefresh);
|
|
this.uiGroupBox9.FillColor = System.Drawing.Color.Transparent;
|
|
this.uiGroupBox9.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.uiGroupBox9.Location = new System.Drawing.Point(38, 13);
|
|
this.uiGroupBox9.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
this.uiGroupBox9.MinimumSize = new System.Drawing.Size(1, 1);
|
|
this.uiGroupBox9.Name = "uiGroupBox9";
|
|
this.uiGroupBox9.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
|
|
this.uiGroupBox9.Size = new System.Drawing.Size(221, 490);
|
|
this.uiGroupBox9.Style = Sunny.UI.UIStyle.Custom;
|
|
this.uiGroupBox9.TabIndex = 3;
|
|
this.uiGroupBox9.Text = "PLC串口设置";
|
|
this.uiGroupBox9.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.label7.Location = new System.Drawing.Point(52, 208);
|
|
this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(87, 16);
|
|
this.label7.TabIndex = 70;
|
|
this.label7.Text = "串口状态:";
|
|
//
|
|
// cb_PLCPortName
|
|
//
|
|
this.cb_PLCPortName.FormattingEnabled = true;
|
|
this.cb_PLCPortName.Location = new System.Drawing.Point(43, 89);
|
|
this.cb_PLCPortName.Margin = new System.Windows.Forms.Padding(4);
|
|
this.cb_PLCPortName.Name = "cb_PLCPortName";
|
|
this.cb_PLCPortName.Size = new System.Drawing.Size(137, 24);
|
|
this.cb_PLCPortName.TabIndex = 67;
|
|
//
|
|
// label11
|
|
//
|
|
this.label11.AutoSize = true;
|
|
this.label11.Location = new System.Drawing.Point(40, 66);
|
|
this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label11.Name = "label11";
|
|
this.label11.Size = new System.Drawing.Size(55, 16);
|
|
this.label11.TabIndex = 65;
|
|
this.label11.Text = "端口号";
|
|
//
|
|
// label15
|
|
//
|
|
this.label15.AutoSize = true;
|
|
this.label15.Location = new System.Drawing.Point(40, 132);
|
|
this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label15.Name = "label15";
|
|
this.label15.Size = new System.Drawing.Size(55, 16);
|
|
this.label15.TabIndex = 66;
|
|
this.label15.Text = "波特率";
|
|
//
|
|
// cb_PLCBaudRate
|
|
//
|
|
this.cb_PLCBaudRate.FormattingEnabled = true;
|
|
this.cb_PLCBaudRate.Items.AddRange(new object[] {
|
|
"115200",
|
|
"9600"});
|
|
this.cb_PLCBaudRate.Location = new System.Drawing.Point(43, 156);
|
|
this.cb_PLCBaudRate.Margin = new System.Windows.Forms.Padding(4);
|
|
this.cb_PLCBaudRate.Name = "cb_PLCBaudRate";
|
|
this.cb_PLCBaudRate.Size = new System.Drawing.Size(137, 24);
|
|
this.cb_PLCBaudRate.TabIndex = 68;
|
|
//
|
|
// lb_PLCCom_status
|
|
//
|
|
this.lb_PLCCom_status.AutoSize = true;
|
|
this.lb_PLCCom_status.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.lb_PLCCom_status.Location = new System.Drawing.Point(70, 237);
|
|
this.lb_PLCCom_status.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lb_PLCCom_status.Name = "lb_PLCCom_status";
|
|
this.lb_PLCCom_status.Size = new System.Drawing.Size(23, 16);
|
|
this.lb_PLCCom_status.TabIndex = 69;
|
|
this.lb_PLCCom_status.Text = "##";
|
|
//
|
|
// bt_PLCConnect
|
|
//
|
|
this.bt_PLCConnect.Location = new System.Drawing.Point(48, 275);
|
|
this.bt_PLCConnect.Margin = new System.Windows.Forms.Padding(4);
|
|
this.bt_PLCConnect.Name = "bt_PLCConnect";
|
|
this.bt_PLCConnect.Size = new System.Drawing.Size(125, 45);
|
|
this.bt_PLCConnect.TabIndex = 62;
|
|
this.bt_PLCConnect.TabStop = false;
|
|
this.bt_PLCConnect.Text = "连接串口";
|
|
this.bt_PLCConnect.UseVisualStyleBackColor = true;
|
|
this.bt_PLCConnect.Click += new System.EventHandler(this.bt_PLCConnect_Click);
|
|
//
|
|
// bt_PLCBreak
|
|
//
|
|
this.bt_PLCBreak.Location = new System.Drawing.Point(48, 379);
|
|
this.bt_PLCBreak.Margin = new System.Windows.Forms.Padding(4);
|
|
this.bt_PLCBreak.Name = "bt_PLCBreak";
|
|
this.bt_PLCBreak.Size = new System.Drawing.Size(125, 45);
|
|
this.bt_PLCBreak.TabIndex = 63;
|
|
this.bt_PLCBreak.Text = "断开连接";
|
|
this.bt_PLCBreak.UseVisualStyleBackColor = true;
|
|
this.bt_PLCBreak.Click += new System.EventHandler(this.bt_PLCBreak_Click);
|
|
//
|
|
// bt_PLCRefresh
|
|
//
|
|
this.bt_PLCRefresh.Location = new System.Drawing.Point(48, 327);
|
|
this.bt_PLCRefresh.Margin = new System.Windows.Forms.Padding(4);
|
|
this.bt_PLCRefresh.Name = "bt_PLCRefresh";
|
|
this.bt_PLCRefresh.Size = new System.Drawing.Size(125, 45);
|
|
this.bt_PLCRefresh.TabIndex = 64;
|
|
this.bt_PLCRefresh.Text = "刷新串口";
|
|
this.bt_PLCRefresh.UseVisualStyleBackColor = true;
|
|
this.bt_PLCRefresh.Click += new System.EventHandler(this.bt_PLCRefresh_Click);
|
|
//
|
|
// Form_PLCconnect
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.LightBlue;
|
|
this.ClientSize = new System.Drawing.Size(305, 517);
|
|
this.Controls.Add(this.uiGroupBox9);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Name = "Form_PLCconnect";
|
|
this.Text = "PLC通讯配置";
|
|
this.Load += new System.EventHandler(this.Form_PLCconnect_Load);
|
|
this.uiGroupBox9.ResumeLayout(false);
|
|
this.uiGroupBox9.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Sunny.UI.UIGroupBox uiGroupBox9;
|
|
private System.Windows.Forms.Label label7;
|
|
public System.Windows.Forms.ComboBox cb_PLCPortName;
|
|
private System.Windows.Forms.Label label11;
|
|
private System.Windows.Forms.Label label15;
|
|
private System.Windows.Forms.ComboBox cb_PLCBaudRate;
|
|
public System.Windows.Forms.Label lb_PLCCom_status;
|
|
private System.Windows.Forms.Button bt_PLCConnect;
|
|
private System.Windows.Forms.Button bt_PLCBreak;
|
|
private System.Windows.Forms.Button bt_PLCRefresh;
|
|
}
|
|
} |