1.SCR组立服务器G型动静盘组装岗位,一体机上要增加一个按键,名字叫动盘与支架等级匹配ok,这个要关联到机种登录里面,目前只有一个机种会要这个按键,每个工件都要点这个按键,需要关联到给我PLC的放行信号里面
2.SCR组立服务器G型筒体烧嵌岗位,需要增加一个治具号,13位字符串
This commit is contained in:
17
EleBox.App/Main.Designer.cs
generated
17
EleBox.App/Main.Designer.cs
generated
@@ -148,6 +148,7 @@
|
|||||||
this.cbxDefaultOK = new System.Windows.Forms.CheckBox();
|
this.cbxDefaultOK = new System.Windows.Forms.CheckBox();
|
||||||
this.label15 = new System.Windows.Forms.Label();
|
this.label15 = new System.Windows.Forms.Label();
|
||||||
this.MeterSeria = new System.IO.Ports.SerialPort(this.components);
|
this.MeterSeria = new System.IO.Ports.SerialPort(this.components);
|
||||||
|
this.btnDyDiskBrackMatch = new System.Windows.Forms.Button();
|
||||||
this.statusStrip1.SuspendLayout();
|
this.statusStrip1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||||
this.splitContainer1.Panel1.SuspendLayout();
|
this.splitContainer1.Panel1.SuspendLayout();
|
||||||
@@ -459,6 +460,7 @@
|
|||||||
//
|
//
|
||||||
// groupBox4
|
// groupBox4
|
||||||
//
|
//
|
||||||
|
this.groupBox4.Controls.Add(this.btnDyDiskBrackMatch);
|
||||||
this.groupBox4.Controls.Add(this.PanelOther);
|
this.groupBox4.Controls.Add(this.PanelOther);
|
||||||
this.groupBox4.Controls.Add(this.lblCylinderNoAlarmMsg);
|
this.groupBox4.Controls.Add(this.lblCylinderNoAlarmMsg);
|
||||||
this.groupBox4.Controls.Add(this.lblTongZhiGui);
|
this.groupBox4.Controls.Add(this.lblTongZhiGui);
|
||||||
@@ -1555,6 +1557,20 @@
|
|||||||
//
|
//
|
||||||
this.MeterSeria.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.MeterSeria_DataReceived);
|
this.MeterSeria.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.MeterSeria_DataReceived);
|
||||||
//
|
//
|
||||||
|
// btnDyDiskBrackMatch
|
||||||
|
//
|
||||||
|
this.btnDyDiskBrackMatch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
|
||||||
|
this.btnDyDiskBrackMatch.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
|
this.btnDyDiskBrackMatch.ForeColor = System.Drawing.Color.White;
|
||||||
|
this.btnDyDiskBrackMatch.Location = new System.Drawing.Point(396, 337);
|
||||||
|
this.btnDyDiskBrackMatch.Name = "btnDyDiskBrackMatch";
|
||||||
|
this.btnDyDiskBrackMatch.Size = new System.Drawing.Size(128, 63);
|
||||||
|
this.btnDyDiskBrackMatch.TabIndex = 45;
|
||||||
|
this.btnDyDiskBrackMatch.Text = "动盘与支架\r\n等级匹配OK";
|
||||||
|
this.btnDyDiskBrackMatch.UseVisualStyleBackColor = false;
|
||||||
|
this.btnDyDiskBrackMatch.Visible = false;
|
||||||
|
this.btnDyDiskBrackMatch.Click += new System.EventHandler(this.btnDyDiskBrackMatch_Click);
|
||||||
|
//
|
||||||
// Main
|
// Main
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
||||||
@@ -1738,5 +1754,6 @@
|
|||||||
private System.Windows.Forms.Label lblCylinderNoAlarmMsg;
|
private System.Windows.Forms.Label lblCylinderNoAlarmMsg;
|
||||||
private System.Windows.Forms.Panel PanelOther;
|
private System.Windows.Forms.Panel PanelOther;
|
||||||
private System.Windows.Forms.Label lblMeterDataState;
|
private System.Windows.Forms.Label lblMeterDataState;
|
||||||
|
private System.Windows.Forms.Button btnDyDiskBrackMatch;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -726,6 +726,12 @@ namespace DynStatDisk.App
|
|||||||
|
|
||||||
lblCylinderNoAlarmMsg.Visible = false;
|
lblCylinderNoAlarmMsg.Visible = false;
|
||||||
|
|
||||||
|
// 托盘流走后,隐藏动静盘支架匹配按钮
|
||||||
|
if (LocationInfo == MachineLocation.G)
|
||||||
|
{
|
||||||
|
btnDyDiskBrackMatch.Visible = false;
|
||||||
|
}
|
||||||
|
|
||||||
//间隙数据删除
|
//间隙数据删除
|
||||||
txtOtherGapGroup.Text = "";
|
txtOtherGapGroup.Text = "";
|
||||||
txtOtherGapValue.Text = "";
|
txtOtherGapValue.Text = "";
|
||||||
@@ -2063,6 +2069,25 @@ namespace DynStatDisk.App
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 只在 MachineLocation.G 时生效
|
||||||
|
if (LocationInfo == MachineLocation.G)
|
||||||
|
{
|
||||||
|
if (Data.FirstOrDefault().DyDiskBrackMatch == "检测")
|
||||||
|
{
|
||||||
|
BeginInvoke(new Action(() =>
|
||||||
|
{
|
||||||
|
btnDyDiskBrackMatch.Visible = true;
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
BeginInvoke(new Action(() =>
|
||||||
|
{
|
||||||
|
btnDyDiskBrackMatch.Visible = false;
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
txtEuroSeriesNo.Focus();
|
txtEuroSeriesNo.Focus();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -2625,5 +2650,15 @@ namespace DynStatDisk.App
|
|||||||
{
|
{
|
||||||
txtExhCoveBatch.BackColor = SystemColors.Window;
|
txtExhCoveBatch.BackColor = SystemColors.Window;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 动盘与支架等级匹配ok
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
private void btnDyDiskBrackMatch_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -128,7 +128,7 @@
|
|||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACm
|
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACm
|
||||||
BwAAAk1TRnQBSQFMAwEBAAFQAQABUAEAARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA
|
BwAAAk1TRnQBSQFMAwEBAAFYAQABWAEAARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA
|
||||||
AUADAAEQAwABAQEAAQgGAAEEGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA
|
AUADAAEQAwABAQEAAQgGAAEEGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA
|
||||||
AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA
|
AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA
|
||||||
AYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFm
|
AYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFm
|
||||||
|
|||||||
@@ -38,6 +38,12 @@ namespace DynStatDisk.App.Model
|
|||||||
[Column(Name = "DynStatDiskKeyMatch", IsNullable = true, StringLength = 10)]
|
[Column(Name = "DynStatDiskKeyMatch", IsNullable = true, StringLength = 10)]
|
||||||
public string DynStatDiskKeyMatch { get; set; }
|
public string DynStatDiskKeyMatch { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 动静盘支架匹配
|
||||||
|
/// </summary>
|
||||||
|
[Column(Name = "DyDiskBrackMatch", IsNullable = false, StringLength = 10)]
|
||||||
|
public string DyDiskBrackMatch { get; set; }
|
||||||
|
|
||||||
///// <summary>
|
///// <summary>
|
||||||
///// 电器盒盖
|
///// 电器盒盖
|
||||||
///// </summary>
|
///// </summary>
|
||||||
|
|||||||
57
EleBox.App/frmMachineModelConfig.Designer.cs
generated
57
EleBox.App/frmMachineModelConfig.Designer.cs
generated
@@ -36,14 +36,16 @@
|
|||||||
this.btnAdd = new System.Windows.Forms.Button();
|
this.btnAdd = new System.Windows.Forms.Button();
|
||||||
this.btnEdit = new System.Windows.Forms.Button();
|
this.btnEdit = new System.Windows.Forms.Button();
|
||||||
this.panel3 = new System.Windows.Forms.Panel();
|
this.panel3 = new System.Windows.Forms.Panel();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.txtDynStatDiskKeyMatch = new System.Windows.Forms.TextBox();
|
||||||
this.cbxGapTest = new System.Windows.Forms.ComboBox();
|
this.cbxGapTest = new System.Windows.Forms.ComboBox();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.txtModelNo = new System.Windows.Forms.TextBox();
|
this.txtModelNo = new System.Windows.Forms.TextBox();
|
||||||
this.label5 = new System.Windows.Forms.Label();
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
this.listView1 = new System.Windows.Forms.ListView();
|
this.listView1 = new System.Windows.Forms.ListView();
|
||||||
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
|
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
|
||||||
this.txtDynStatDiskKeyMatch = new System.Windows.Forms.TextBox();
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.cbxDyDiskBrackMatch = new System.Windows.Forms.ComboBox();
|
||||||
this.groupBox1.SuspendLayout();
|
this.groupBox1.SuspendLayout();
|
||||||
this.panel3.SuspendLayout();
|
this.panel3.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
@@ -110,6 +112,8 @@
|
|||||||
// panel3
|
// panel3
|
||||||
//
|
//
|
||||||
this.panel3.BackColor = System.Drawing.SystemColors.ControlLight;
|
this.panel3.BackColor = System.Drawing.SystemColors.ControlLight;
|
||||||
|
this.panel3.Controls.Add(this.cbxDyDiskBrackMatch);
|
||||||
|
this.panel3.Controls.Add(this.label3);
|
||||||
this.panel3.Controls.Add(this.label1);
|
this.panel3.Controls.Add(this.label1);
|
||||||
this.panel3.Controls.Add(this.txtDynStatDiskKeyMatch);
|
this.panel3.Controls.Add(this.txtDynStatDiskKeyMatch);
|
||||||
this.panel3.Controls.Add(this.cbxGapTest);
|
this.panel3.Controls.Add(this.cbxGapTest);
|
||||||
@@ -121,6 +125,24 @@
|
|||||||
this.panel3.Size = new System.Drawing.Size(975, 74);
|
this.panel3.Size = new System.Drawing.Size(975, 74);
|
||||||
this.panel3.TabIndex = 26;
|
this.panel3.TabIndex = 26;
|
||||||
//
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
|
this.label1.Location = new System.Drawing.Point(229, 12);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(90, 21);
|
||||||
|
this.label1.TabIndex = 23;
|
||||||
|
this.label1.Text = "动静盘符号";
|
||||||
|
//
|
||||||
|
// txtDynStatDiskKeyMatch
|
||||||
|
//
|
||||||
|
this.txtDynStatDiskKeyMatch.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
|
this.txtDynStatDiskKeyMatch.Location = new System.Drawing.Point(224, 36);
|
||||||
|
this.txtDynStatDiskKeyMatch.Name = "txtDynStatDiskKeyMatch";
|
||||||
|
this.txtDynStatDiskKeyMatch.Size = new System.Drawing.Size(100, 33);
|
||||||
|
this.txtDynStatDiskKeyMatch.TabIndex = 22;
|
||||||
|
//
|
||||||
// cbxGapTest
|
// cbxGapTest
|
||||||
//
|
//
|
||||||
this.cbxGapTest.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.cbxGapTest.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
@@ -178,23 +200,24 @@
|
|||||||
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
|
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
|
||||||
this.imageList1.Images.SetKeyName(0, "About.png");
|
this.imageList1.Images.SetKeyName(0, "About.png");
|
||||||
//
|
//
|
||||||
// txtDynStatDiskKeyMatch
|
// label3
|
||||||
//
|
//
|
||||||
this.txtDynStatDiskKeyMatch.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.label3.AutoSize = true;
|
||||||
this.txtDynStatDiskKeyMatch.Location = new System.Drawing.Point(224, 36);
|
this.label3.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.txtDynStatDiskKeyMatch.Name = "txtDynStatDiskKeyMatch";
|
this.label3.Location = new System.Drawing.Point(331, 12);
|
||||||
this.txtDynStatDiskKeyMatch.Size = new System.Drawing.Size(100, 33);
|
this.label3.Name = "label3";
|
||||||
this.txtDynStatDiskKeyMatch.TabIndex = 22;
|
this.label3.Size = new System.Drawing.Size(154, 21);
|
||||||
|
this.label3.TabIndex = 25;
|
||||||
|
this.label3.Text = "动盘与支架等级匹配";
|
||||||
//
|
//
|
||||||
// label1
|
// cbxDyDiskBrackMatch
|
||||||
//
|
//
|
||||||
this.label1.AutoSize = true;
|
this.cbxDyDiskBrackMatch.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.label1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.cbxDyDiskBrackMatch.FormattingEnabled = true;
|
||||||
this.label1.Location = new System.Drawing.Point(229, 12);
|
this.cbxDyDiskBrackMatch.Location = new System.Drawing.Point(327, 36);
|
||||||
this.label1.Name = "label1";
|
this.cbxDyDiskBrackMatch.Name = "cbxDyDiskBrackMatch";
|
||||||
this.label1.Size = new System.Drawing.Size(90, 21);
|
this.cbxDyDiskBrackMatch.Size = new System.Drawing.Size(160, 33);
|
||||||
this.label1.TabIndex = 23;
|
this.cbxDyDiskBrackMatch.TabIndex = 26;
|
||||||
this.label1.Text = "动静盘符号";
|
|
||||||
//
|
//
|
||||||
// frmMachineModelConfig
|
// frmMachineModelConfig
|
||||||
//
|
//
|
||||||
@@ -235,5 +258,7 @@
|
|||||||
private System.Windows.Forms.ImageList imageList1;
|
private System.Windows.Forms.ImageList imageList1;
|
||||||
private System.Windows.Forms.TextBox txtDynStatDiskKeyMatch;
|
private System.Windows.Forms.TextBox txtDynStatDiskKeyMatch;
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.ComboBox cbxDyDiskBrackMatch;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -65,6 +65,7 @@ namespace DynStatDisk.App
|
|||||||
ColumnHeader h11 = new ColumnHeader();
|
ColumnHeader h11 = new ColumnHeader();
|
||||||
ColumnHeader h12 = new ColumnHeader();
|
ColumnHeader h12 = new ColumnHeader();
|
||||||
ColumnHeader h13 = new ColumnHeader();
|
ColumnHeader h13 = new ColumnHeader();
|
||||||
|
ColumnHeader h14 = new ColumnHeader();
|
||||||
|
|
||||||
h1.TextAlign = HorizontalAlignment.Center;
|
h1.TextAlign = HorizontalAlignment.Center;
|
||||||
h2.TextAlign = HorizontalAlignment.Center;
|
h2.TextAlign = HorizontalAlignment.Center;
|
||||||
@@ -79,6 +80,7 @@ namespace DynStatDisk.App
|
|||||||
h11.TextAlign = HorizontalAlignment.Center;
|
h11.TextAlign = HorizontalAlignment.Center;
|
||||||
h12.TextAlign = HorizontalAlignment.Center;
|
h12.TextAlign = HorizontalAlignment.Center;
|
||||||
h13.TextAlign = HorizontalAlignment.Center;
|
h13.TextAlign = HorizontalAlignment.Center;
|
||||||
|
h14.TextAlign = HorizontalAlignment.Center;
|
||||||
|
|
||||||
h0.Width = 20;
|
h0.Width = 20;
|
||||||
h1.Width = 100;
|
h1.Width = 100;
|
||||||
@@ -94,6 +96,7 @@ namespace DynStatDisk.App
|
|||||||
h11.Width = 100;
|
h11.Width = 100;
|
||||||
h12.Width = 100;
|
h12.Width = 100;
|
||||||
h13.Width = 0;
|
h13.Width = 0;
|
||||||
|
h14.Width = 100;
|
||||||
|
|
||||||
h0.Text = "";
|
h0.Text = "";
|
||||||
h1.Text = "机种番号";
|
h1.Text = "机种番号";
|
||||||
@@ -110,13 +113,13 @@ namespace DynStatDisk.App
|
|||||||
h11.Text = "吸油管压入";
|
h11.Text = "吸油管压入";
|
||||||
h12.Text = "创建时间";
|
h12.Text = "创建时间";
|
||||||
h13.Text = "";
|
h13.Text = "";
|
||||||
//h14.Text = "";
|
h14.Text = "动静盘支架匹配";
|
||||||
|
|
||||||
listView1.Columns.AddRange(new ColumnHeader[] { h0, h1, h2, h3, h4 });
|
listView1.Columns.AddRange(new ColumnHeader[] { h0, h1, h2, h3, h4, h14 });
|
||||||
listView1.View = View.Details;
|
listView1.View = View.Details;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void InsertlistView1Result(long guid, string ModelNo, string GapInfo, string DynStatDiskKeyMatch)
|
private void InsertlistView1Result(long guid, string ModelNo, string GapInfo, string DynStatDiskKeyMatch, string DyDiskBrackMatch)
|
||||||
{
|
{
|
||||||
ListViewItem lvi = new ListViewItem();
|
ListViewItem lvi = new ListViewItem();
|
||||||
lvi.ImageIndex = 0;
|
lvi.ImageIndex = 0;
|
||||||
@@ -125,6 +128,7 @@ namespace DynStatDisk.App
|
|||||||
lvi.SubItems.Add(GapInfo.ToString());
|
lvi.SubItems.Add(GapInfo.ToString());
|
||||||
lvi.SubItems.Add(DynStatDiskKeyMatch != null ? DynStatDiskKeyMatch.ToString() : "");
|
lvi.SubItems.Add(DynStatDiskKeyMatch != null ? DynStatDiskKeyMatch.ToString() : "");
|
||||||
lvi.SubItems.Add(guid.ToString());
|
lvi.SubItems.Add(guid.ToString());
|
||||||
|
lvi.SubItems.Add(DyDiskBrackMatch != null ? DyDiskBrackMatch.ToString() : "");
|
||||||
this.listView1.Items.Add(lvi);
|
this.listView1.Items.Add(lvi);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -144,7 +148,8 @@ namespace DynStatDisk.App
|
|||||||
InsertlistView1Result(item.Id,
|
InsertlistView1Result(item.Id,
|
||||||
item.ModelNo,
|
item.ModelNo,
|
||||||
item.GapInfo,
|
item.GapInfo,
|
||||||
item.DynStatDiskKeyMatch
|
item.DynStatDiskKeyMatch,
|
||||||
|
item.DyDiskBrackMatch
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -169,6 +174,16 @@ namespace DynStatDisk.App
|
|||||||
this.cbxGapTest.SelectedIndex = -1;//默认显示LHK
|
this.cbxGapTest.SelectedIndex = -1;//默认显示LHK
|
||||||
|
|
||||||
|
|
||||||
|
this.cbxDyDiskBrackMatch.Items.Clear();
|
||||||
|
|
||||||
|
this.cbxDyDiskBrackMatch.Items.Add("检测");//赋值
|
||||||
|
this.cbxDyDiskBrackMatch.SelectedIndex = 0;//设置下标
|
||||||
|
|
||||||
|
this.cbxDyDiskBrackMatch.Items.Add("不检测");//赋值
|
||||||
|
this.cbxDyDiskBrackMatch.SelectedIndex = 1;//下标
|
||||||
|
|
||||||
|
this.cbxDyDiskBrackMatch.SelectedIndex = -1;
|
||||||
|
|
||||||
//this.cbxInsulatPad.Items.Clear();
|
//this.cbxInsulatPad.Items.Clear();
|
||||||
|
|
||||||
//this.cbxInsulatPad.Items.Add("A");//赋值
|
//this.cbxInsulatPad.Items.Add("A");//赋值
|
||||||
@@ -242,6 +257,18 @@ namespace DynStatDisk.App
|
|||||||
|
|
||||||
txtDynStatDiskKeyMatch.Text = listView1.FocusedItem.SubItems[3].Text;
|
txtDynStatDiskKeyMatch.Text = listView1.FocusedItem.SubItems[3].Text;
|
||||||
|
|
||||||
|
switch (listView1.FocusedItem.SubItems[5].Text)
|
||||||
|
{
|
||||||
|
case "检测":
|
||||||
|
cbxDyDiskBrackMatch.SelectedIndex = 0;
|
||||||
|
break;
|
||||||
|
case "不检测":
|
||||||
|
cbxDyDiskBrackMatch.SelectedIndex = 1;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
//switch (listView1.FocusedItem.SubItems[3].Text)
|
//switch (listView1.FocusedItem.SubItems[3].Text)
|
||||||
//{
|
//{
|
||||||
// case "A":
|
// case "A":
|
||||||
@@ -298,7 +325,8 @@ namespace DynStatDisk.App
|
|||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(txtModelNo.Text.Trim()) &&
|
if (!string.IsNullOrEmpty(txtModelNo.Text.Trim()) &&
|
||||||
//!string.IsNullOrEmpty(txtESOPPath.Text.Trim()) &&
|
//!string.IsNullOrEmpty(txtESOPPath.Text.Trim()) &&
|
||||||
!string.IsNullOrEmpty(cbxGapTest.SelectedItem.ToString().Trim())
|
!string.IsNullOrEmpty(cbxGapTest.SelectedItem.ToString().Trim()) &&
|
||||||
|
!string.IsNullOrEmpty(cbxDyDiskBrackMatch.SelectedItem.ToString().Trim())
|
||||||
//!string.IsNullOrEmpty(cbxInsulatPad.SelectedItem.ToString().Trim()) &&
|
//!string.IsNullOrEmpty(cbxInsulatPad.SelectedItem.ToString().Trim()) &&
|
||||||
//!string.IsNullOrEmpty(cbxDynStatDiskConver.SelectedItem.ToString().Trim())
|
//!string.IsNullOrEmpty(cbxDynStatDiskConver.SelectedItem.ToString().Trim())
|
||||||
)
|
)
|
||||||
@@ -309,6 +337,7 @@ namespace DynStatDisk.App
|
|||||||
ModelNo = txtModelNo.Text.Trim(),
|
ModelNo = txtModelNo.Text.Trim(),
|
||||||
GapInfo = cbxGapTest.SelectedItem.ToString().Trim(),
|
GapInfo = cbxGapTest.SelectedItem.ToString().Trim(),
|
||||||
DynStatDiskKeyMatch = txtDynStatDiskKeyMatch.Text.Trim(),
|
DynStatDiskKeyMatch = txtDynStatDiskKeyMatch.Text.Trim(),
|
||||||
|
DyDiskBrackMatch = cbxDyDiskBrackMatch.SelectedItem.ToString().Trim(),
|
||||||
//InsulatPad = cbxInsulatPad.SelectedItem.ToString().Trim(),
|
//InsulatPad = cbxInsulatPad.SelectedItem.ToString().Trim(),
|
||||||
//DynStatDiskConver = cbxDynStatDiskConver.SelectedItem.ToString().Trim(),
|
//DynStatDiskConver = cbxDynStatDiskConver.SelectedItem.ToString().Trim(),
|
||||||
//ESOPPath = txtESOPPath.Text.ToString().Trim()
|
//ESOPPath = txtESOPPath.Text.ToString().Trim()
|
||||||
@@ -331,6 +360,7 @@ namespace DynStatDisk.App
|
|||||||
.Set(a => a.ModelNo, txtModelNo.Text.Trim())
|
.Set(a => a.ModelNo, txtModelNo.Text.Trim())
|
||||||
.Set(a => a.GapInfo, cbxGapTest.SelectedItem.ToString().Trim())
|
.Set(a => a.GapInfo, cbxGapTest.SelectedItem.ToString().Trim())
|
||||||
.Set(a => a.DynStatDiskKeyMatch, txtDynStatDiskKeyMatch.Text.Trim())
|
.Set(a => a.DynStatDiskKeyMatch, txtDynStatDiskKeyMatch.Text.Trim())
|
||||||
|
.Set(a => a.DyDiskBrackMatch, cbxDyDiskBrackMatch.SelectedItem.ToString().Trim())
|
||||||
//.Set(a => a.DynStatDiskConver, cbxDynStatDiskConver.SelectedItem.ToString().Trim())
|
//.Set(a => a.DynStatDiskConver, cbxDynStatDiskConver.SelectedItem.ToString().Trim())
|
||||||
//.Set(a => a.ESOPPath, txtESOPPath.Text.ToString().Trim())
|
//.Set(a => a.ESOPPath, txtESOPPath.Text.ToString().Trim())
|
||||||
.Where(a => a.Id == SelectedId)
|
.Where(a => a.Id == SelectedId)
|
||||||
|
|||||||
@@ -125,7 +125,7 @@
|
|||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACm
|
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACm
|
||||||
BwAAAk1TRnQBSQFMAwEBAAEoAQABKAEAARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA
|
BwAAAk1TRnQBSQFMAwEBAAEwAQABMAEAARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA
|
||||||
AUADAAEQAwABAQEAAQgGAAEEGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA
|
AUADAAEQAwABAQEAAQgGAAEEGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA
|
||||||
AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA
|
AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA
|
||||||
AYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFm
|
AYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFm
|
||||||
|
|||||||
Reference in New Issue
Block a user