|
|
@@ -29,23 +29,25 @@
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
this.collectCodeRules = new System.Windows.Forms.DataGridView();
|
|
|
+ this.psr_type = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.psr_prefix = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.psr_length = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.collects = new UAS_MES.CustomControl.GroupBoxWithBorder.GroupBoxWithBorder();
|
|
|
- this.Imei3 = new UAS_MES.CustomControl.CustomCheckBox.CustomCheckBox();
|
|
|
- this.Imei2 = new UAS_MES.CustomControl.CustomCheckBox.CustomCheckBox();
|
|
|
- this.Imei1 = new UAS_MES.CustomControl.CustomCheckBox.CustomCheckBox();
|
|
|
- this.NetCode = new UAS_MES.CustomControl.CustomCheckBox.CustomCheckBox();
|
|
|
- this.Bt = new UAS_MES.CustomControl.CustomCheckBox.CustomCheckBox();
|
|
|
this.Mac = new UAS_MES.CustomControl.CustomCheckBox.CustomCheckBox();
|
|
|
+ this.Bt = new UAS_MES.CustomControl.CustomCheckBox.CustomCheckBox();
|
|
|
+ this.NetCode = new UAS_MES.CustomControl.CustomCheckBox.CustomCheckBox();
|
|
|
+ this.Imei1 = new UAS_MES.CustomControl.CustomCheckBox.CustomCheckBox();
|
|
|
+ this.Imei2 = new UAS_MES.CustomControl.CustomCheckBox.CustomCheckBox();
|
|
|
+ this.Imei3 = new UAS_MES.CustomControl.CustomCheckBox.CustomCheckBox();
|
|
|
this.inputValue = new UAS_MES.CustomControl.TextBoxWithIcon.EnterTextBox();
|
|
|
this.OperateResult = new UAS_MES.CustomControl.RichText.RichTextAutoBottom();
|
|
|
- this.psr_type = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.psr_prefix = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.psr_length = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.collectCodeRules)).BeginInit();
|
|
|
this.collects.SuspendLayout();
|
|
|
this.SuspendLayout();
|
|
|
@@ -56,20 +58,50 @@
|
|
|
this.collectCodeRules.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.psr_type,
|
|
|
this.psr_prefix,
|
|
|
- this.psr_length});
|
|
|
+ this.psr_length,
|
|
|
+ this.Column1});
|
|
|
this.collectCodeRules.Location = new System.Drawing.Point(279, 70);
|
|
|
this.collectCodeRules.Name = "collectCodeRules";
|
|
|
+ this.collectCodeRules.RowHeadersVisible = false;
|
|
|
this.collectCodeRules.RowTemplate.Height = 30;
|
|
|
this.collectCodeRules.Size = new System.Drawing.Size(733, 235);
|
|
|
this.collectCodeRules.TabIndex = 6;
|
|
|
//
|
|
|
+ // psr_type
|
|
|
+ //
|
|
|
+ this.psr_type.DataPropertyName = "psr_type";
|
|
|
+ this.psr_type.HeaderText = "采集项";
|
|
|
+ this.psr_type.Name = "psr_type";
|
|
|
+ this.psr_type.Width = 150;
|
|
|
+ //
|
|
|
+ // psr_prefix
|
|
|
+ //
|
|
|
+ this.psr_prefix.DataPropertyName = "psr_prefix";
|
|
|
+ this.psr_prefix.HeaderText = "前缀";
|
|
|
+ this.psr_prefix.Name = "psr_prefix";
|
|
|
+ this.psr_prefix.Width = 150;
|
|
|
+ //
|
|
|
+ // psr_length
|
|
|
+ //
|
|
|
+ this.psr_length.DataPropertyName = "psr_length";
|
|
|
+ this.psr_length.HeaderText = "长度";
|
|
|
+ this.psr_length.Name = "psr_length";
|
|
|
+ this.psr_length.Width = 150;
|
|
|
+ //
|
|
|
+ // Column1
|
|
|
+ //
|
|
|
+ this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
+ this.Column1.HeaderText = "";
|
|
|
+ this.Column1.Name = "Column1";
|
|
|
+ this.Column1.Width = 5;
|
|
|
+ //
|
|
|
// label1
|
|
|
//
|
|
|
this.label1.AutoSize = true;
|
|
|
- this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.label1.Location = new System.Drawing.Point(275, 27);
|
|
|
this.label1.Name = "label1";
|
|
|
- this.label1.Size = new System.Drawing.Size(106, 24);
|
|
|
+ this.label1.Size = new System.Drawing.Size(110, 31);
|
|
|
this.label1.TabIndex = 7;
|
|
|
this.label1.Text = "防呆规则";
|
|
|
//
|
|
|
@@ -100,15 +132,21 @@
|
|
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
|
|
this.dataGridViewTextBoxColumn3.Width = 230;
|
|
|
//
|
|
|
+ // dataGridViewTextBoxColumn4
|
|
|
+ //
|
|
|
+ this.dataGridViewTextBoxColumn4.HeaderText = "Column1";
|
|
|
+ this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
|
|
+ this.dataGridViewTextBoxColumn4.Width = 5;
|
|
|
+ //
|
|
|
// collects
|
|
|
//
|
|
|
this.collects.BorderColor = System.Drawing.Color.Black;
|
|
|
- this.collects.Controls.Add(this.Imei3);
|
|
|
- this.collects.Controls.Add(this.Imei2);
|
|
|
- this.collects.Controls.Add(this.Imei1);
|
|
|
- this.collects.Controls.Add(this.NetCode);
|
|
|
- this.collects.Controls.Add(this.Bt);
|
|
|
this.collects.Controls.Add(this.Mac);
|
|
|
+ this.collects.Controls.Add(this.Bt);
|
|
|
+ this.collects.Controls.Add(this.NetCode);
|
|
|
+ this.collects.Controls.Add(this.Imei1);
|
|
|
+ this.collects.Controls.Add(this.Imei2);
|
|
|
+ this.collects.Controls.Add(this.Imei3);
|
|
|
this.collects.Location = new System.Drawing.Point(27, 18);
|
|
|
this.collects.Name = "collects";
|
|
|
this.collects.Size = new System.Drawing.Size(185, 287);
|
|
|
@@ -116,38 +154,29 @@
|
|
|
this.collects.TabStop = false;
|
|
|
this.collects.TextColor = System.Drawing.Color.Black;
|
|
|
//
|
|
|
- // Imei3
|
|
|
- //
|
|
|
- this.Imei3.AutoSize = true;
|
|
|
- this.Imei3.Location = new System.Drawing.Point(37, 239);
|
|
|
- this.Imei3.Name = "Imei3";
|
|
|
- this.Imei3.Power = null;
|
|
|
- this.Imei3.Size = new System.Drawing.Size(79, 22);
|
|
|
- this.Imei3.TabIndex = 5;
|
|
|
- this.Imei3.Text = "IMEI3";
|
|
|
- this.Imei3.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // Imei2
|
|
|
+ // Mac
|
|
|
//
|
|
|
- this.Imei2.AutoSize = true;
|
|
|
- this.Imei2.Location = new System.Drawing.Point(37, 196);
|
|
|
- this.Imei2.Name = "Imei2";
|
|
|
- this.Imei2.Power = null;
|
|
|
- this.Imei2.Size = new System.Drawing.Size(79, 22);
|
|
|
- this.Imei2.TabIndex = 4;
|
|
|
- this.Imei2.Text = "IMEI2";
|
|
|
- this.Imei2.UseVisualStyleBackColor = true;
|
|
|
+ this.Mac.AutoSize = true;
|
|
|
+ this.Mac.Location = new System.Drawing.Point(37, 31);
|
|
|
+ this.Mac.Name = "Mac";
|
|
|
+ this.Mac.Power = null;
|
|
|
+ this.Mac.Size = new System.Drawing.Size(106, 22);
|
|
|
+ this.Mac.TabIndex = 5;
|
|
|
+ this.Mac.Text = "MAC/WIFI";
|
|
|
+ this.Mac.UseVisualStyleBackColor = true;
|
|
|
+ this.Mac.CheckedChanged += new System.EventHandler(this.Mac_CheckedChanged);
|
|
|
//
|
|
|
- // Imei1
|
|
|
+ // Bt
|
|
|
//
|
|
|
- this.Imei1.AutoSize = true;
|
|
|
- this.Imei1.Location = new System.Drawing.Point(37, 156);
|
|
|
- this.Imei1.Name = "Imei1";
|
|
|
- this.Imei1.Power = null;
|
|
|
- this.Imei1.Size = new System.Drawing.Size(79, 22);
|
|
|
- this.Imei1.TabIndex = 3;
|
|
|
- this.Imei1.Text = "IMEI1";
|
|
|
- this.Imei1.UseVisualStyleBackColor = true;
|
|
|
+ this.Bt.AutoSize = true;
|
|
|
+ this.Bt.Location = new System.Drawing.Point(37, 74);
|
|
|
+ this.Bt.Name = "Bt";
|
|
|
+ this.Bt.Power = null;
|
|
|
+ this.Bt.Size = new System.Drawing.Size(52, 22);
|
|
|
+ this.Bt.TabIndex = 4;
|
|
|
+ this.Bt.Text = "BT";
|
|
|
+ this.Bt.UseVisualStyleBackColor = true;
|
|
|
+ this.Bt.CheckedChanged += new System.EventHandler(this.Mac_CheckedChanged);
|
|
|
//
|
|
|
// NetCode
|
|
|
//
|
|
|
@@ -156,31 +185,46 @@
|
|
|
this.NetCode.Name = "NetCode";
|
|
|
this.NetCode.Power = null;
|
|
|
this.NetCode.Size = new System.Drawing.Size(70, 22);
|
|
|
- this.NetCode.TabIndex = 2;
|
|
|
+ this.NetCode.TabIndex = 3;
|
|
|
this.NetCode.Text = "网标";
|
|
|
this.NetCode.UseVisualStyleBackColor = true;
|
|
|
+ this.NetCode.CheckedChanged += new System.EventHandler(this.Mac_CheckedChanged);
|
|
|
//
|
|
|
- // Bt
|
|
|
+ // Imei1
|
|
|
//
|
|
|
- this.Bt.AutoSize = true;
|
|
|
- this.Bt.Location = new System.Drawing.Point(37, 74);
|
|
|
- this.Bt.Name = "Bt";
|
|
|
- this.Bt.Power = null;
|
|
|
- this.Bt.Size = new System.Drawing.Size(52, 22);
|
|
|
- this.Bt.TabIndex = 1;
|
|
|
- this.Bt.Text = "BT";
|
|
|
- this.Bt.UseVisualStyleBackColor = true;
|
|
|
+ this.Imei1.AutoSize = true;
|
|
|
+ this.Imei1.Location = new System.Drawing.Point(37, 156);
|
|
|
+ this.Imei1.Name = "Imei1";
|
|
|
+ this.Imei1.Power = null;
|
|
|
+ this.Imei1.Size = new System.Drawing.Size(79, 22);
|
|
|
+ this.Imei1.TabIndex = 2;
|
|
|
+ this.Imei1.Text = "IMEI1";
|
|
|
+ this.Imei1.UseVisualStyleBackColor = true;
|
|
|
+ this.Imei1.CheckedChanged += new System.EventHandler(this.Mac_CheckedChanged);
|
|
|
//
|
|
|
- // Mac
|
|
|
+ // Imei2
|
|
|
//
|
|
|
- this.Mac.AutoSize = true;
|
|
|
- this.Mac.Location = new System.Drawing.Point(37, 31);
|
|
|
- this.Mac.Name = "Mac";
|
|
|
- this.Mac.Power = null;
|
|
|
- this.Mac.Size = new System.Drawing.Size(106, 22);
|
|
|
- this.Mac.TabIndex = 0;
|
|
|
- this.Mac.Text = "MAC/WIFI";
|
|
|
- this.Mac.UseVisualStyleBackColor = true;
|
|
|
+ this.Imei2.AutoSize = true;
|
|
|
+ this.Imei2.Location = new System.Drawing.Point(37, 196);
|
|
|
+ this.Imei2.Name = "Imei2";
|
|
|
+ this.Imei2.Power = null;
|
|
|
+ this.Imei2.Size = new System.Drawing.Size(79, 22);
|
|
|
+ this.Imei2.TabIndex = 1;
|
|
|
+ this.Imei2.Text = "IMEI2";
|
|
|
+ this.Imei2.UseVisualStyleBackColor = true;
|
|
|
+ this.Imei2.CheckedChanged += new System.EventHandler(this.Mac_CheckedChanged);
|
|
|
+ //
|
|
|
+ // Imei3
|
|
|
+ //
|
|
|
+ this.Imei3.AutoSize = true;
|
|
|
+ this.Imei3.Location = new System.Drawing.Point(37, 239);
|
|
|
+ this.Imei3.Name = "Imei3";
|
|
|
+ this.Imei3.Power = null;
|
|
|
+ this.Imei3.Size = new System.Drawing.Size(79, 22);
|
|
|
+ this.Imei3.TabIndex = 0;
|
|
|
+ this.Imei3.Text = "IMEI3";
|
|
|
+ this.Imei3.UseVisualStyleBackColor = true;
|
|
|
+ this.Imei3.CheckedChanged += new System.EventHandler(this.Mac_CheckedChanged);
|
|
|
//
|
|
|
// inputValue
|
|
|
//
|
|
|
@@ -207,24 +251,6 @@
|
|
|
this.OperateResult.TabIndex = 88;
|
|
|
this.OperateResult.Text = "";
|
|
|
//
|
|
|
- // psr_type
|
|
|
- //
|
|
|
- this.psr_type.HeaderText = "采集项";
|
|
|
- this.psr_type.Name = "psr_type";
|
|
|
- this.psr_type.Width = 150;
|
|
|
- //
|
|
|
- // psr_prefix
|
|
|
- //
|
|
|
- this.psr_prefix.HeaderText = "前缀";
|
|
|
- this.psr_prefix.Name = "psr_prefix";
|
|
|
- this.psr_prefix.Width = 150;
|
|
|
- //
|
|
|
- // psr_length
|
|
|
- //
|
|
|
- this.psr_length.HeaderText = "长度";
|
|
|
- this.psr_length.Name = "psr_length";
|
|
|
- this.psr_length.Width = 150;
|
|
|
- //
|
|
|
// Make_UpdateCollectCode
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
|
|
@@ -266,8 +292,10 @@
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn psr_type;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn psr_prefix;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn psr_length;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
|
|
}
|
|
|
}
|