#260316 增加公差的批量导入功能

This commit is contained in:
zhengxuan.zhang
2026-03-16 13:37:03 +08:00
parent 8293dc1887
commit 94d6b65547
12 changed files with 695 additions and 494 deletions
+28 -10
View File
@@ -1425,12 +1425,12 @@ namespace NSAnalysis
if (strCarID.ToLower().Contains("nofind")) if (strCarID.ToLower().Contains("nofind"))
{ {
MyBase.TraceWriteLine("数据库中没有查找到VIN码,NoFind, +L 使用CSV码"); MyBase.TraceWriteLine("数据库中没有查找到VIN码,NoFind, +L 使用CSV码");
labVIN.Text = "L" + aryLineContent[1];
strCarID = "L" + aryLineContent[1]; strCarID = "L" + aryLineContent[1];
Invoke((MethodInvoker)(() => { labVIN.Text = strCarID; }));
} }
else else
{ {
labVIN.Text = strCarID; Invoke((MethodInvoker)(() => { labVIN.Text = strCarID; }));
tmdal.DeleteOneTTempVIN(strCarID); tmdal.DeleteOneTTempVIN(strCarID);
MyBase.TraceWriteLine("在数据库表TTempSaveVIN中删除该VIN" + strCarID); MyBase.TraceWriteLine("在数据库表TTempSaveVIN中删除该VIN" + strCarID);
} }
@@ -1682,6 +1682,12 @@ namespace NSAnalysis
#endregion #endregion
})); }));
//// 将EHV VIN写入station7,触发大屏刷新(在Invoke块外执行,避免嵌套死锁)
//string strEHVCarID = strCarID + "_EHV";
//tmdal.updateMaintenceInfo(strEHVCarID, 7);
//MyBase.TraceWriteLine("EHV解析完成,已将VIN=" + strEHVCarID + " 写入MaintenceInfo station7,触发大屏刷新。");
//ShowCarMeasureDataByCarType(3);
if (ConfigDfn.iCreateReportFlag == 1) if (ConfigDfn.iCreateReportFlag == 1)
{ {
GenUserReportCSV(strCarID, listCSVTitleInfo, dtAllRangeDate, FPYPercent); GenUserReportCSV(strCarID, listCSVTitleInfo, dtAllRangeDate, FPYPercent);
@@ -3451,15 +3457,21 @@ namespace NSAnalysis
fLEH3.Show(); fLEHY.Hide(); fLEHV.Hide(); fLEH3.Show(); fLEHY.Hide(); fLEHV.Hide();
MyBase.TraceWriteLine("显示左侧EH3车身数据界面。"); MyBase.TraceWriteLine("显示左侧EH3车身数据界面。");
} }
else if (iCarType == 3) else if (iCarType == 2)
{
fLEHV.Show(); fLEH3.Hide(); fLEHY.Hide();
MyBase.TraceWriteLine("显示左侧EHV车身数据界面。");
}
else
{ {
fLEHY.Show(); fLEH3.Hide(); fLEHV.Hide(); fLEHY.Show(); fLEH3.Hide(); fLEHV.Hide();
MyBase.TraceWriteLine("显示左侧EHY车身数据界面。"); MyBase.TraceWriteLine("显示左侧EHY车身数据界面。");
}
else if(iCarType == 3)
{
fLEHV.Show(); fLEH3.Hide(); fLEHY.Hide();
MyBase.TraceWriteLine("显示左侧EHV车身数据界面。");
}
else
{
MyBase.TraceWriteLine("未知车型,不显示");
} }
} }
else else
@@ -3469,17 +3481,23 @@ namespace NSAnalysis
fREH3.Show(); fREHY.Hide(); fREHV.Hide(); fREH3.Show(); fREHY.Hide(); fREHV.Hide();
MyBase.TraceWriteLine("显示右侧EH3车身数据界面。"); MyBase.TraceWriteLine("显示右侧EH3车身数据界面。");
} }
else if (iCarType == 2)
{
fREHY.Show(); fREH3.Hide(); fREHV.Hide();
MyBase.TraceWriteLine("显示右侧EHY车身数据界面。");
}
else if (iCarType == 3) else if (iCarType == 3)
{ {
fREHV.Show(); fREH3.Hide(); fREHY.Hide(); fREHV.Show(); fREH3.Hide(); fREHY.Hide();
MyBase.TraceWriteLine("显示右侧EHV车身数据界面。"); MyBase.TraceWriteLine("显示右侧EHV车身数据界面。");
} }
else else
{ {
fREHY.Show(); fREH3.Hide(); fREHV.Hide(); MyBase.TraceWriteLine("未知车型,不显示");
MyBase.TraceWriteLine("显示右侧EHY车身数据界面。");
} }
} }
})); }));
} }
+53
View File
@@ -91,6 +91,59 @@ namespace NSAnalysis
fat.ShowDialog(this); fat.ShowDialog(this);
} }
private void rbtnDownloadTemplate_Click(object sender, EventArgs e)
{
SaveFileDialog sfd = new SaveFileDialog
{
Filter = "CSV文件|*.csv",
FileName = "公差导入模板.csv",
Title = "保存CSV模板"
};
if (sfd.ShowDialog() != DialogResult.OK) return;
string header = "CarType,MeasurePointName,DimensionName,TolLower,TolUpper,Remark";
string example = "EHV,L-01,F,-1.5,0.5,示例备注";
System.IO.File.WriteAllText(sfd.FileName, header + "\r\n" + example + "\r\n", System.Text.Encoding.UTF8);
MessageBox.Show("模板已保存:" + sfd.FileName, "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
private void rbtnImportTol_Click(object sender, EventArgs e)
{
OpenFileDialog ofd = new OpenFileDialog
{
Filter = "CSV文件|*.csv",
Title = "选择公差导入文件"
};
if (ofd.ShowDialog() != DialogResult.OK) return;
int successCount = 0, failCount = 0;
string[] lines = System.IO.File.ReadAllLines(ofd.FileName, System.Text.Encoding.UTF8);
for (int i = 1; i < lines.Length; i++) // 跳过表头
{
string line = lines[i].Trim();
if (string.IsNullOrEmpty(line)) continue;
string[] cols = line.Split(',');
if (cols.Length < 5) { failCount++; continue; }
try
{
string carType = cols[0].Trim();
string measPointName = cols[1].Trim();
string dimensionName = cols[2].Trim();
double tolLower = double.Parse(cols[3].Trim());
double tolUpper = double.Parse(cols[4].Trim());
string remark = cols.Length > 5 ? cols[5].Trim() : "";
tmdal.UpsertTolerance(carType, measPointName, dimensionName, tolLower, tolUpper, remark);
successCount++;
}
catch
{
failCount++;
}
}
MessageBox.Show($"导入完成:成功 {successCount} 条,失败 {failCount} 条。", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
rtbnSearch_Click(null, null);
}
private void dgvTolList_CellContentClick(object sender, DataGridViewCellEventArgs e) private void dgvTolList_CellContentClick(object sender, DataGridViewCellEventArgs e)
{ {
string buttonText = ""; string buttonText = "";
+491 -462
View File
@@ -28,129 +28,132 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FToleranceSetup)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FToleranceSetup));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = 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(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar();
this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar(); this.label2 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label(); this.labTitle = new System.Windows.Forms.Label();
this.labTitle = new System.Windows.Forms.Label(); this.dgvTolList = new System.Windows.Forms.DataGridView();
this.dgvTolList = new System.Windows.Forms.DataGridView(); this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.radGroupBox7 = new Telerik.WinControls.UI.RadGroupBox(); this.CarType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.rtbnSearch = new Telerik.WinControls.UI.RadButton(); this.MeasurePointName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.rtbDimensionName = new Telerik.WinControls.UI.RadTextBox(); this.DimensionName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.label3 = new System.Windows.Forms.Label(); this.TolLower = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.rtbMesPointName = new Telerik.WinControls.UI.RadTextBox(); this.TolUpper = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.label1 = new System.Windows.Forms.Label(); this.Remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.rtbCarModel = new Telerik.WinControls.UI.RadTextBox(); this.CreateTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.label15 = new System.Windows.Forms.Label(); this.CNCEdit = new System.Windows.Forms.DataGridViewImageColumn();
this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn(); this.CNCDelete = new System.Windows.Forms.DataGridViewImageColumn();
this.dataGridViewImageColumn2 = new System.Windows.Forms.DataGridViewImageColumn(); this.radGroupBox7 = new Telerik.WinControls.UI.RadGroupBox();
this.lpcAddTol = new UserControlClass.LabPictureControl(); this.rtbnSearch = new Telerik.WinControls.UI.RadButton();
this.labSearchResult = new System.Windows.Forms.Label(); this.rtbDimensionName = new Telerik.WinControls.UI.RadTextBox();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.label3 = new System.Windows.Forms.Label();
this.CarType = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.rtbMesPointName = new Telerik.WinControls.UI.RadTextBox();
this.MeasurePointName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.label1 = new System.Windows.Forms.Label();
this.DimensionName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.rtbCarModel = new Telerik.WinControls.UI.RadTextBox();
this.TolLower = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.label15 = new System.Windows.Forms.Label();
this.TolUpper = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
this.Remark = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewImageColumn2 = new System.Windows.Forms.DataGridViewImageColumn();
this.CreateTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.lpcAddTol = new UserControlClass.LabPictureControl();
this.CNCEdit = new System.Windows.Forms.DataGridViewImageColumn(); this.labSearchResult = new System.Windows.Forms.Label();
this.CNCDelete = new System.Windows.Forms.DataGridViewImageColumn(); this.rbtnImportTol = new Telerik.WinControls.UI.RadButton();
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit(); this.rbtnDownloadTemplate = new Telerik.WinControls.UI.RadButton();
this.radTitleBar1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvTolList)).BeginInit(); this.radTitleBar1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.radGroupBox7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgvTolList)).BeginInit();
this.radGroupBox7.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbnSearch)).BeginInit(); this.radGroupBox7.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rtbDimensionName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rtbnSearch)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rtbDimensionName)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarModel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).BeginInit();
this.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.rtbCarModel)).BeginInit();
// ((System.ComponentModel.ISupportInitialize)(this.rbtnImportTol)).BeginInit();
// radTitleBar1 ((System.ComponentModel.ISupportInitialize)(this.rbtnDownloadTemplate)).BeginInit();
// this.SuspendLayout();
this.radTitleBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) //
// radTitleBar1
//
this.radTitleBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.radTitleBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); this.radTitleBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.radTitleBar1.Controls.Add(this.label2); this.radTitleBar1.Controls.Add(this.label2);
this.radTitleBar1.Controls.Add(this.labTitle); this.radTitleBar1.Controls.Add(this.labTitle);
this.radTitleBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.radTitleBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.radTitleBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); this.radTitleBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.radTitleBar1.Location = new System.Drawing.Point(1, 1); this.radTitleBar1.Location = new System.Drawing.Point(1, 1);
this.radTitleBar1.Name = "radTitleBar1"; this.radTitleBar1.Name = "radTitleBar1";
// //
// //
// //
this.radTitleBar1.RootElement.ApplyShapeToControl = true; this.radTitleBar1.RootElement.ApplyShapeToControl = true;
this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.radTitleBar1.Size = new System.Drawing.Size(930, 40); this.radTitleBar1.Size = new System.Drawing.Size(1151, 40);
this.radTitleBar1.TabIndex = 0; this.radTitleBar1.TabIndex = 0;
this.radTitleBar1.TabStop = false; this.radTitleBar1.TabStop = false;
this.radTitleBar1.Text = "公差带设置"; this.radTitleBar1.Text = "公差带设置";
((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "公差带设置"; ((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "公差带设置";
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None; ((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).LeftColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).LeftColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).TopColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).TopColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).RightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).RightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default; ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default;
// //
// label2 // label2
// //
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top; this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.label2.AutoSize = true; this.label2.AutoSize = true;
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image"))); this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
this.label2.Location = new System.Drawing.Point(367, -5); this.label2.Location = new System.Drawing.Point(477, -5);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Padding = new System.Windows.Forms.Padding(23, 15, 23, 15); this.label2.Padding = new System.Windows.Forms.Padding(23, 15, 23, 15);
this.label2.Size = new System.Drawing.Size(46, 52); this.label2.Size = new System.Drawing.Size(46, 52);
this.label2.TabIndex = 1; this.label2.TabIndex = 1;
// //
// labTitle // labTitle
// //
this.labTitle.Anchor = System.Windows.Forms.AnchorStyles.Top; this.labTitle.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.labTitle.AutoSize = true; this.labTitle.AutoSize = true;
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F); this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
this.labTitle.ForeColor = System.Drawing.Color.White; this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(409, 8); this.labTitle.Location = new System.Drawing.Point(519, 8);
this.labTitle.Name = "labTitle"; this.labTitle.Name = "labTitle";
this.labTitle.Size = new System.Drawing.Size(107, 25); this.labTitle.Size = new System.Drawing.Size(107, 25);
this.labTitle.TabIndex = 0; this.labTitle.TabIndex = 0;
this.labTitle.Text = "公差带设置"; this.labTitle.Text = "公差带设置";
// //
// dgvTolList // dgvTolList
// //
this.dgvTolList.AllowUserToAddRows = false; this.dgvTolList.AllowUserToAddRows = false;
this.dgvTolList.AllowUserToDeleteRows = false; this.dgvTolList.AllowUserToDeleteRows = false;
this.dgvTolList.AllowUserToOrderColumns = true; this.dgvTolList.AllowUserToOrderColumns = true;
this.dgvTolList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.dgvTolList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.dgvTolList.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.dgvTolList.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.dgvTolList.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68))))); this.dgvTolList.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.dgvTolList.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dgvTolList.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.dgvTolList.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; this.dgvTolList.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68))))); dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI", 11F); dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White; dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvTolList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dgvTolList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dgvTolList.ColumnHeadersHeight = 40; this.dgvTolList.ColumnHeadersHeight = 40;
this.dgvTolList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dgvTolList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id, this.Id,
this.CarType, this.CarType,
this.MeasurePointName, this.MeasurePointName,
@@ -161,349 +164,373 @@
this.CreateTime, this.CreateTime,
this.CNCEdit, this.CNCEdit,
this.CNCDelete}); this.CNCDelete});
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dgvTolList.EnableHeadersVisualStyles = false;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; this.dgvTolList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(181)))), ((int)(((byte)(200)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("Segoe UI", 11F); this.dgvTolList.Location = new System.Drawing.Point(22, 153);
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; this.dgvTolList.Name = "dgvTolList";
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; this.dgvTolList.ReadOnly = true;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; this.dgvTolList.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
this.dgvTolList.DefaultCellStyle = dataGridViewCellStyle2; dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.dgvTolList.EnableHeadersVisualStyles = false; dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvTolList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(181)))), ((int)(((byte)(200))))); dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
this.dgvTolList.Location = new System.Drawing.Point(22, 153); dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
this.dgvTolList.Name = "dgvTolList"; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
this.dgvTolList.ReadOnly = true; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvTolList.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; this.dgvTolList.RowHeadersDefaultCellStyle = dataGridViewCellStyle2;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; this.dgvTolList.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68))))); dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
dataGridViewCellStyle3.Font = new System.Drawing.Font("Segoe UI", 11F); dataGridViewCellStyle3.Font = new System.Drawing.Font("Segoe UI", 11F);
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.White; dataGridViewCellStyle3.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186))))); dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; this.dgvTolList.RowsDefaultCellStyle = dataGridViewCellStyle3;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dgvTolList.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Segoe UI", 11F);
this.dgvTolList.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; this.dgvTolList.RowTemplate.Height = 40;
this.dgvTolList.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders; this.dgvTolList.Size = new System.Drawing.Size(1108, 775);
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68))))); this.dgvTolList.TabIndex = 17;
dataGridViewCellStyle4.Font = new System.Drawing.Font("Segoe UI", 11F); this.dgvTolList.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvTolList_CellContentClick);
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.White; this.dgvTolList.RowStateChanged += new System.Windows.Forms.DataGridViewRowStateChangedEventHandler(this.dgvTolList_RowStateChanged);
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186))))); //
this.dgvTolList.RowsDefaultCellStyle = dataGridViewCellStyle4; // Id
this.dgvTolList.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Segoe UI", 11F); //
this.dgvTolList.RowTemplate.Height = 40; this.Id.DataPropertyName = "Id";
this.dgvTolList.Size = new System.Drawing.Size(887, 775); this.Id.HeaderText = "Id";
this.dgvTolList.TabIndex = 17; this.Id.Name = "Id";
this.dgvTolList.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvTolList_CellContentClick); this.Id.ReadOnly = true;
this.dgvTolList.RowStateChanged += new System.Windows.Forms.DataGridViewRowStateChangedEventHandler(this.dgvTolList_RowStateChanged); this.Id.Visible = false;
// this.Id.Width = 47;
// radGroupBox7 //
// // CarType
this.radGroupBox7.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; //
this.radGroupBox7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) this.CarType.DataPropertyName = "CarType";
this.CarType.HeaderText = "车身类型";
this.CarType.Name = "CarType";
this.CarType.ReadOnly = true;
this.CarType.Width = 65;
//
// MeasurePointName
//
this.MeasurePointName.DataPropertyName = "MeasurePointName";
this.MeasurePointName.HeaderText = "测量点位名称";
this.MeasurePointName.Name = "MeasurePointName";
this.MeasurePointName.ReadOnly = true;
this.MeasurePointName.Width = 77;
//
// DimensionName
//
this.DimensionName.DataPropertyName = "DimensionName";
this.DimensionName.HeaderText = "尺寸名称";
this.DimensionName.Name = "DimensionName";
this.DimensionName.ReadOnly = true;
this.DimensionName.Width = 65;
//
// TolLower
//
this.TolLower.DataPropertyName = "TolLower";
this.TolLower.HeaderText = "下限值";
this.TolLower.Name = "TolLower";
this.TolLower.ReadOnly = true;
this.TolLower.Width = 65;
//
// TolUpper
//
this.TolUpper.DataPropertyName = "TolUpper";
this.TolUpper.HeaderText = "上限值";
this.TolUpper.Name = "TolUpper";
this.TolUpper.ReadOnly = true;
this.TolUpper.Width = 65;
//
// Remark
//
this.Remark.DataPropertyName = "Remark";
this.Remark.HeaderText = "备注";
this.Remark.Name = "Remark";
this.Remark.ReadOnly = true;
this.Remark.Width = 53;
//
// CreateTime
//
this.CreateTime.DataPropertyName = "CreateTime";
this.CreateTime.HeaderText = "创建时间";
this.CreateTime.Name = "CreateTime";
this.CreateTime.ReadOnly = true;
this.CreateTime.Visible = false;
this.CreateTime.Width = 98;
//
// CNCEdit
//
this.CNCEdit.HeaderText = "修改";
this.CNCEdit.Image = ((System.Drawing.Image)(resources.GetObject("CNCEdit.Image")));
this.CNCEdit.Name = "CNCEdit";
this.CNCEdit.ReadOnly = true;
this.CNCEdit.ToolTipText = "点击修改公差信息";
this.CNCEdit.Width = 34;
//
// CNCDelete
//
this.CNCDelete.HeaderText = "删除";
this.CNCDelete.Image = ((System.Drawing.Image)(resources.GetObject("CNCDelete.Image")));
this.CNCDelete.Name = "CNCDelete";
this.CNCDelete.ReadOnly = true;
this.CNCDelete.ToolTipText = "点击删除公差信息";
this.CNCDelete.Width = 34;
//
// radGroupBox7
//
this.radGroupBox7.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this.radGroupBox7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.radGroupBox7.Controls.Add(this.rtbnSearch); this.radGroupBox7.Controls.Add(this.rtbnSearch);
this.radGroupBox7.Controls.Add(this.rtbDimensionName); this.radGroupBox7.Controls.Add(this.rtbDimensionName);
this.radGroupBox7.Controls.Add(this.label3); this.radGroupBox7.Controls.Add(this.label3);
this.radGroupBox7.Controls.Add(this.rtbMesPointName); this.radGroupBox7.Controls.Add(this.rtbMesPointName);
this.radGroupBox7.Controls.Add(this.label1); this.radGroupBox7.Controls.Add(this.label1);
this.radGroupBox7.Controls.Add(this.rtbCarModel); this.radGroupBox7.Controls.Add(this.rtbCarModel);
this.radGroupBox7.Controls.Add(this.label15); this.radGroupBox7.Controls.Add(this.label15);
this.radGroupBox7.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radGroupBox7.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.radGroupBox7.HeaderAlignment = Telerik.WinControls.UI.HeaderAlignment.Center; this.radGroupBox7.HeaderAlignment = Telerik.WinControls.UI.HeaderAlignment.Center;
this.radGroupBox7.HeaderText = "查询条件"; this.radGroupBox7.HeaderText = "查询条件";
this.radGroupBox7.Location = new System.Drawing.Point(160, 51); this.radGroupBox7.Location = new System.Drawing.Point(283, 51);
this.radGroupBox7.Name = "radGroupBox7"; this.radGroupBox7.Name = "radGroupBox7";
// //
// //
// //
this.radGroupBox7.RootElement.ShadowDepth = 2; this.radGroupBox7.RootElement.ShadowDepth = 2;
this.radGroupBox7.Size = new System.Drawing.Size(749, 94); this.radGroupBox7.Size = new System.Drawing.Size(847, 94);
this.radGroupBox7.TabIndex = 456; this.radGroupBox7.TabIndex = 456;
this.radGroupBox7.Text = "查询条件"; this.radGroupBox7.Text = "查询条件";
((Telerik.WinControls.UI.RadGroupBoxElement)(this.radGroupBox7.GetChildAt(0))).HeaderAlignment = Telerik.WinControls.UI.HeaderAlignment.Center; ((Telerik.WinControls.UI.RadGroupBoxElement)(this.radGroupBox7.GetChildAt(0))).HeaderAlignment = Telerik.WinControls.UI.HeaderAlignment.Center;
((Telerik.WinControls.UI.GroupBoxContent)(this.radGroupBox7.GetChildAt(0).GetChildAt(0))).Opacity = 1D; ((Telerik.WinControls.UI.GroupBoxContent)(this.radGroupBox7.GetChildAt(0).GetChildAt(0))).Opacity = 1D;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.Transparent; ((Telerik.WinControls.Primitives.FillPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.Transparent;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).Width = 1F; ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).Width = 1F;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Solid; ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Solid;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).GradientStyle = Telerik.WinControls.GradientStyles.Solid; ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).GradientStyle = Telerik.WinControls.GradientStyles.Solid;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(0).GetChildAt(1))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.UI.GroupBoxHeader)(this.radGroupBox7.GetChildAt(0).GetChildAt(1))).GroupBoxStyle = Telerik.WinControls.UI.RadGroupBoxStyle.Standard; ((Telerik.WinControls.UI.GroupBoxHeader)(this.radGroupBox7.GetChildAt(0).GetChildAt(1))).GroupBoxStyle = Telerik.WinControls.UI.RadGroupBoxStyle.Standard;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(0))).ForeColor = System.Drawing.Color.White; ((Telerik.WinControls.Primitives.FillPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(0))).ForeColor = System.Drawing.Color.White;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53))))); ((Telerik.WinControls.Primitives.FillPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None; ((Telerik.WinControls.Primitives.FillPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
((Telerik.WinControls.Primitives.TextPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Text = "查询条件"; ((Telerik.WinControls.Primitives.TextPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Text = "查询条件";
((Telerik.WinControls.Primitives.TextPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).LineLimit = false; ((Telerik.WinControls.Primitives.TextPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).LineLimit = false;
((Telerik.WinControls.Primitives.TextPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).ForeColor = System.Drawing.Color.White; ((Telerik.WinControls.Primitives.TextPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).ForeColor = System.Drawing.Color.White;
((Telerik.WinControls.Primitives.TextPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Alignment = System.Drawing.ContentAlignment.MiddleLeft; ((Telerik.WinControls.Primitives.TextPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Alignment = System.Drawing.ContentAlignment.MiddleLeft;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(2).GetChildAt(1))).BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Solid; ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(2).GetChildAt(1))).BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Solid;
// //
// rtbnSearch // rtbnSearch
// //
this.rtbnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53))))); this.rtbnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.rtbnSearch.Font = new System.Drawing.Font("Segoe UI", 12F); this.rtbnSearch.Font = new System.Drawing.Font("Segoe UI", 12F);
this.rtbnSearch.ForeColor = System.Drawing.Color.White; this.rtbnSearch.ForeColor = System.Drawing.Color.White;
this.rtbnSearch.Location = new System.Drawing.Point(626, 28); this.rtbnSearch.Location = new System.Drawing.Point(626, 28);
this.rtbnSearch.Name = "rtbnSearch"; this.rtbnSearch.Name = "rtbnSearch";
this.rtbnSearch.Size = new System.Drawing.Size(88, 51); this.rtbnSearch.Size = new System.Drawing.Size(88, 51);
this.rtbnSearch.TabIndex = 461; this.rtbnSearch.TabIndex = 461;
this.rtbnSearch.Text = "查询"; this.rtbnSearch.Text = "查询";
this.rtbnSearch.Click += new System.EventHandler(this.rtbnSearch_Click); this.rtbnSearch.Click += new System.EventHandler(this.rtbnSearch_Click);
this.rtbnSearch.MouseLeave += new System.EventHandler(this.btn_MouseLeave); this.rtbnSearch.MouseLeave += new System.EventHandler(this.btn_MouseLeave);
this.rtbnSearch.MouseHover += new System.EventHandler(this.btn_MouseHover); this.rtbnSearch.MouseHover += new System.EventHandler(this.btn_MouseHover);
((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).Text = "查询"; ((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).Text = "查询";
((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).FocusBorderWidth = 5; ((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).FocusBorderWidth = 5;
((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).EnableHighlight = true; ((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).EnableHighlight = true;
((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).EnableBorderHighlight = true; ((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).EnableBorderHighlight = true;
((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).BorderHighlightThickness = 3; ((Telerik.WinControls.UI.RadButtonElement)(this.rtbnSearch.GetChildAt(0))).BorderHighlightThickness = 3;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).Width = 2F; ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).Width = 2F;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).LeftWidth = 3F; ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).LeftWidth = 3F;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).TopWidth = 3F; ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).TopWidth = 3F;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).RightWidth = 3F; ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).RightWidth = 3F;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).BottomWidth = 3F; ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).BottomWidth = 3F;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Solid; ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Solid;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).GradientStyle = Telerik.WinControls.GradientStyles.Solid; ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).GradientStyle = Telerik.WinControls.GradientStyles.Solid;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).ForeColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).ForeColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbnSearch.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
// //
// rtbDimensionName // rtbDimensionName
// //
this.rtbDimensionName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68))))); this.rtbDimensionName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbDimensionName.Font = new System.Drawing.Font("Segoe UI", 12F); this.rtbDimensionName.Font = new System.Drawing.Font("Segoe UI", 12F);
this.rtbDimensionName.ForeColor = System.Drawing.Color.White; this.rtbDimensionName.ForeColor = System.Drawing.Color.White;
this.rtbDimensionName.Location = new System.Drawing.Point(443, 51); this.rtbDimensionName.Location = new System.Drawing.Point(443, 51);
this.rtbDimensionName.Name = "rtbDimensionName"; this.rtbDimensionName.Name = "rtbDimensionName";
this.rtbDimensionName.Size = new System.Drawing.Size(140, 27); this.rtbDimensionName.Size = new System.Drawing.Size(140, 27);
this.rtbDimensionName.TabIndex = 460; this.rtbDimensionName.TabIndex = 460;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbDimensionName.GetChildAt(0))).Text = ""; ((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbDimensionName.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbDimensionName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbDimensionName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
// //
// label3 // label3
// //
this.label3.AutoSize = true; this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Segoe UI", 12F); this.label3.Font = new System.Drawing.Font("Segoe UI", 12F);
this.label3.ForeColor = System.Drawing.Color.White; this.label3.ForeColor = System.Drawing.Color.White;
this.label3.Location = new System.Drawing.Point(443, 27); this.label3.Location = new System.Drawing.Point(443, 27);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(95, 21); this.label3.Size = new System.Drawing.Size(95, 21);
this.label3.TabIndex = 459; this.label3.TabIndex = 459;
this.label3.Text = "尺寸名称:"; this.label3.Text = "尺寸名称:";
// //
// rtbMesPointName // rtbMesPointName
// //
this.rtbMesPointName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68))))); this.rtbMesPointName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbMesPointName.Font = new System.Drawing.Font("Segoe UI", 12F); this.rtbMesPointName.Font = new System.Drawing.Font("Segoe UI", 12F);
this.rtbMesPointName.ForeColor = System.Drawing.Color.White; this.rtbMesPointName.ForeColor = System.Drawing.Color.White;
this.rtbMesPointName.Location = new System.Drawing.Point(237, 52); this.rtbMesPointName.Location = new System.Drawing.Point(237, 52);
this.rtbMesPointName.Name = "rtbMesPointName"; this.rtbMesPointName.Name = "rtbMesPointName";
this.rtbMesPointName.Size = new System.Drawing.Size(140, 27); this.rtbMesPointName.Size = new System.Drawing.Size(140, 27);
this.rtbMesPointName.TabIndex = 458; this.rtbMesPointName.TabIndex = 458;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbMesPointName.GetChildAt(0))).Text = ""; ((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbMesPointName.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbMesPointName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbMesPointName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
// //
// label1 // label1
// //
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Segoe UI", 12F); this.label1.Font = new System.Drawing.Font("Segoe UI", 12F);
this.label1.ForeColor = System.Drawing.Color.White; this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(233, 28); this.label1.Location = new System.Drawing.Point(233, 28);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(129, 21); this.label1.Size = new System.Drawing.Size(129, 21);
this.label1.TabIndex = 457; this.label1.TabIndex = 457;
this.label1.Text = "测量点位名称:"; this.label1.Text = "测量点位名称:";
// //
// rtbCarModel // rtbCarModel
// //
this.rtbCarModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68))))); this.rtbCarModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbCarModel.Font = new System.Drawing.Font("Segoe UI", 12F); this.rtbCarModel.Font = new System.Drawing.Font("Segoe UI", 12F);
this.rtbCarModel.ForeColor = System.Drawing.Color.White; this.rtbCarModel.ForeColor = System.Drawing.Color.White;
this.rtbCarModel.Location = new System.Drawing.Point(42, 52); this.rtbCarModel.Location = new System.Drawing.Point(42, 52);
this.rtbCarModel.Name = "rtbCarModel"; this.rtbCarModel.Name = "rtbCarModel";
this.rtbCarModel.Size = new System.Drawing.Size(140, 27); this.rtbCarModel.Size = new System.Drawing.Size(140, 27);
this.rtbCarModel.TabIndex = 456; this.rtbCarModel.TabIndex = 456;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarModel.GetChildAt(0))).Text = ""; ((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarModel.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarModel.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68))))); ((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarModel.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
// //
// label15 // label15
// //
this.label15.AutoSize = true; this.label15.AutoSize = true;
this.label15.Font = new System.Drawing.Font("Segoe UI", 12F); this.label15.Font = new System.Drawing.Font("Segoe UI", 12F);
this.label15.ForeColor = System.Drawing.Color.White; this.label15.ForeColor = System.Drawing.Color.White;
this.label15.Location = new System.Drawing.Point(42, 28); this.label15.Location = new System.Drawing.Point(42, 28);
this.label15.Name = "label15"; this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(95, 21); this.label15.Size = new System.Drawing.Size(95, 21);
this.label15.TabIndex = 455; this.label15.TabIndex = 455;
this.label15.Text = "车身类型:"; this.label15.Text = "车身类型:";
// //
// dataGridViewImageColumn1 // dataGridViewImageColumn1
// //
this.dataGridViewImageColumn1.HeaderText = "修改"; this.dataGridViewImageColumn1.HeaderText = "修改";
this.dataGridViewImageColumn1.Image = ((System.Drawing.Image)(resources.GetObject("dataGridViewImageColumn1.Image"))); this.dataGridViewImageColumn1.Image = ((System.Drawing.Image)(resources.GetObject("dataGridViewImageColumn1.Image")));
this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1"; this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
this.dataGridViewImageColumn1.ReadOnly = true; this.dataGridViewImageColumn1.ReadOnly = true;
this.dataGridViewImageColumn1.ToolTipText = "点击修改机床信息"; this.dataGridViewImageColumn1.ToolTipText = "点击修改机床信息";
this.dataGridViewImageColumn1.Width = 45; this.dataGridViewImageColumn1.Width = 45;
// //
// dataGridViewImageColumn2 // dataGridViewImageColumn2
// //
this.dataGridViewImageColumn2.HeaderText = "删除"; this.dataGridViewImageColumn2.HeaderText = "删除";
this.dataGridViewImageColumn2.Image = ((System.Drawing.Image)(resources.GetObject("dataGridViewImageColumn2.Image"))); this.dataGridViewImageColumn2.Image = ((System.Drawing.Image)(resources.GetObject("dataGridViewImageColumn2.Image")));
this.dataGridViewImageColumn2.Name = "dataGridViewImageColumn2"; this.dataGridViewImageColumn2.Name = "dataGridViewImageColumn2";
this.dataGridViewImageColumn2.ReadOnly = true; this.dataGridViewImageColumn2.ReadOnly = true;
this.dataGridViewImageColumn2.ToolTipText = "点击删除机床信息"; this.dataGridViewImageColumn2.ToolTipText = "点击删除机床信息";
this.dataGridViewImageColumn2.Width = 45; this.dataGridViewImageColumn2.Width = 45;
// //
// lpcAddTol // lpcAddTol
// //
this.lpcAddTol.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53))))); this.lpcAddTol.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.lpcAddTol.Font = new System.Drawing.Font("Segoe UI", 9.75F); this.lpcAddTol.Font = new System.Drawing.Font("Segoe UI", 9.75F);
this.lpcAddTol.ForeColor = System.Drawing.Color.White; this.lpcAddTol.ForeColor = System.Drawing.Color.White;
this.lpcAddTol.LabelPoint = new System.Drawing.Point(2, 59); this.lpcAddTol.LabelPoint = new System.Drawing.Point(2, 59);
this.lpcAddTol.LabelText = "添加公差带"; this.lpcAddTol.LabelText = "添加公差带";
this.lpcAddTol.LabelTopImage = global::NSAnalysis.Properties.Resources.add_32; this.lpcAddTol.LabelTopImage = global::NSAnalysis.Properties.Resources.add_32;
this.lpcAddTol.Location = new System.Drawing.Point(22, 60); this.lpcAddTol.Location = new System.Drawing.Point(22, 60);
this.lpcAddTol.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.lpcAddTol.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.lpcAddTol.Name = "lpcAddTol"; this.lpcAddTol.Name = "lpcAddTol";
this.lpcAddTol.Size = new System.Drawing.Size(115, 85); this.lpcAddTol.Size = new System.Drawing.Size(115, 85);
this.lpcAddTol.TabIndex = 18; this.lpcAddTol.TabIndex = 18;
this.lpcAddTol.Click += new System.EventHandler(this.lpcAddTol_Click); this.lpcAddTol.Click += new System.EventHandler(this.lpcAddTol_Click);
// //
// labSearchResult // labSearchResult
// //
this.labSearchResult.Anchor = System.Windows.Forms.AnchorStyles.None; this.labSearchResult.Anchor = System.Windows.Forms.AnchorStyles.None;
this.labSearchResult.AutoSize = true; this.labSearchResult.AutoSize = true;
this.labSearchResult.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68))))); this.labSearchResult.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.labSearchResult.Font = new System.Drawing.Font("Segoe UI", 12F); this.labSearchResult.Font = new System.Drawing.Font("Segoe UI", 12F);
this.labSearchResult.ForeColor = System.Drawing.Color.Red; this.labSearchResult.ForeColor = System.Drawing.Color.Red;
this.labSearchResult.Location = new System.Drawing.Point(240, 465); this.labSearchResult.Location = new System.Drawing.Point(350, 465);
this.labSearchResult.Name = "labSearchResult"; this.labSearchResult.Name = "labSearchResult";
this.labSearchResult.Size = new System.Drawing.Size(452, 21); this.labSearchResult.Size = new System.Drawing.Size(452, 21);
this.labSearchResult.TabIndex = 457; this.labSearchResult.TabIndex = 457;
this.labSearchResult.Text = "查询完毕,未查询到任何结果,请检查查询条件是否正确!"; this.labSearchResult.Text = "查询完毕,未查询到任何结果,请检查查询条件是否正确!";
this.labSearchResult.Visible = false; this.labSearchResult.Visible = false;
// //
// Id // rbtnImportTol
// //
this.Id.DataPropertyName = "Id"; this.rbtnImportTol.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.Id.HeaderText = "Id"; this.rbtnImportTol.Font = new System.Drawing.Font("Segoe UI", 11F);
this.Id.Name = "Id"; this.rbtnImportTol.ForeColor = System.Drawing.Color.White;
this.Id.ReadOnly = true; this.rbtnImportTol.Location = new System.Drawing.Point(145, 60);
this.Id.Visible = false; this.rbtnImportTol.Name = "rbtnImportTol";
this.Id.Width = 46; this.rbtnImportTol.Size = new System.Drawing.Size(115, 38);
// this.rbtnImportTol.TabIndex = 19;
// CarType this.rbtnImportTol.Text = "批量导入";
// this.rbtnImportTol.Click += new System.EventHandler(this.rbtnImportTol_Click);
this.CarType.DataPropertyName = "CarType"; this.rbtnImportTol.MouseLeave += new System.EventHandler(this.btn_MouseLeave);
this.CarType.HeaderText = "车身类型"; this.rbtnImportTol.MouseHover += new System.EventHandler(this.btn_MouseHover);
this.CarType.Name = "CarType"; //
this.CarType.ReadOnly = true; // rbtnDownloadTemplate
this.CarType.Width = 97; //
// this.rbtnDownloadTemplate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
// MeasurePointName this.rbtnDownloadTemplate.Font = new System.Drawing.Font("Segoe UI", 11F);
// this.rbtnDownloadTemplate.ForeColor = System.Drawing.Color.White;
this.MeasurePointName.DataPropertyName = "MeasurePointName"; this.rbtnDownloadTemplate.Location = new System.Drawing.Point(145, 107);
this.MeasurePointName.HeaderText = "测量点位名称"; this.rbtnDownloadTemplate.Name = "rbtnDownloadTemplate";
this.MeasurePointName.Name = "MeasurePointName"; this.rbtnDownloadTemplate.Size = new System.Drawing.Size(115, 38);
this.MeasurePointName.ReadOnly = true; this.rbtnDownloadTemplate.TabIndex = 20;
this.MeasurePointName.Width = 129; this.rbtnDownloadTemplate.Text = "下载模板";
// this.rbtnDownloadTemplate.Click += new System.EventHandler(this.rbtnDownloadTemplate_Click);
// DimensionName this.rbtnDownloadTemplate.MouseLeave += new System.EventHandler(this.btn_MouseLeave);
// this.rbtnDownloadTemplate.MouseHover += new System.EventHandler(this.btn_MouseHover);
this.DimensionName.DataPropertyName = "DimensionName"; //
this.DimensionName.HeaderText = "尺寸名称"; // FToleranceSetup
this.DimensionName.Name = "DimensionName"; //
this.DimensionName.ReadOnly = true; this.AcceptButton = this.rtbnSearch;
this.DimensionName.Width = 97; this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
// this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
// TolLower this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
// this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.TolLower.DataPropertyName = "TolLower"; this.BorderWidth = 0;
this.TolLower.HeaderText = "下限值"; this.ClientSize = new System.Drawing.Size(1153, 950);
this.TolLower.Name = "TolLower"; this.Controls.Add(this.labSearchResult);
this.TolLower.ReadOnly = true; this.Controls.Add(this.radGroupBox7);
this.TolLower.Width = 81; this.Controls.Add(this.lpcAddTol);
// this.Controls.Add(this.rbtnImportTol);
// TolUpper this.Controls.Add(this.rbtnDownloadTemplate);
// this.Controls.Add(this.dgvTolList);
this.TolUpper.DataPropertyName = "TolUpper"; this.Controls.Add(this.radTitleBar1);
this.TolUpper.HeaderText = "上限值"; this.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.TolUpper.Name = "TolUpper"; this.ForeColor = System.Drawing.Color.White;
this.TolUpper.ReadOnly = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.TolUpper.Width = 81; this.Name = "FToleranceSetup";
// this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
// Remark this.Text = "公差带设置";
// this.Load += new System.EventHandler(this.FToleranceSetup_Load);
this.Remark.DataPropertyName = "Remark"; ((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
this.Remark.HeaderText = "备注"; this.radTitleBar1.ResumeLayout(false);
this.Remark.Name = "Remark"; this.radTitleBar1.PerformLayout();
this.Remark.ReadOnly = true; ((System.ComponentModel.ISupportInitialize)(this.dgvTolList)).EndInit();
this.Remark.Width = 65; ((System.ComponentModel.ISupportInitialize)(this.radGroupBox7)).EndInit();
// this.radGroupBox7.ResumeLayout(false);
// CreateTime this.radGroupBox7.PerformLayout();
// ((System.ComponentModel.ISupportInitialize)(this.rtbnSearch)).EndInit();
this.CreateTime.DataPropertyName = "CreateTime"; ((System.ComponentModel.ISupportInitialize)(this.rtbDimensionName)).EndInit();
this.CreateTime.HeaderText = "创建时间"; ((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).EndInit();
this.CreateTime.Name = "CreateTime"; ((System.ComponentModel.ISupportInitialize)(this.rtbCarModel)).EndInit();
this.CreateTime.ReadOnly = true; ((System.ComponentModel.ISupportInitialize)(this.rbtnImportTol)).EndInit();
this.CreateTime.Visible = false; ((System.ComponentModel.ISupportInitialize)(this.rbtnDownloadTemplate)).EndInit();
this.CreateTime.Width = 97; this.ResumeLayout(false);
// this.PerformLayout();
// CNCEdit
//
this.CNCEdit.HeaderText = "修改";
this.CNCEdit.Image = ((System.Drawing.Image)(resources.GetObject("CNCEdit.Image")));
this.CNCEdit.Name = "CNCEdit";
this.CNCEdit.ReadOnly = true;
this.CNCEdit.ToolTipText = "点击修改公差信息";
this.CNCEdit.Width = 46;
//
// CNCDelete
//
this.CNCDelete.HeaderText = "删除";
this.CNCDelete.Image = ((System.Drawing.Image)(resources.GetObject("CNCDelete.Image")));
this.CNCDelete.Name = "CNCDelete";
this.CNCDelete.ReadOnly = true;
this.CNCDelete.ToolTipText = "点击删除公差信息";
this.CNCDelete.Width = 46;
//
// FToleranceSetup
//
this.AcceptButton = this.rtbnSearch;
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.BorderWidth = 0;
this.ClientSize = new System.Drawing.Size(932, 950);
this.Controls.Add(this.labSearchResult);
this.Controls.Add(this.radGroupBox7);
this.Controls.Add(this.lpcAddTol);
this.Controls.Add(this.dgvTolList);
this.Controls.Add(this.radTitleBar1);
this.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ForeColor = System.Drawing.Color.White;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "FToleranceSetup";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "公差带设置";
this.Load += new System.EventHandler(this.FToleranceSetup_Load);
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
this.radTitleBar1.ResumeLayout(false);
this.radTitleBar1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvTolList)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radGroupBox7)).EndInit();
this.radGroupBox7.ResumeLayout(false);
this.radGroupBox7.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.rtbnSearch)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbDimensionName)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarModel)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
} }
@@ -535,5 +562,7 @@
private System.Windows.Forms.DataGridViewTextBoxColumn CreateTime; private System.Windows.Forms.DataGridViewTextBoxColumn CreateTime;
private System.Windows.Forms.DataGridViewImageColumn CNCEdit; private System.Windows.Forms.DataGridViewImageColumn CNCEdit;
private System.Windows.Forms.DataGridViewImageColumn CNCDelete; private System.Windows.Forms.DataGridViewImageColumn CNCDelete;
private Telerik.WinControls.UI.RadButton rbtnImportTol;
private Telerik.WinControls.UI.RadButton rbtnDownloadTemplate;
} }
} }
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -61,6 +61,7 @@ blacklabelUploadPath=VW316_8CM_BLZP6_FG
Level2Times=1.5 Level2Times=1.5
Level3Times=2 Level3Times=2
ReportCSVPath2=D:\QMLTest ReportCSVPath2=D:\QMLTest
NextsenseCSVEHVPath=D:\cherytestEHV
[Timer] [Timer]
;单位s ;单位s
Binary file not shown.
Binary file not shown.
+39
View File
@@ -295,6 +295,45 @@ namespace DAL
return SQLHelper.ExecuteNonQuery(strSql, CommandType.Text); return SQLHelper.ExecuteNonQuery(strSql, CommandType.Text);
} }
public int UpsertTolerance(string carType, string measPointName, string dimensionName, double tolLower, double tolUpper, string remark)
{
DataTable dt = new DataTable();
string strCheckSql = "select Id from TTolerance where CarType=@CarType and MeasurePointName=@MeasurePointName and DimensionName=@DimensionName";
SqlParameter[] checkParas = new SqlParameter[]
{
new SqlParameter("@CarType", carType),
new SqlParameter("@MeasurePointName", measPointName),
new SqlParameter("@DimensionName", dimensionName),
};
dt = SQLHelper.ExecuteQuery(strCheckSql, checkParas, CommandType.Text);
if (dt.Rows.Count > 0)
{
string id = dt.Rows[0]["Id"].ToString();
string strSql = "update TTolerance set TolLower=@TolLower,TolUpper=@TolUpper,Remark=@Remark where Id=" + id;
SqlParameter[] paras = new SqlParameter[]
{
new SqlParameter("@TolLower", tolLower),
new SqlParameter("@TolUpper", tolUpper),
new SqlParameter("@Remark", remark ?? ""),
};
return SQLHelper.ExecuteNonQuery(strSql, paras, CommandType.Text);
}
else
{
TToleranceModel ttm = new TToleranceModel
{
CarType = carType,
MeasurePointName = measPointName,
DimensionName = dimensionName,
TolLower = tolLower,
TolUpper = tolUpper,
Remark = remark ?? "",
CreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
};
return InsertTTolerance(ttm);
}
}
public int InsertTTolerance(TToleranceModel ttm) public int InsertTTolerance(TToleranceModel ttm)
{ {
string strSql = "insert into TTolerance (CarType,MeasurePointName,DimensionName,TolLower,TolUpper,CreateTime,Remark) values " + string strSql = "insert into TTolerance (CarType,MeasurePointName,DimensionName,TolLower,TolUpper,CreateTime,Remark) values " +
Binary file not shown.
Binary file not shown.