522 lines
33 KiB
C#
522 lines
33 KiB
C#
namespace StandardScene.ExtendDevice.Door
|
|
{
|
|
partial class DoorManager
|
|
{
|
|
/// <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()
|
|
{
|
|
this.doorControllerListView = new System.Windows.Forms.ListView();
|
|
this.columnHeaderControllerIndex = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.columnHeaderIp = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.columnHeaderPort = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.columnHeaderType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.groupBoxController = new System.Windows.Forms.GroupBox();
|
|
this.btnSaveController = new System.Windows.Forms.Button();
|
|
this.btnDeleteController = new System.Windows.Forms.Button();
|
|
this.btnAddController = new System.Windows.Forms.Button();
|
|
this.labelType = new System.Windows.Forms.Label();
|
|
this.comboBoxType = new System.Windows.Forms.ComboBox();
|
|
this.labelControllerIndex = new System.Windows.Forms.Label();
|
|
this.textBoxControllerIndex = new System.Windows.Forms.TextBox();
|
|
this.labelPort = new System.Windows.Forms.Label();
|
|
this.textBoxPort = new System.Windows.Forms.TextBox();
|
|
this.labelIp = new System.Windows.Forms.Label();
|
|
this.textBoxIp = new System.Windows.Forms.TextBox();
|
|
this.doorListView = new System.Windows.Forms.ListView();
|
|
this.columnHeaderDoorIndex = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.columnHeaderControlAddress = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.columnHeaderOpenStatusAddress = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.groupBoxDoor = new System.Windows.Forms.GroupBox();
|
|
this.btnSaveDoor = new System.Windows.Forms.Button();
|
|
this.btnDeleteDoor = new System.Windows.Forms.Button();
|
|
this.btnAddDoor = new System.Windows.Forms.Button();
|
|
this.labelOpenStatusAddress = new System.Windows.Forms.Label();
|
|
this.textBoxOpenStatusAddress = new System.Windows.Forms.TextBox();
|
|
this.labelControlAddress = new System.Windows.Forms.Label();
|
|
this.textBoxControlAddress = new System.Windows.Forms.TextBox();
|
|
this.labelDoorIndex = new System.Windows.Forms.Label();
|
|
this.textBoxDoorIndex = new System.Windows.Forms.TextBox();
|
|
this.labelTitle = new System.Windows.Forms.Label();
|
|
this.groupBoxController.SuspendLayout();
|
|
this.groupBoxDoor.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// doorControllerListView
|
|
//
|
|
this.doorControllerListView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)));
|
|
this.doorControllerListView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.doorControllerListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this.columnHeaderControllerIndex,
|
|
this.columnHeaderIp,
|
|
this.columnHeaderPort,
|
|
this.columnHeaderType});
|
|
this.doorControllerListView.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.doorControllerListView.FullRowSelect = true;
|
|
this.doorControllerListView.GridLines = true;
|
|
this.doorControllerListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
|
this.doorControllerListView.HideSelection = false;
|
|
this.doorControllerListView.Location = new System.Drawing.Point(15, 55);
|
|
this.doorControllerListView.MultiSelect = false;
|
|
this.doorControllerListView.Name = "doorControllerListView";
|
|
this.doorControllerListView.OwnerDraw = true;
|
|
this.doorControllerListView.Size = new System.Drawing.Size(450, 290);
|
|
this.doorControllerListView.TabIndex = 0;
|
|
this.doorControllerListView.UseCompatibleStateImageBehavior = false;
|
|
this.doorControllerListView.View = System.Windows.Forms.View.Details;
|
|
this.doorControllerListView.SelectedIndexChanged += new System.EventHandler(this.doorControllerListView_SelectedIndexChanged);
|
|
//
|
|
// columnHeaderControllerIndex
|
|
//
|
|
this.columnHeaderControllerIndex.Text = "编码";
|
|
this.columnHeaderControllerIndex.Width = 70;
|
|
//
|
|
// columnHeaderIp
|
|
//
|
|
this.columnHeaderIp.Text = "IP地址";
|
|
this.columnHeaderIp.Width = 130;
|
|
//
|
|
// columnHeaderPort
|
|
//
|
|
this.columnHeaderPort.Text = "端口";
|
|
this.columnHeaderPort.Width = 90;
|
|
//
|
|
// columnHeaderType
|
|
//
|
|
this.columnHeaderType.Text = "类型";
|
|
this.columnHeaderType.Width = 140;
|
|
//
|
|
// groupBoxController
|
|
//
|
|
this.groupBoxController.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.groupBoxController.Controls.Add(this.btnSaveController);
|
|
this.groupBoxController.Controls.Add(this.btnDeleteController);
|
|
this.groupBoxController.Controls.Add(this.btnAddController);
|
|
this.groupBoxController.Controls.Add(this.labelType);
|
|
this.groupBoxController.Controls.Add(this.comboBoxType);
|
|
this.groupBoxController.Controls.Add(this.labelControllerIndex);
|
|
this.groupBoxController.Controls.Add(this.textBoxControllerIndex);
|
|
this.groupBoxController.Controls.Add(this.labelPort);
|
|
this.groupBoxController.Controls.Add(this.textBoxPort);
|
|
this.groupBoxController.Controls.Add(this.labelIp);
|
|
this.groupBoxController.Controls.Add(this.textBoxIp);
|
|
this.groupBoxController.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.groupBoxController.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
|
|
this.groupBoxController.Location = new System.Drawing.Point(15, 360);
|
|
this.groupBoxController.Name = "groupBoxController";
|
|
this.groupBoxController.Padding = new System.Windows.Forms.Padding(12, 10, 12, 12);
|
|
this.groupBoxController.Size = new System.Drawing.Size(450, 250);
|
|
this.groupBoxController.TabIndex = 1;
|
|
this.groupBoxController.TabStop = false;
|
|
this.groupBoxController.Text = "门控制器信息";
|
|
//
|
|
// btnSaveController
|
|
//
|
|
this.btnSaveController.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(122)))), ((int)(((byte)(204)))));
|
|
this.btnSaveController.FlatAppearance.BorderSize = 0;
|
|
this.btnSaveController.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(92)))), ((int)(((byte)(153)))));
|
|
this.btnSaveController.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(102)))), ((int)(((byte)(170)))));
|
|
this.btnSaveController.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnSaveController.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnSaveController.ForeColor = System.Drawing.Color.White;
|
|
this.btnSaveController.Location = new System.Drawing.Point(330, 200);
|
|
this.btnSaveController.Name = "btnSaveController";
|
|
this.btnSaveController.Size = new System.Drawing.Size(100, 38);
|
|
this.btnSaveController.TabIndex = 10;
|
|
this.btnSaveController.Text = "保存";
|
|
this.btnSaveController.UseVisualStyleBackColor = false;
|
|
this.btnSaveController.Click += new System.EventHandler(this.btnSaveController_Click);
|
|
//
|
|
// btnDeleteController
|
|
//
|
|
this.btnDeleteController.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(53)))), ((int)(((byte)(69)))));
|
|
this.btnDeleteController.FlatAppearance.BorderSize = 0;
|
|
this.btnDeleteController.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(40)))), ((int)(((byte)(52)))));
|
|
this.btnDeleteController.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(45)))), ((int)(((byte)(59)))));
|
|
this.btnDeleteController.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnDeleteController.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnDeleteController.ForeColor = System.Drawing.Color.White;
|
|
this.btnDeleteController.Location = new System.Drawing.Point(220, 200);
|
|
this.btnDeleteController.Name = "btnDeleteController";
|
|
this.btnDeleteController.Size = new System.Drawing.Size(100, 38);
|
|
this.btnDeleteController.TabIndex = 9;
|
|
this.btnDeleteController.Text = "删除";
|
|
this.btnDeleteController.UseVisualStyleBackColor = false;
|
|
this.btnDeleteController.Click += new System.EventHandler(this.btnDeleteController_Click);
|
|
//
|
|
// btnAddController
|
|
//
|
|
this.btnAddController.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(167)))), ((int)(((byte)(69)))));
|
|
this.btnAddController.FlatAppearance.BorderSize = 0;
|
|
this.btnAddController.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(125)))), ((int)(((byte)(52)))));
|
|
this.btnAddController.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(136)))), ((int)(((byte)(56)))));
|
|
this.btnAddController.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnAddController.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnAddController.ForeColor = System.Drawing.Color.White;
|
|
this.btnAddController.Location = new System.Drawing.Point(110, 200);
|
|
this.btnAddController.Name = "btnAddController";
|
|
this.btnAddController.Size = new System.Drawing.Size(100, 38);
|
|
this.btnAddController.TabIndex = 8;
|
|
this.btnAddController.Text = "添加";
|
|
this.btnAddController.UseVisualStyleBackColor = false;
|
|
this.btnAddController.Click += new System.EventHandler(this.btnAddController_Click);
|
|
//
|
|
// labelType
|
|
//
|
|
this.labelType.AutoSize = true;
|
|
this.labelType.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.labelType.Location = new System.Drawing.Point(28, 168);
|
|
this.labelType.Name = "labelType";
|
|
this.labelType.Size = new System.Drawing.Size(65, 24);
|
|
this.labelType.TabIndex = 7;
|
|
this.labelType.Text = "类型:";
|
|
//
|
|
// comboBoxType
|
|
//
|
|
this.comboBoxType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.comboBoxType.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.comboBoxType.FormattingEnabled = true;
|
|
this.comboBoxType.Location = new System.Drawing.Point(110, 165);
|
|
this.comboBoxType.Name = "comboBoxType";
|
|
this.comboBoxType.Size = new System.Drawing.Size(320, 32);
|
|
this.comboBoxType.TabIndex = 6;
|
|
//
|
|
// labelControllerIndex
|
|
//
|
|
this.labelControllerIndex.AutoSize = true;
|
|
this.labelControllerIndex.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.labelControllerIndex.Location = new System.Drawing.Point(28, 48);
|
|
this.labelControllerIndex.Name = "labelControllerIndex";
|
|
this.labelControllerIndex.Size = new System.Drawing.Size(65, 24);
|
|
this.labelControllerIndex.TabIndex = 1;
|
|
this.labelControllerIndex.Text = "编码:";
|
|
//
|
|
// textBoxControllerIndex
|
|
//
|
|
this.textBoxControllerIndex.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.textBoxControllerIndex.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.textBoxControllerIndex.Location = new System.Drawing.Point(110, 45);
|
|
this.textBoxControllerIndex.Name = "textBoxControllerIndex";
|
|
this.textBoxControllerIndex.Size = new System.Drawing.Size(320, 30);
|
|
this.textBoxControllerIndex.TabIndex = 0;
|
|
//
|
|
// labelIp
|
|
//
|
|
this.labelIp.AutoSize = true;
|
|
this.labelIp.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.labelIp.Location = new System.Drawing.Point(18, 88);
|
|
this.labelIp.Name = "labelIp";
|
|
this.labelIp.Size = new System.Drawing.Size(85, 24);
|
|
this.labelIp.TabIndex = 3;
|
|
this.labelIp.Text = "IP地址:";
|
|
//
|
|
// textBoxIp
|
|
//
|
|
this.textBoxIp.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.textBoxIp.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.textBoxIp.Location = new System.Drawing.Point(110, 85);
|
|
this.textBoxIp.Name = "textBoxIp";
|
|
this.textBoxIp.Size = new System.Drawing.Size(320, 30);
|
|
this.textBoxIp.TabIndex = 2;
|
|
this.textBoxIp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
//
|
|
// labelPort
|
|
//
|
|
this.labelPort.AutoSize = true;
|
|
this.labelPort.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.labelPort.Location = new System.Drawing.Point(28, 128);
|
|
this.labelPort.Name = "labelPort";
|
|
this.labelPort.Size = new System.Drawing.Size(65, 24);
|
|
this.labelPort.TabIndex = 5;
|
|
this.labelPort.Text = "端口:";
|
|
//
|
|
// textBoxPort
|
|
//
|
|
this.textBoxPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.textBoxPort.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.textBoxPort.Location = new System.Drawing.Point(110, 125);
|
|
this.textBoxPort.Name = "textBoxPort";
|
|
this.textBoxPort.Size = new System.Drawing.Size(320, 30);
|
|
this.textBoxPort.TabIndex = 4;
|
|
//
|
|
// doorListView
|
|
//
|
|
this.doorListView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)));
|
|
this.doorListView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.doorListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this.columnHeaderDoorIndex,
|
|
this.columnHeaderControlAddress,
|
|
this.columnHeaderOpenStatusAddress});
|
|
this.doorListView.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.doorListView.FullRowSelect = true;
|
|
this.doorListView.GridLines = true;
|
|
this.doorListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
|
this.doorListView.HideSelection = false;
|
|
this.doorListView.Location = new System.Drawing.Point(483, 55);
|
|
this.doorListView.MultiSelect = false;
|
|
this.doorListView.Name = "doorListView";
|
|
this.doorListView.OwnerDraw = true;
|
|
this.doorListView.Size = new System.Drawing.Size(500, 290);
|
|
this.doorListView.TabIndex = 2;
|
|
this.doorListView.UseCompatibleStateImageBehavior = false;
|
|
this.doorListView.View = System.Windows.Forms.View.Details;
|
|
this.doorListView.SelectedIndexChanged += new System.EventHandler(this.doorListView_SelectedIndexChanged);
|
|
//
|
|
// columnHeaderDoorIndex
|
|
//
|
|
this.columnHeaderDoorIndex.Text = "编码";
|
|
this.columnHeaderDoorIndex.Width = 100;
|
|
//
|
|
// columnHeaderControlAddress
|
|
//
|
|
this.columnHeaderControlAddress.Text = "控制地址";
|
|
this.columnHeaderControlAddress.Width = 180;
|
|
//
|
|
// columnHeaderOpenStatusAddress
|
|
//
|
|
this.columnHeaderOpenStatusAddress.Text = "开到位地址";
|
|
this.columnHeaderOpenStatusAddress.Width = 180;
|
|
//
|
|
// groupBoxDoor
|
|
//
|
|
this.groupBoxDoor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.checkBoxNoControl = new System.Windows.Forms.CheckBox();
|
|
this.groupBoxDoor.Controls.Add(this.checkBoxNoControl);
|
|
this.groupBoxDoor.Controls.Add(this.btnSaveDoor);
|
|
this.groupBoxDoor.Controls.Add(this.btnDeleteDoor);
|
|
this.groupBoxDoor.Controls.Add(this.btnAddDoor);
|
|
this.groupBoxDoor.Controls.Add(this.labelOpenStatusAddress);
|
|
this.groupBoxDoor.Controls.Add(this.textBoxOpenStatusAddress);
|
|
this.groupBoxDoor.Controls.Add(this.labelControlAddress);
|
|
this.groupBoxDoor.Controls.Add(this.textBoxControlAddress);
|
|
this.groupBoxDoor.Controls.Add(this.labelDoorIndex);
|
|
this.groupBoxDoor.Controls.Add(this.textBoxDoorIndex);
|
|
this.groupBoxDoor.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.groupBoxDoor.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
|
|
this.groupBoxDoor.Location = new System.Drawing.Point(483, 360);
|
|
this.groupBoxDoor.Name = "groupBoxDoor";
|
|
this.groupBoxDoor.Padding = new System.Windows.Forms.Padding(12, 10, 12, 12);
|
|
this.groupBoxDoor.Size = new System.Drawing.Size(500, 250);
|
|
this.groupBoxDoor.TabIndex = 3;
|
|
this.groupBoxDoor.TabStop = false;
|
|
this.groupBoxDoor.Text = "门信息";
|
|
//
|
|
// btnSaveDoor
|
|
//
|
|
this.btnSaveDoor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(122)))), ((int)(((byte)(204)))));
|
|
this.btnSaveDoor.FlatAppearance.BorderSize = 0;
|
|
this.btnSaveDoor.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(92)))), ((int)(((byte)(153)))));
|
|
this.btnSaveDoor.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(102)))), ((int)(((byte)(170)))));
|
|
this.btnSaveDoor.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnSaveDoor.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnSaveDoor.ForeColor = System.Drawing.Color.White;
|
|
this.btnSaveDoor.Location = new System.Drawing.Point(380, 200);
|
|
this.btnSaveDoor.Name = "btnSaveDoor";
|
|
this.btnSaveDoor.Size = new System.Drawing.Size(100, 38);
|
|
this.btnSaveDoor.TabIndex = 7;
|
|
this.btnSaveDoor.Text = "保存";
|
|
this.btnSaveDoor.UseVisualStyleBackColor = false;
|
|
this.btnSaveDoor.Click += new System.EventHandler(this.btnSaveDoor_Click);
|
|
//
|
|
// btnDeleteDoor
|
|
//
|
|
this.btnDeleteDoor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(53)))), ((int)(((byte)(69)))));
|
|
this.btnDeleteDoor.FlatAppearance.BorderSize = 0;
|
|
this.btnDeleteDoor.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(40)))), ((int)(((byte)(52)))));
|
|
this.btnDeleteDoor.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(45)))), ((int)(((byte)(59)))));
|
|
this.btnDeleteDoor.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnDeleteDoor.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnDeleteDoor.ForeColor = System.Drawing.Color.White;
|
|
this.btnDeleteDoor.Location = new System.Drawing.Point(270, 200);
|
|
this.btnDeleteDoor.Name = "btnDeleteDoor";
|
|
this.btnDeleteDoor.Size = new System.Drawing.Size(100, 38);
|
|
this.btnDeleteDoor.TabIndex = 6;
|
|
this.btnDeleteDoor.Text = "删除";
|
|
this.btnDeleteDoor.UseVisualStyleBackColor = false;
|
|
this.btnDeleteDoor.Click += new System.EventHandler(this.btnDeleteDoor_Click);
|
|
//
|
|
// btnAddDoor
|
|
//
|
|
this.btnAddDoor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(167)))), ((int)(((byte)(69)))));
|
|
this.btnAddDoor.FlatAppearance.BorderSize = 0;
|
|
this.btnAddDoor.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(125)))), ((int)(((byte)(52)))));
|
|
this.btnAddDoor.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(136)))), ((int)(((byte)(56)))));
|
|
this.btnAddDoor.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnAddDoor.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.btnAddDoor.ForeColor = System.Drawing.Color.White;
|
|
this.btnAddDoor.Location = new System.Drawing.Point(160, 200);
|
|
this.btnAddDoor.Name = "btnAddDoor";
|
|
this.btnAddDoor.Size = new System.Drawing.Size(100, 38);
|
|
this.btnAddDoor.TabIndex = 5;
|
|
this.btnAddDoor.Text = "添加";
|
|
this.btnAddDoor.UseVisualStyleBackColor = false;
|
|
this.btnAddDoor.Click += new System.EventHandler(this.btnAddDoor_Click);
|
|
//
|
|
// labelOpenStatusAddress
|
|
//
|
|
this.labelOpenStatusAddress.AutoSize = true;
|
|
this.labelOpenStatusAddress.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.labelOpenStatusAddress.Location = new System.Drawing.Point(18, 128);
|
|
this.labelOpenStatusAddress.Name = "labelOpenStatusAddress";
|
|
this.labelOpenStatusAddress.Size = new System.Drawing.Size(103, 24);
|
|
this.labelOpenStatusAddress.TabIndex = 4;
|
|
this.labelOpenStatusAddress.Text = "开到位地址:";
|
|
//
|
|
// textBoxOpenStatusAddress
|
|
//
|
|
this.textBoxOpenStatusAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.textBoxOpenStatusAddress.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.textBoxOpenStatusAddress.Location = new System.Drawing.Point(150, 125);
|
|
this.textBoxOpenStatusAddress.Name = "textBoxOpenStatusAddress";
|
|
this.textBoxOpenStatusAddress.Size = new System.Drawing.Size(330, 30);
|
|
this.textBoxOpenStatusAddress.TabIndex = 3;
|
|
//
|
|
// checkBoxNoControl
|
|
//
|
|
this.checkBoxNoControl.AutoSize = true;
|
|
this.checkBoxNoControl.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.checkBoxNoControl.Location = new System.Drawing.Point(150, 165);
|
|
this.checkBoxNoControl.Name = "checkBoxNoControl";
|
|
this.checkBoxNoControl.Size = new System.Drawing.Size(162, 28);
|
|
this.checkBoxNoControl.TabIndex = 4;
|
|
this.checkBoxNoControl.Text = "禁止门控发送指令";
|
|
this.checkBoxNoControl.UseVisualStyleBackColor = true;
|
|
//
|
|
// labelControlAddress
|
|
//
|
|
this.labelControlAddress.AutoSize = true;
|
|
this.labelControlAddress.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.labelControlAddress.Location = new System.Drawing.Point(18, 88);
|
|
this.labelControlAddress.Name = "labelControlAddress";
|
|
this.labelControlAddress.Size = new System.Drawing.Size(103, 24);
|
|
this.labelControlAddress.TabIndex = 2;
|
|
this.labelControlAddress.Text = "控制地址:";
|
|
//
|
|
// textBoxControlAddress
|
|
//
|
|
this.textBoxControlAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.textBoxControlAddress.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.textBoxControlAddress.Location = new System.Drawing.Point(150, 85);
|
|
this.textBoxControlAddress.Name = "textBoxControlAddress";
|
|
this.textBoxControlAddress.Size = new System.Drawing.Size(330, 30);
|
|
this.textBoxControlAddress.TabIndex = 1;
|
|
//
|
|
// labelDoorIndex
|
|
//
|
|
this.labelDoorIndex.AutoSize = true;
|
|
this.labelDoorIndex.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.labelDoorIndex.Location = new System.Drawing.Point(28, 48);
|
|
this.labelDoorIndex.Name = "labelDoorIndex";
|
|
this.labelDoorIndex.Size = new System.Drawing.Size(65, 24);
|
|
this.labelDoorIndex.TabIndex = 0;
|
|
this.labelDoorIndex.Text = "编码:";
|
|
//
|
|
// textBoxDoorIndex
|
|
//
|
|
this.textBoxDoorIndex.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.textBoxDoorIndex.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.textBoxDoorIndex.Location = new System.Drawing.Point(150, 45);
|
|
this.textBoxDoorIndex.Name = "textBoxDoorIndex";
|
|
this.textBoxDoorIndex.Size = new System.Drawing.Size(330, 30);
|
|
this.textBoxDoorIndex.TabIndex = 0;
|
|
//
|
|
// labelTitle
|
|
//
|
|
this.labelTitle.AutoSize = true;
|
|
this.labelTitle.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.labelTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
|
|
this.labelTitle.Location = new System.Drawing.Point(15, 12);
|
|
this.labelTitle.Name = "labelTitle";
|
|
this.labelTitle.Size = new System.Drawing.Size(150, 42);
|
|
this.labelTitle.TabIndex = 4;
|
|
this.labelTitle.Text = "门控制器管理";
|
|
//
|
|
// DoorManager
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(247)))));
|
|
this.ClientSize = new System.Drawing.Size(1000, 620);
|
|
this.Controls.Add(this.labelTitle);
|
|
this.Controls.Add(this.groupBoxDoor);
|
|
this.Controls.Add(this.doorListView);
|
|
this.Controls.Add(this.groupBoxController);
|
|
this.Controls.Add(this.doorControllerListView);
|
|
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.MinimumSize = new System.Drawing.Size(1000, 620);
|
|
this.Name = "DoorManager";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "门控制器管理";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.DoorManager_FormClosing);
|
|
this.Load += new System.EventHandler(this.DoorManager_Load);
|
|
this.groupBoxController.ResumeLayout(false);
|
|
this.groupBoxController.PerformLayout();
|
|
this.groupBoxDoor.ResumeLayout(false);
|
|
this.groupBoxDoor.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ListView doorControllerListView;
|
|
private System.Windows.Forms.ColumnHeader columnHeaderControllerIndex;
|
|
private System.Windows.Forms.ColumnHeader columnHeaderIp;
|
|
private System.Windows.Forms.ColumnHeader columnHeaderPort;
|
|
private System.Windows.Forms.ColumnHeader columnHeaderType;
|
|
private System.Windows.Forms.GroupBox groupBoxController;
|
|
private System.Windows.Forms.TextBox textBoxIp;
|
|
private System.Windows.Forms.Label labelIp;
|
|
private System.Windows.Forms.Label labelPort;
|
|
private System.Windows.Forms.TextBox textBoxPort;
|
|
private System.Windows.Forms.Label labelControllerIndex;
|
|
private System.Windows.Forms.TextBox textBoxControllerIndex;
|
|
private System.Windows.Forms.Label labelType;
|
|
private System.Windows.Forms.ComboBox comboBoxType;
|
|
private System.Windows.Forms.Button btnAddController;
|
|
private System.Windows.Forms.Button btnDeleteController;
|
|
private System.Windows.Forms.Button btnSaveController;
|
|
private System.Windows.Forms.ListView doorListView;
|
|
private System.Windows.Forms.ColumnHeader columnHeaderDoorIndex;
|
|
private System.Windows.Forms.ColumnHeader columnHeaderControlAddress;
|
|
private System.Windows.Forms.ColumnHeader columnHeaderOpenStatusAddress;
|
|
private System.Windows.Forms.GroupBox groupBoxDoor;
|
|
private System.Windows.Forms.Label labelDoorIndex;
|
|
private System.Windows.Forms.TextBox textBoxDoorIndex;
|
|
private System.Windows.Forms.Label labelControlAddress;
|
|
private System.Windows.Forms.TextBox textBoxControlAddress;
|
|
private System.Windows.Forms.Label labelOpenStatusAddress;
|
|
private System.Windows.Forms.TextBox textBoxOpenStatusAddress;
|
|
private System.Windows.Forms.Button btnAddDoor;
|
|
private System.Windows.Forms.Button btnDeleteDoor;
|
|
private System.Windows.Forms.Button btnSaveDoor;
|
|
private System.Windows.Forms.Label labelTitle;
|
|
private System.Windows.Forms.CheckBox checkBoxNoControl;
|
|
}
|
|
}
|