643 lines
33 KiB
C#
643 lines
33 KiB
C#
namespace LargeSquareOne
|
|
{
|
|
partial class FrmVariableConfig
|
|
{
|
|
/// <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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.panelExt1 = new JinYuan.ControlLib.PanelExt();
|
|
this.txt_Start = new System.Windows.Forms.TextBox();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.txt_VarAddress = new System.Windows.Forms.TextBox();
|
|
this.num_Offset = new System.Windows.Forms.NumericUpDown();
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
this.num_Scale = new System.Windows.Forms.NumericUpDown();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.chk_NegAlarm = new JinYuan.ControlLib.CheckBoxExt();
|
|
this.chk_PosAlarm = new JinYuan.ControlLib.CheckBoxExt();
|
|
this.cmb_DataType = new System.Windows.Forms.ComboBox();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.dgv_Main = new System.Windows.Forms.DataGridView();
|
|
this.VarName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Start = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.OffsetOrLenght = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.DataType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Scale = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Offset = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.PosAlarm = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.NegAlarm = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.GroupName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.btn_Modify = new System.Windows.Forms.Button();
|
|
this.btn_Delete = new System.Windows.Forms.Button();
|
|
this.btn_Add = new System.Windows.Forms.Button();
|
|
this.txt_Remark = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.cmb_GroupName = new System.Windows.Forms.ComboBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.num_OffsetOrLenght = new System.Windows.Forms.NumericUpDown();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.txt_VarName = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.topPanel = new System.Windows.Forms.Panel();
|
|
this.btn_Close = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.panelExt1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.num_Offset)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.num_Scale)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgv_Main)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.num_OffsetOrLenght)).BeginInit();
|
|
this.topPanel.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// panelExt1
|
|
//
|
|
this.panelExt1.BackColor = System.Drawing.Color.Transparent;
|
|
this.panelExt1.BordeColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(79)))), ((int)(((byte)(150)))));
|
|
this.panelExt1.BordeWidth = 2;
|
|
this.panelExt1.BottomGap = 0;
|
|
this.panelExt1.Controls.Add(this.txt_Start);
|
|
this.panelExt1.Controls.Add(this.label10);
|
|
this.panelExt1.Controls.Add(this.txt_VarAddress);
|
|
this.panelExt1.Controls.Add(this.num_Offset);
|
|
this.panelExt1.Controls.Add(this.label9);
|
|
this.panelExt1.Controls.Add(this.num_Scale);
|
|
this.panelExt1.Controls.Add(this.label8);
|
|
this.panelExt1.Controls.Add(this.chk_NegAlarm);
|
|
this.panelExt1.Controls.Add(this.chk_PosAlarm);
|
|
this.panelExt1.Controls.Add(this.cmb_DataType);
|
|
this.panelExt1.Controls.Add(this.label7);
|
|
this.panelExt1.Controls.Add(this.dgv_Main);
|
|
this.panelExt1.Controls.Add(this.btn_Modify);
|
|
this.panelExt1.Controls.Add(this.btn_Delete);
|
|
this.panelExt1.Controls.Add(this.btn_Add);
|
|
this.panelExt1.Controls.Add(this.txt_Remark);
|
|
this.panelExt1.Controls.Add(this.label6);
|
|
this.panelExt1.Controls.Add(this.cmb_GroupName);
|
|
this.panelExt1.Controls.Add(this.label5);
|
|
this.panelExt1.Controls.Add(this.num_OffsetOrLenght);
|
|
this.panelExt1.Controls.Add(this.label4);
|
|
this.panelExt1.Controls.Add(this.label3);
|
|
this.panelExt1.Controls.Add(this.txt_VarName);
|
|
this.panelExt1.Controls.Add(this.label2);
|
|
this.panelExt1.Controls.Add(this.topPanel);
|
|
this.panelExt1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.panelExt1.LeftGap = 0;
|
|
this.panelExt1.Location = new System.Drawing.Point(0, 0);
|
|
this.panelExt1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.panelExt1.Name = "panelExt1";
|
|
this.panelExt1.RightGap = 0;
|
|
this.panelExt1.Size = new System.Drawing.Size(1024, 636);
|
|
this.panelExt1.TabIndex = 0;
|
|
this.panelExt1.TopGap = 0;
|
|
//
|
|
// txt_Start
|
|
//
|
|
this.txt_Start.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
this.txt_Start.Location = new System.Drawing.Point(721, 57);
|
|
this.txt_Start.Name = "txt_Start";
|
|
this.txt_Start.Size = new System.Drawing.Size(87, 29);
|
|
this.txt_Start.TabIndex = 27;
|
|
this.txt_Start.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
//
|
|
// label10
|
|
//
|
|
this.label10.AutoSize = true;
|
|
this.label10.ForeColor = System.Drawing.Color.White;
|
|
this.label10.Location = new System.Drawing.Point(458, 60);
|
|
this.label10.Name = "label10";
|
|
this.label10.Size = new System.Drawing.Size(74, 21);
|
|
this.label10.TabIndex = 26;
|
|
this.label10.Text = "变量地址";
|
|
//
|
|
// txt_VarAddress
|
|
//
|
|
this.txt_VarAddress.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
this.txt_VarAddress.Location = new System.Drawing.Point(533, 57);
|
|
this.txt_VarAddress.Name = "txt_VarAddress";
|
|
this.txt_VarAddress.Size = new System.Drawing.Size(94, 29);
|
|
this.txt_VarAddress.TabIndex = 25;
|
|
this.txt_VarAddress.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
//
|
|
// num_Offset
|
|
//
|
|
this.num_Offset.DecimalPlaces = 1;
|
|
this.num_Offset.Location = new System.Drawing.Point(903, 102);
|
|
this.num_Offset.Name = "num_Offset";
|
|
this.num_Offset.Size = new System.Drawing.Size(92, 29);
|
|
this.num_Offset.TabIndex = 23;
|
|
this.num_Offset.Value = new decimal(new int[] {
|
|
10,
|
|
0,
|
|
0,
|
|
65536});
|
|
//
|
|
// label9
|
|
//
|
|
this.label9.AutoSize = true;
|
|
this.label9.ForeColor = System.Drawing.Color.White;
|
|
this.label9.Location = new System.Drawing.Point(840, 107);
|
|
this.label9.Name = "label9";
|
|
this.label9.Size = new System.Drawing.Size(58, 21);
|
|
this.label9.TabIndex = 22;
|
|
this.label9.Text = "偏移量";
|
|
//
|
|
// num_Scale
|
|
//
|
|
this.num_Scale.DecimalPlaces = 1;
|
|
this.num_Scale.Location = new System.Drawing.Point(722, 108);
|
|
this.num_Scale.Name = "num_Scale";
|
|
this.num_Scale.Size = new System.Drawing.Size(86, 29);
|
|
this.num_Scale.TabIndex = 21;
|
|
this.num_Scale.Value = new decimal(new int[] {
|
|
10,
|
|
0,
|
|
0,
|
|
65536});
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.ForeColor = System.Drawing.Color.White;
|
|
this.label8.Location = new System.Drawing.Point(642, 113);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(74, 21);
|
|
this.label8.TabIndex = 20;
|
|
this.label8.Text = "线性系数";
|
|
//
|
|
// chk_NegAlarm
|
|
//
|
|
this.chk_NegAlarm.CheckBackColor = System.Drawing.Color.White;
|
|
this.chk_NegAlarm.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(3)))), ((int)(((byte)(25)))), ((int)(((byte)(66)))));
|
|
this.chk_NegAlarm.DefultCheckButtonWidth = 20;
|
|
this.chk_NegAlarm.ForeColor = System.Drawing.Color.White;
|
|
this.chk_NegAlarm.Location = new System.Drawing.Point(367, 110);
|
|
this.chk_NegAlarm.Name = "chk_NegAlarm";
|
|
this.chk_NegAlarm.Size = new System.Drawing.Size(120, 25);
|
|
this.chk_NegAlarm.TabIndex = 19;
|
|
this.chk_NegAlarm.Text = "下降沿报警";
|
|
this.chk_NegAlarm.UseVisualStyleBackColor = true;
|
|
//
|
|
// chk_PosAlarm
|
|
//
|
|
this.chk_PosAlarm.CheckBackColor = System.Drawing.Color.White;
|
|
this.chk_PosAlarm.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(3)))), ((int)(((byte)(25)))), ((int)(((byte)(66)))));
|
|
this.chk_PosAlarm.DefultCheckButtonWidth = 20;
|
|
this.chk_PosAlarm.ForeColor = System.Drawing.Color.White;
|
|
this.chk_PosAlarm.Location = new System.Drawing.Point(241, 110);
|
|
this.chk_PosAlarm.Name = "chk_PosAlarm";
|
|
this.chk_PosAlarm.Size = new System.Drawing.Size(120, 25);
|
|
this.chk_PosAlarm.TabIndex = 18;
|
|
this.chk_PosAlarm.Text = "上升沿报警";
|
|
this.chk_PosAlarm.UseVisualStyleBackColor = true;
|
|
//
|
|
// cmb_DataType
|
|
//
|
|
this.cmb_DataType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmb_DataType.FormattingEnabled = true;
|
|
this.cmb_DataType.Location = new System.Drawing.Point(105, 107);
|
|
this.cmb_DataType.Name = "cmb_DataType";
|
|
this.cmb_DataType.Size = new System.Drawing.Size(125, 29);
|
|
this.cmb_DataType.TabIndex = 17;
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.ForeColor = System.Drawing.Color.White;
|
|
this.label7.Location = new System.Drawing.Point(8, 113);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(74, 21);
|
|
this.label7.TabIndex = 16;
|
|
this.label7.Text = "数据类型";
|
|
//
|
|
// dgv_Main
|
|
//
|
|
this.dgv_Main.AllowUserToAddRows = false;
|
|
this.dgv_Main.AllowUserToDeleteRows = false;
|
|
this.dgv_Main.AllowUserToResizeRows = false;
|
|
this.dgv_Main.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(23)))), ((int)(((byte)(38)))));
|
|
this.dgv_Main.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
this.dgv_Main.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(23)))), ((int)(((byte)(38)))));
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White;
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(23)))), ((int)(((byte)(38)))));
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dgv_Main.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
this.dgv_Main.ColumnHeadersHeight = 45;
|
|
this.dgv_Main.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
this.dgv_Main.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.VarName,
|
|
this.Column1,
|
|
this.Start,
|
|
this.OffsetOrLenght,
|
|
this.DataType,
|
|
this.Scale,
|
|
this.Offset,
|
|
this.PosAlarm,
|
|
this.NegAlarm,
|
|
this.GroupName,
|
|
this.Remark});
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(6)))), ((int)(((byte)(40)))), ((int)(((byte)(86)))));
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(6)))), ((int)(((byte)(40)))), ((int)(((byte)(86)))));
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dgv_Main.DefaultCellStyle = dataGridViewCellStyle2;
|
|
this.dgv_Main.EnableHeadersVisualStyles = false;
|
|
this.dgv_Main.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(77)))), ((int)(((byte)(147)))));
|
|
this.dgv_Main.Location = new System.Drawing.Point(3, 217);
|
|
this.dgv_Main.Name = "dgv_Main";
|
|
this.dgv_Main.ReadOnly = true;
|
|
this.dgv_Main.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(6)))), ((int)(((byte)(40)))), ((int)(((byte)(86)))));
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.White;
|
|
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(6)))), ((int)(((byte)(40)))), ((int)(((byte)(86)))));
|
|
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.White;
|
|
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dgv_Main.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
|
this.dgv_Main.RowHeadersWidth = 45;
|
|
this.dgv_Main.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
this.dgv_Main.RowTemplate.Height = 40;
|
|
this.dgv_Main.RowTemplate.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dgv_Main.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgv_Main.Size = new System.Drawing.Size(1018, 416);
|
|
this.dgv_Main.TabIndex = 15;
|
|
this.dgv_Main.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_Main_CellClick);
|
|
this.dgv_Main.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dgv_Main_CellFormatting);
|
|
this.dgv_Main.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgv_Main_RowPostPaint);
|
|
//
|
|
// VarName
|
|
//
|
|
this.VarName.DataPropertyName = "VarName";
|
|
this.VarName.HeaderText = "变量名称";
|
|
this.VarName.Name = "VarName";
|
|
this.VarName.ReadOnly = true;
|
|
this.VarName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
this.VarName.Width = 130;
|
|
//
|
|
// Column1
|
|
//
|
|
this.Column1.DataPropertyName = "VarAddress";
|
|
this.Column1.HeaderText = "变量地址";
|
|
this.Column1.Name = "Column1";
|
|
this.Column1.ReadOnly = true;
|
|
//
|
|
// Start
|
|
//
|
|
this.Start.DataPropertyName = "Start";
|
|
this.Start.HeaderText = "起始索引";
|
|
this.Start.Name = "Start";
|
|
this.Start.ReadOnly = true;
|
|
this.Start.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
this.Start.Width = 80;
|
|
//
|
|
// OffsetOrLenght
|
|
//
|
|
this.OffsetOrLenght.DataPropertyName = "OffsetOrLenght";
|
|
this.OffsetOrLenght.HeaderText = "位偏移/长度";
|
|
this.OffsetOrLenght.Name = "OffsetOrLenght";
|
|
this.OffsetOrLenght.ReadOnly = true;
|
|
this.OffsetOrLenght.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
this.OffsetOrLenght.Width = 110;
|
|
//
|
|
// DataType
|
|
//
|
|
this.DataType.DataPropertyName = "DataType";
|
|
this.DataType.HeaderText = "数据类型";
|
|
this.DataType.Name = "DataType";
|
|
this.DataType.ReadOnly = true;
|
|
this.DataType.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
this.DataType.Width = 80;
|
|
//
|
|
// Scale
|
|
//
|
|
this.Scale.DataPropertyName = "Scale";
|
|
this.Scale.HeaderText = "线性系数";
|
|
this.Scale.Name = "Scale";
|
|
this.Scale.ReadOnly = true;
|
|
this.Scale.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
this.Scale.Width = 80;
|
|
//
|
|
// Offset
|
|
//
|
|
this.Offset.DataPropertyName = "Offset";
|
|
this.Offset.HeaderText = "偏移量";
|
|
this.Offset.Name = "Offset";
|
|
this.Offset.ReadOnly = true;
|
|
this.Offset.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
this.Offset.Width = 80;
|
|
//
|
|
// PosAlarm
|
|
//
|
|
this.PosAlarm.DataPropertyName = "PosAlarm";
|
|
this.PosAlarm.HeaderText = "上升沿";
|
|
this.PosAlarm.Name = "PosAlarm";
|
|
this.PosAlarm.ReadOnly = true;
|
|
this.PosAlarm.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
this.PosAlarm.Width = 80;
|
|
//
|
|
// NegAlarm
|
|
//
|
|
this.NegAlarm.DataPropertyName = "NegAlarm";
|
|
this.NegAlarm.HeaderText = "下降沿";
|
|
this.NegAlarm.Name = "NegAlarm";
|
|
this.NegAlarm.ReadOnly = true;
|
|
this.NegAlarm.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
this.NegAlarm.Width = 80;
|
|
//
|
|
// GroupName
|
|
//
|
|
this.GroupName.DataPropertyName = "GroupName";
|
|
this.GroupName.HeaderText = "通信组";
|
|
this.GroupName.Name = "GroupName";
|
|
this.GroupName.ReadOnly = true;
|
|
this.GroupName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
//
|
|
// Remark
|
|
//
|
|
this.Remark.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.Remark.DataPropertyName = "Remark";
|
|
this.Remark.HeaderText = "备注说明";
|
|
this.Remark.Name = "Remark";
|
|
this.Remark.ReadOnly = true;
|
|
this.Remark.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
//
|
|
// btn_Modify
|
|
//
|
|
this.btn_Modify.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(3)))), ((int)(((byte)(27)))), ((int)(((byte)(78)))));
|
|
this.btn_Modify.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btn_Modify.Font = new System.Drawing.Font("微软雅黑", 11.5F);
|
|
this.btn_Modify.ForeColor = System.Drawing.Color.White;
|
|
this.btn_Modify.Location = new System.Drawing.Point(829, 154);
|
|
this.btn_Modify.Name = "btn_Modify";
|
|
this.btn_Modify.Size = new System.Drawing.Size(86, 36);
|
|
this.btn_Modify.TabIndex = 14;
|
|
this.btn_Modify.Text = "修改变量";
|
|
this.btn_Modify.UseVisualStyleBackColor = false;
|
|
this.btn_Modify.Click += new System.EventHandler(this.btn_Modify_Click);
|
|
//
|
|
// btn_Delete
|
|
//
|
|
this.btn_Delete.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(3)))), ((int)(((byte)(27)))), ((int)(((byte)(78)))));
|
|
this.btn_Delete.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btn_Delete.Font = new System.Drawing.Font("微软雅黑", 11.5F);
|
|
this.btn_Delete.ForeColor = System.Drawing.Color.White;
|
|
this.btn_Delete.Location = new System.Drawing.Point(693, 154);
|
|
this.btn_Delete.Name = "btn_Delete";
|
|
this.btn_Delete.Size = new System.Drawing.Size(86, 36);
|
|
this.btn_Delete.TabIndex = 13;
|
|
this.btn_Delete.Text = "删除变量";
|
|
this.btn_Delete.UseVisualStyleBackColor = false;
|
|
this.btn_Delete.Click += new System.EventHandler(this.btn_Delete_Click);
|
|
//
|
|
// btn_Add
|
|
//
|
|
this.btn_Add.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(3)))), ((int)(((byte)(27)))), ((int)(((byte)(78)))));
|
|
this.btn_Add.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btn_Add.Font = new System.Drawing.Font("微软雅黑", 11.5F);
|
|
this.btn_Add.ForeColor = System.Drawing.Color.White;
|
|
this.btn_Add.Location = new System.Drawing.Point(557, 154);
|
|
this.btn_Add.Name = "btn_Add";
|
|
this.btn_Add.Size = new System.Drawing.Size(86, 36);
|
|
this.btn_Add.TabIndex = 12;
|
|
this.btn_Add.Text = "新增变量";
|
|
this.btn_Add.UseVisualStyleBackColor = false;
|
|
this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click);
|
|
//
|
|
// txt_Remark
|
|
//
|
|
this.txt_Remark.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
this.txt_Remark.Location = new System.Drawing.Point(105, 158);
|
|
this.txt_Remark.Name = "txt_Remark";
|
|
this.txt_Remark.Size = new System.Drawing.Size(405, 29);
|
|
this.txt_Remark.TabIndex = 11;
|
|
this.txt_Remark.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.ForeColor = System.Drawing.Color.White;
|
|
this.label6.Location = new System.Drawing.Point(8, 163);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(74, 21);
|
|
this.label6.TabIndex = 10;
|
|
this.label6.Text = "备注说明";
|
|
//
|
|
// cmb_GroupName
|
|
//
|
|
this.cmb_GroupName.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmb_GroupName.FormattingEnabled = true;
|
|
this.cmb_GroupName.Location = new System.Drawing.Point(105, 55);
|
|
this.cmb_GroupName.Name = "cmb_GroupName";
|
|
this.cmb_GroupName.Size = new System.Drawing.Size(125, 29);
|
|
this.cmb_GroupName.TabIndex = 9;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.ForeColor = System.Drawing.Color.White;
|
|
this.label5.Location = new System.Drawing.Point(240, 59);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(74, 21);
|
|
this.label5.TabIndex = 8;
|
|
this.label5.Text = "变量名称";
|
|
//
|
|
// num_OffsetOrLenght
|
|
//
|
|
this.num_OffsetOrLenght.Location = new System.Drawing.Point(931, 55);
|
|
this.num_OffsetOrLenght.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.num_OffsetOrLenght.Name = "num_OffsetOrLenght";
|
|
this.num_OffsetOrLenght.Size = new System.Drawing.Size(64, 29);
|
|
this.num_OffsetOrLenght.TabIndex = 7;
|
|
this.num_OffsetOrLenght.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.ForeColor = System.Drawing.Color.White;
|
|
this.label4.Location = new System.Drawing.Point(828, 60);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(97, 21);
|
|
this.label4.TabIndex = 6;
|
|
this.label4.Text = "位偏移/长度";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.ForeColor = System.Drawing.Color.White;
|
|
this.label3.Location = new System.Drawing.Point(642, 61);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(74, 21);
|
|
this.label3.TabIndex = 4;
|
|
this.label3.Text = "起始索引";
|
|
//
|
|
// txt_VarName
|
|
//
|
|
this.txt_VarName.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
this.txt_VarName.Location = new System.Drawing.Point(320, 56);
|
|
this.txt_VarName.Name = "txt_VarName";
|
|
this.txt_VarName.Size = new System.Drawing.Size(134, 29);
|
|
this.txt_VarName.TabIndex = 3;
|
|
this.txt_VarName.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.ForeColor = System.Drawing.Color.White;
|
|
this.label2.Location = new System.Drawing.Point(8, 60);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(90, 21);
|
|
this.label2.TabIndex = 2;
|
|
this.label2.Text = "通信组名称";
|
|
//
|
|
// topPanel
|
|
//
|
|
this.topPanel.Controls.Add(this.btn_Close);
|
|
this.topPanel.Controls.Add(this.label1);
|
|
this.topPanel.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.topPanel.Location = new System.Drawing.Point(0, 0);
|
|
this.topPanel.Name = "topPanel";
|
|
this.topPanel.Size = new System.Drawing.Size(1024, 49);
|
|
this.topPanel.TabIndex = 0;
|
|
this.topPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Panel_MouseDown);
|
|
this.topPanel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Panel_MouseMove);
|
|
//
|
|
// btn_Close
|
|
//
|
|
this.btn_Close.FlatAppearance.BorderSize = 0;
|
|
this.btn_Close.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(3)))), ((int)(((byte)(29)))), ((int)(((byte)(84)))));
|
|
this.btn_Close.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
|
|
this.btn_Close.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btn_Close.Font = new System.Drawing.Font("微软雅黑", 15.5F);
|
|
this.btn_Close.ForeColor = System.Drawing.Color.White;
|
|
this.btn_Close.Location = new System.Drawing.Point(989, 7);
|
|
this.btn_Close.Name = "btn_Close";
|
|
this.btn_Close.Size = new System.Drawing.Size(32, 32);
|
|
this.btn_Close.TabIndex = 1;
|
|
this.btn_Close.Text = "X";
|
|
this.btn_Close.UseVisualStyleBackColor = true;
|
|
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.ForeColor = System.Drawing.Color.White;
|
|
this.label1.Location = new System.Drawing.Point(15, 14);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(74, 21);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "变量配置";
|
|
//
|
|
// FrmVariableConfig
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(23)))), ((int)(((byte)(38)))));
|
|
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
|
this.ClientSize = new System.Drawing.Size(1024, 636);
|
|
this.Controls.Add(this.panelExt1);
|
|
this.DoubleBuffered = true;
|
|
this.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.Name = "FrmVariableConfig";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "FrmGroupConfig";
|
|
this.panelExt1.ResumeLayout(false);
|
|
this.panelExt1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.num_Offset)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.num_Scale)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgv_Main)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.num_OffsetOrLenght)).EndInit();
|
|
this.topPanel.ResumeLayout(false);
|
|
this.topPanel.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private JinYuan.ControlLib.PanelExt panelExt1;
|
|
private System.Windows.Forms.Panel topPanel;
|
|
private System.Windows.Forms.Button btn_Close;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox txt_Remark;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.ComboBox cmb_GroupName;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.NumericUpDown num_OffsetOrLenght;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.TextBox txt_VarName;
|
|
private System.Windows.Forms.DataGridView dgv_Main;
|
|
private System.Windows.Forms.Button btn_Modify;
|
|
private System.Windows.Forms.Button btn_Delete;
|
|
private System.Windows.Forms.Button btn_Add;
|
|
private System.Windows.Forms.NumericUpDown num_Offset;
|
|
private System.Windows.Forms.Label label9;
|
|
private System.Windows.Forms.NumericUpDown num_Scale;
|
|
private System.Windows.Forms.Label label8;
|
|
private JinYuan.ControlLib.CheckBoxExt chk_NegAlarm;
|
|
private JinYuan.ControlLib.CheckBoxExt chk_PosAlarm;
|
|
private System.Windows.Forms.ComboBox cmb_DataType;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.TextBox txt_VarAddress;
|
|
private System.Windows.Forms.TextBox txt_Start;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn VarName;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Start;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn OffsetOrLenght;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn DataType;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Scale;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Offset;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn PosAlarm;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn NegAlarm;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn GroupName;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Remark;
|
|
}
|
|
} |