版本-v1.2.4 修复台更新尺寸缺陷

This commit is contained in:
CPL 2024-03-04 10:23:01 +08:00
parent 105df8b1d1
commit 1ea3b97ca5
13 changed files with 2887 additions and 2844 deletions

View File

@ -239,6 +239,12 @@ namespace AssistClient
return "栅线"; return "栅线";
case "ds": case "ds":
return "断栅"; return "断栅";
case "wtg":
return "未通过";
case "qs":
return "缺失";
case "dc":
return "多出";
default: default:
return "未知"; return "未知";

View File

@ -161,7 +161,7 @@
this.Name = "FrmLogin"; this.Name = "FrmLogin";
this.ShowIcon = false; this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "修复控制台 - v1.2"; this.Text = "修复控制台 - v1.2.1";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmLogin_FormClosed); this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmLogin_FormClosed);
this.Load += new System.EventHandler(this.FrmLogin_Load); this.Load += new System.EventHandler(this.FrmLogin_Load);
this.Shown += new System.EventHandler(this.FrmLogin_Shown); this.Shown += new System.EventHandler(this.FrmLogin_Shown);

View File

@ -29,11 +29,11 @@
private void InitializeComponent() private void InitializeComponent()
{ {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
this.chkSyncMove = new System.Windows.Forms.CheckBox(); this.chkSyncMove = new System.Windows.Forms.CheckBox();
this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@ -421,7 +421,7 @@
this.gpbDefectList.Margin = new System.Windows.Forms.Padding(2); this.gpbDefectList.Margin = new System.Windows.Forms.Padding(2);
this.gpbDefectList.Name = "gpbDefectList"; this.gpbDefectList.Name = "gpbDefectList";
this.gpbDefectList.Padding = new System.Windows.Forms.Padding(2); this.gpbDefectList.Padding = new System.Windows.Forms.Padding(2);
this.gpbDefectList.Size = new System.Drawing.Size(428, 377); this.gpbDefectList.Size = new System.Drawing.Size(434, 377);
this.gpbDefectList.TabIndex = 4; this.gpbDefectList.TabIndex = 4;
this.gpbDefectList.TabStop = false; this.gpbDefectList.TabStop = false;
this.gpbDefectList.Text = "缺陷明细"; this.gpbDefectList.Text = "缺陷明细";
@ -431,14 +431,14 @@
this.dgvProcess.AllowUserToAddRows = false; this.dgvProcess.AllowUserToAddRows = false;
this.dgvProcess.AllowUserToDeleteRows = false; this.dgvProcess.AllowUserToDeleteRows = false;
this.dgvProcess.AllowUserToResizeRows = false; this.dgvProcess.AllowUserToResizeRows = false;
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle11.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvProcess.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11; this.dgvProcess.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dgvProcess.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvProcess.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvProcess.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dgvProcess.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colKey, this.colKey,
@ -449,14 +449,14 @@
this.colDefectName, this.colDefectName,
this.colDefectCC, this.colDefectCC,
this.colResult}); this.colResult});
dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle14.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False; dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvProcess.DefaultCellStyle = dataGridViewCellStyle14; this.dgvProcess.DefaultCellStyle = dataGridViewCellStyle4;
this.dgvProcess.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvProcess.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvProcess.Location = new System.Drawing.Point(2, 16); this.dgvProcess.Location = new System.Drawing.Point(2, 16);
this.dgvProcess.Margin = new System.Windows.Forms.Padding(2); this.dgvProcess.Margin = new System.Windows.Forms.Padding(2);
@ -465,11 +465,11 @@
this.dgvProcess.ReadOnly = true; this.dgvProcess.ReadOnly = true;
this.dgvProcess.RowHeadersVisible = false; this.dgvProcess.RowHeadersVisible = false;
this.dgvProcess.RowHeadersWidth = 62; this.dgvProcess.RowHeadersWidth = 62;
dataGridViewCellStyle15.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgvProcess.RowsDefaultCellStyle = dataGridViewCellStyle15; this.dgvProcess.RowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvProcess.RowTemplate.Height = 30; this.dgvProcess.RowTemplate.Height = 30;
this.dgvProcess.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; this.dgvProcess.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
this.dgvProcess.Size = new System.Drawing.Size(424, 359); this.dgvProcess.Size = new System.Drawing.Size(430, 359);
this.dgvProcess.TabIndex = 3; this.dgvProcess.TabIndex = 3;
this.dgvProcess.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvProcess_CellDoubleClick); this.dgvProcess.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvProcess_CellDoubleClick);
// //
@ -496,9 +496,9 @@
// colIndex // colIndex
// //
this.colIndex.DataPropertyName = "Index"; this.colIndex.DataPropertyName = "Index";
dataGridViewCellStyle12.BackColor = System.Drawing.Color.White; dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.colIndex.DefaultCellStyle = dataGridViewCellStyle12; this.colIndex.DefaultCellStyle = dataGridViewCellStyle2;
this.colIndex.HeaderText = "索引"; this.colIndex.HeaderText = "索引";
this.colIndex.MinimumWidth = 50; this.colIndex.MinimumWidth = 50;
this.colIndex.Name = "colIndex"; this.colIndex.Name = "colIndex";
@ -509,8 +509,8 @@
// colX // colX
// //
this.colX.DataPropertyName = "X"; this.colX.DataPropertyName = "X";
dataGridViewCellStyle13.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold); dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
this.colX.DefaultCellStyle = dataGridViewCellStyle13; this.colX.DefaultCellStyle = dataGridViewCellStyle3;
this.colX.HeaderText = "X轴"; this.colX.HeaderText = "X轴";
this.colX.MinimumWidth = 50; this.colX.MinimumWidth = 50;
this.colX.Name = "colX"; this.colX.Name = "colX";
@ -738,10 +738,10 @@
this.tsbtnGoDownPT.Margin = new System.Windows.Forms.Padding(2); this.tsbtnGoDownPT.Margin = new System.Windows.Forms.Padding(2);
this.tsbtnGoDownPT.Name = "tsbtnGoDownPT"; this.tsbtnGoDownPT.Name = "tsbtnGoDownPT";
this.tsbtnGoDownPT.Size = new System.Drawing.Size(90, 46); this.tsbtnGoDownPT.Size = new System.Drawing.Size(90, 46);
this.tsbtnGoDownPT.TabIndex = 9; this.tsbtnGoDownPT.TabIndex = 10;
this.tsbtnGoDownPT.Text = "完成"; this.tsbtnGoDownPT.Text = "完成";
this.tsbtnGoDownPT.UseVisualStyleBackColor = false; this.tsbtnGoDownPT.UseVisualStyleBackColor = false;
this.tsbtnGoDownPT.Click += new System.EventHandler(this.tsbtnGoDownPT_Click); this.tsbtnGoDownPT.Click += new System.EventHandler(this.tsbtnGoDownPT_Click_1);
// //
// tsbtnPause // tsbtnPause
// //
@ -975,7 +975,7 @@
this.Name = "FrmMain"; this.Name = "FrmMain";
this.ShowIcon = false; this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "修复控制台 - v1.2"; this.Text = "修复控制台 - v1.2.1";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmMain_FormClosed); this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmMain_FormClosed);
@ -1058,7 +1058,6 @@
private System.Windows.Forms.SplitContainer splitContainer2; private System.Windows.Forms.SplitContainer splitContainer2;
private System.Windows.Forms.Panel pnlPic; private System.Windows.Forms.Panel pnlPic;
private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Button tsbtnGoDownPT;
private System.Windows.Forms.Button tsbtnPause; private System.Windows.Forms.Button tsbtnPause;
private System.Windows.Forms.GroupBox gpbLog; private System.Windows.Forms.GroupBox gpbLog;
private System.Windows.Forms.ListBox lstLog; private System.Windows.Forms.ListBox lstLog;
@ -1085,5 +1084,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn colDefectName; private System.Windows.Forms.DataGridViewTextBoxColumn colDefectName;
private System.Windows.Forms.DataGridViewTextBoxColumn colDefectCC; private System.Windows.Forms.DataGridViewTextBoxColumn colDefectCC;
private System.Windows.Forms.DataGridViewTextBoxColumn colResult; private System.Windows.Forms.DataGridViewTextBoxColumn colResult;
private System.Windows.Forms.Button tsbtnGoDownPT;
} }
} }

View File

@ -202,97 +202,97 @@ namespace AssistClient
pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
//2023-12-22 之前工程师写的存在bug屏蔽 //2023-12-22 之前工程师写的存在bug屏蔽
//pictureBox1.MouseWheel += new MouseEventHandler(pictureBox1_MouseWheel); pictureBox1.MouseWheel += new MouseEventHandler(pictureBox1_MouseWheel);
//pictureBox1.MouseMove += pictureBox1_MouseMove; pictureBox1.MouseMove += pictureBox1_MouseMove;
//pictureBox1.MouseDown += pictureBox1_MouseDown; pictureBox1.MouseDown += pictureBox1_MouseDown;
this.ActiveControl = this.pictureBox1; // 设置焦点 this.ActiveControl = this.pictureBox1; // 设置焦点
pic_size = this.pnlPic.ClientSize; pic_size = this.pnlPic.ClientSize;
} }
private void pictureBox1_MouseWheel(object sender, MouseEventArgs e) private void pictureBox1_MouseWheel(object sender, MouseEventArgs e)
{ {
Point pictureBoxPoint = this.PointToClient(Cursor.Position); //Point pictureBoxPoint = this.PointToClient(Cursor.Position);
//this.Text = $"{e.X}:{e.Y}; {pictureBoxPoint.X}:{pictureBoxPoint.Y}; {pictureBox1.Left}:{pictureBox1.Top}; " + ////this.Text = $"{e.X}:{e.Y}; {pictureBoxPoint.X}:{pictureBoxPoint.Y}; {pictureBox1.Left}:{pictureBox1.Top}; " +
// $"{this.pictureBox1.Width}:{this.pictureBox1.Height}; {this.Width}:{this.Height}; " + //// $"{this.pictureBox1.Width}:{this.pictureBox1.Height}; {this.Width}:{this.Height}; " +
// $"Cursor:{Cursor.Position.X}:{Cursor.Position.Y}"; //// $"Cursor:{Cursor.Position.X}:{Cursor.Position.Y}";
if (e.Delta > 0) //if (e.Delta > 0)
{ //{
ratio += ratioStep; // ratio += ratioStep;
if (ratio > 100) // 放大上限 // if (ratio > 100) // 放大上限
ratio = 100; // ratio = 100;
else // else
{ // {
int x = (int)(pictureBox1.Left - e.X * (e.X * 1.0d / pictureBox1.Width * ratioStep) + 0.5); // int x = (int)(pictureBox1.Left - e.X * (e.X * 1.0d / pictureBox1.Width * ratioStep) + 0.5);
int y = (int)(pictureBox1.Top - e.Y * (e.Y * 1.0d / pictureBox1.Height * ratioStep) + 0.5); // int y = (int)(pictureBox1.Top - e.Y * (e.Y * 1.0d / pictureBox1.Height * ratioStep) + 0.5);
//this.Text = $"{pictureBox1.Width}-{pic_size.Width};{ratio}{pictureBox1.Left}-{e.X}* 比例:{e.X*1.0d/pictureBox1.Width}={e.X}/{pictureBox1.Width} * {(ratioStep)}={x} | " + // //this.Text = $"{pictureBox1.Width}-{pic_size.Width};{ratio}{pictureBox1.Left}-{e.X}* 比例:{e.X*1.0d/pictureBox1.Width}={e.X}/{pictureBox1.Width} * {(ratioStep)}={x} | " +
// $"{pictureBox1.Top}-{e.Y}* {e.Y * 1.0f / pictureBox1.Height * (ratio - 1.0d)}={y}"; // // $"{pictureBox1.Top}-{e.Y}* {e.Y * 1.0f / pictureBox1.Height * (ratio - 1.0d)}={y}";
this.changePictureBoxSize(new Point(x, y), ratio); // this.changePictureBoxSize(new Point(x, y), ratio);
} // }
} //}
else if (ratio - ratioStep >= 1) //else if (ratio - ratioStep >= 1)
{ //{
ratio -= ratioStep; // ratio -= ratioStep;
//if (ratio < 0.1) // 放大下限 // //if (ratio < 0.1) // 放大下限
// ratio = 0.1; // // ratio = 0.1;
//else // //else
int x = (int)(pictureBox1.Left + e.X * (e.X * 1.0d / pictureBox1.Width * ratioStep) + 0.5); // int x = (int)(pictureBox1.Left + e.X * (e.X * 1.0d / pictureBox1.Width * ratioStep) + 0.5);
int y = (int)(pictureBox1.Top + e.Y * (e.Y * 1.0d / pictureBox1.Height * ratioStep) + 0.5); // int y = (int)(pictureBox1.Top + e.Y * (e.Y * 1.0d / pictureBox1.Height * ratioStep) + 0.5);
this.changePictureBoxSize(new Point(x, y), ratio); // this.changePictureBoxSize(new Point(x, y), ratio);
} //}
} }
private void changePictureBoxSize(Point location, double ratio) private void changePictureBoxSize(Point location, double ratio)
{ {
var picSize = pictureBox1.Size; //var picSize = pictureBox1.Size;
picSize.Width = Convert.ToInt32(picSize.Width * ratio); //picSize.Width = Convert.ToInt32(picSize.Width * ratio);
picSize.Height = Convert.ToInt32(picSize.Height * ratio); //picSize.Height = Convert.ToInt32(picSize.Height * ratio);
pictureBox1.Size = picSize; //pictureBox1.Size = picSize;
if (location.X > 0) location.X = 0; //if (location.X > 0) location.X = 0;
if (location.Y > 0) location.Y = 0; //if (location.Y > 0) location.Y = 0;
if (picSize.Width + location.X < this.pnlPic.ClientSize.Width) location.X = -(picSize.Width - this.pnlPic.ClientSize.Width); //if (picSize.Width + location.X < this.pnlPic.ClientSize.Width) location.X = -(picSize.Width - this.pnlPic.ClientSize.Width);
if (picSize.Height + location.Y < this.pnlPic.ClientSize.Height) location.Y = -(picSize.Height - this.pnlPic.ClientSize.Height); //if (picSize.Height + location.Y < this.pnlPic.ClientSize.Height) location.Y = -(picSize.Height - this.pnlPic.ClientSize.Height);
//Point location = new Point(); ////Point location = new Point();
//location.X = (this.ClientSize.Width - this.pictureBox1.Width) / 2; ////location.X = (this.ClientSize.Width - this.pictureBox1.Width) / 2;
//location.Y = (this.ClientSize.Height - this.pictureBox1.Height) / 2; ////location.Y = (this.ClientSize.Height - this.pictureBox1.Height) / 2;
this.pictureBox1.Location = location; //this.pictureBox1.Location = location;
} }
private void pictureBox1_MouseMove(object sender, MouseEventArgs e) private void pictureBox1_MouseMove(object sender, MouseEventArgs e)
{ {
try //try
{ //{
// 鼠标按下拖拽图片 // // 鼠标按下拖拽图片
if (e.Button == MouseButtons.Left) // if (e.Button == MouseButtons.Left)
{ // {
this.Text = $"{e.X}:{e.Y};{xPos}:{yPos}"; // this.Text = $"{e.X}:{e.Y};{xPos}:{yPos}";
// 限制拖拽出框 // // 限制拖拽出框
if (pictureBox1.Width > this.pnlPic.ClientSize.Width // if (pictureBox1.Width > this.pnlPic.ClientSize.Width
|| pictureBox1.Height > this.pnlPic.ClientSize.Height) // || pictureBox1.Height > this.pnlPic.ClientSize.Height)
{ // {
int moveX = e.X - xPos; // int moveX = e.X - xPos;
int moveY = e.Y - yPos; // int moveY = e.Y - yPos;
if ((pictureBox1.Left + moveX) <= 0 // if ((pictureBox1.Left + moveX) <= 0
&& (pictureBox1.Top + moveY) <= 0 // && (pictureBox1.Top + moveY) <= 0
&& (pictureBox1.Right + moveX) >= this.pnlPic.ClientSize.Width // && (pictureBox1.Right + moveX) >= this.pnlPic.ClientSize.Width
&& (pictureBox1.Bottom + moveY) >= this.pnlPic.ClientSize.Height) // && (pictureBox1.Bottom + moveY) >= this.pnlPic.ClientSize.Height)
{ // {
pictureBox1.Left += moveX;//设置x坐标. // pictureBox1.Left += moveX;//设置x坐标.
pictureBox1.Top += moveY;//设置y坐标. // pictureBox1.Top += moveY;//设置y坐标.
} // }
} // }
} // }
} //}
catch (Exception dd) //catch (Exception dd)
{ //{
MessageBox.Show(dd.Message); // MessageBox.Show(dd.Message);
} //}
} }
private void pictureBox1_MouseDown(object sender, MouseEventArgs e) private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
{ {
xPos = e.X;//当前x坐标. //xPos = e.X;//当前x坐标.
yPos = e.Y;//当前y坐标. //yPos = e.Y;//当前y坐标.
} }
#endregion #endregion
@ -599,8 +599,13 @@ namespace AssistClient
{ {
try try
{ {
AddTextEvent("下料", "检测状态...");
if (!devContainer.state || warningLevel != WarningEnum.Normal) if (!devContainer.state || warningLevel != WarningEnum.Normal)
{
AddTextEvent("下料失败", "轴状态异常!", WarningEnum.Low);
return; return;
}
AddTextEvent("下料", "开始下料!");
if (!devContainer.devAxis.isReady()) if (!devContainer.devAxis.isReady())
{ {
AddTextEvent("下料失败", "轴状态异常!", WarningEnum.Low); AddTextEvent("下料失败", "轴状态异常!", WarningEnum.Low);
@ -1037,6 +1042,12 @@ namespace AssistClient
this.dgvProcess.CurrentCell = this.dgvProcess.Rows[index].Cells["colResult"]; this.dgvProcess.CurrentCell = this.dgvProcess.Rows[index].Cells["colResult"];
this.dgvProcess.Rows[index].Cells["colResult"].Value = "已检"; this.dgvProcess.Rows[index].Cells["colResult"].Value = "已检";
})); }));
if ((defectList[index].X <= 0) || (defectList[index].Y <= 0))
{
AddTextEvent($"缺陷项", $"移动报错,当前缺陷项({index + 1})坐标:X{defectList[index].X},Y{defectList[index].Y}", WarningEnum.Low);
return;
}
while (!devContainer.devAxis.isReady(0)) Thread.Sleep(100); while (!devContainer.devAxis.isReady(0)) Thread.Sleep(100);
devContainer.devAxis.move_ptp(0, defectList[index].X, AxMoveMode.MODE1_Abs); devContainer.devAxis.move_ptp(0, defectList[index].X, AxMoveMode.MODE1_Abs);
while (!devContainer.devAxis.isReady(1)) Thread.Sleep(100); while (!devContainer.devAxis.isReady(1)) Thread.Sleep(100);
@ -1991,7 +2002,9 @@ namespace AssistClient
private void tsbtnGoDownPT_Click(object sender, EventArgs e) private void tsbtnGoDownPT_Click(object sender, EventArgs e)
{ {
Task.Run(() => this.gotoDownPT()); AddTextEvent("下料", "准备下料。。。");
// Task.Run(() => this.gotoDownPT());
gotoDownPT();
} }
private void tsbtnWarning_Click(object sender, EventArgs e) private void tsbtnWarning_Click(object sender, EventArgs e)
{ {
@ -2188,6 +2201,13 @@ namespace AssistClient
} }
} }
private void tsbtnGoDownPT_Click_1(object sender, EventArgs e)
{
AddTextEvent("下料", "准备下料。。。");
// Task.Run(() => this.gotoDownPT());
gotoDownPT();
}
private void cbxSN_KeyPress(object sender, KeyPressEventArgs e) private void cbxSN_KeyPress(object sender, KeyPressEventArgs e)
{ {
//if (e.KeyChar == (char)Keys.Enter) //if (e.KeyChar == (char)Keys.Enter)

View File

@ -458,32 +458,32 @@
<data name="tsbtnPause1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="tsbtnPause1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAW2SURBVFhH1ZZ/UFRVFMe3HG0Edve93dXGFBBFIwWH0WrU YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAW3SURBVFhH1ZZ9TFV1GMdvOW0C955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XZaGmLusKtxqe+gJyfRiYJa2CBLzLK3tIe
0Aa0B+ZCk5K7UVXLy3qESd24SXJ56nTtYsEVX4nFWoG7A+Fv+i7gaXkHrIOmLDRMNii2b983W6aj1iPg AK1AW6AUWdS89ZpWXtY9XOrGTpSLU6bpFwuu+Eos1grcHQh/03cOT8s7YB00Zd3CZZ1q//Z9xToNtR4C
YcD6Po2iABAEeFAkgewZfv7bUah+L261Vf36y8X4cfJL4gT5DZdMwt/0Mba7U6AUmc11s9oHbEJuPIgE DwLW92sUBYEQwIMiGeRMDwjcikL1u3GrrerbT84njJVfksbLb7hkEv6mj7GdHYJlpaLUzWwbtAG5CSAK
nQAfivV9GgV+4DHQDySCmeBFsDSyTbv1Of7+h1aZTD8XmNUraxRrM1llVutXG40XZ/kZy3q3bVsE7UKQ dAB8KNb3axQEgEdAX5AEZoDnwZKoVm3W5gYGHlhhsfxcqGiXVqm2ZrJC0erfMpvPzwwwl/Vq3XoltAtA
CeJAH9AROGbBp3GKKKLYBJgYCEJAKOgJwkAvEO4E/9PPeHdAfRfQARhBO+ClucHwD/yxWEeeFVEVAAAA FogHvUF74JwFv8YpoohiC2BiMAgD3UAPEA56gggX+J9+xrsC6juBdsAM2gAfzU2mfwC/MVhDDiVv1QAA
AElFTkSuQmCC AABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="tsbtnReset.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="tsbtnReset.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示: //通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyVersion("1.2.1.0")]
[assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.2.1.0")]

View File

@ -121,6 +121,7 @@
this.tabPage2 = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage();
this.tabPage4 = new System.Windows.Forms.TabPage(); this.tabPage4 = new System.Windows.Forms.TabPage();
this.flpQualifiedPannel = new System.Windows.Forms.FlowLayoutPanel(); this.flpQualifiedPannel = new System.Windows.Forms.FlowLayoutPanel();
this.cbHavePad = new System.Windows.Forms.CheckBox();
this.groupBox10.SuspendLayout(); this.groupBox10.SuspendLayout();
this.panel10.SuspendLayout(); this.panel10.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numTensionDownFloatValue)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numTensionDownFloatValue)).BeginInit();
@ -1039,6 +1040,7 @@
// panel6 // panel6
// //
this.panel6.BackColor = System.Drawing.Color.White; this.panel6.BackColor = System.Drawing.Color.White;
this.panel6.Controls.Add(this.cbHavePad);
this.panel6.Controls.Add(this.label24); this.panel6.Controls.Add(this.label24);
this.panel6.Controls.Add(this.cbMainGrid); this.panel6.Controls.Add(this.cbMainGrid);
this.panel6.Controls.Add(this.cbMarkDisturb); this.panel6.Controls.Add(this.cbMarkDisturb);
@ -1061,7 +1063,7 @@
// cbMainGrid // cbMainGrid
// //
this.cbMainGrid.AutoSize = true; this.cbMainGrid.AutoSize = true;
this.cbMainGrid.Location = new System.Drawing.Point(199, 47); this.cbMainGrid.Location = new System.Drawing.Point(158, 47);
this.cbMainGrid.Name = "cbMainGrid"; this.cbMainGrid.Name = "cbMainGrid";
this.cbMainGrid.Size = new System.Drawing.Size(72, 16); this.cbMainGrid.Size = new System.Drawing.Size(72, 16);
this.cbMainGrid.TabIndex = 1; this.cbMainGrid.TabIndex = 1;
@ -1235,6 +1237,16 @@
this.flpQualifiedPannel.Size = new System.Drawing.Size(416, 326); this.flpQualifiedPannel.Size = new System.Drawing.Size(416, 326);
this.flpQualifiedPannel.TabIndex = 0; this.flpQualifiedPannel.TabIndex = 0;
// //
// cbHavePad
//
this.cbHavePad.AutoSize = true;
this.cbHavePad.Location = new System.Drawing.Point(236, 47);
this.cbHavePad.Name = "cbHavePad";
this.cbHavePad.Size = new System.Drawing.Size(102, 16);
this.cbHavePad.TabIndex = 6;
this.cbHavePad.Text = "是否存在Pad点";
this.cbHavePad.UseVisualStyleBackColor = true;
//
// FrmProductInfo // FrmProductInfo
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@ -1392,5 +1404,6 @@
private System.Windows.Forms.CheckBox cbMainGrid; private System.Windows.Forms.CheckBox cbMainGrid;
private System.Windows.Forms.CheckBox cbMarkDisturb; private System.Windows.Forms.CheckBox cbMarkDisturb;
private System.Windows.Forms.Label label24; private System.Windows.Forms.Label label24;
private System.Windows.Forms.CheckBox cbHavePad;
} }
} }

View File

@ -76,6 +76,8 @@ namespace ProductionControl
this.cbMarkDisturb.Checked = (m.MarkDisturb == 1); this.cbMarkDisturb.Checked = (m.MarkDisturb == 1);
this.cbMainGrid.Checked = (m.MainGrid == 1); this.cbMainGrid.Checked = (m.MainGrid == 1);
this.cbHavePad.Checked = (m.HavePad == 1);
Models.Attachment attachmentFile = model.AttachmentList.FirstOrDefault(x => x.Type == 0); Models.Attachment attachmentFile = model.AttachmentList.FirstOrDefault(x => x.Type == 0);
if (attachmentFile!=null) if (attachmentFile!=null)
{ {
@ -240,6 +242,7 @@ namespace ProductionControl
//2023-12-18 主栅 //2023-12-18 主栅
model.MarkDisturb = this.cbMarkDisturb.Checked?1:0; model.MarkDisturb = this.cbMarkDisturb.Checked?1:0;
model.MainGrid = this.cbMainGrid.Checked ? 1 : 0; model.MainGrid = this.cbMainGrid.Checked ? 1 : 0;
model.HavePad = this.cbHavePad.Checked?1: 0;
bool result; bool result;
if (model.Id == 0) if (model.Id == 0)
@ -336,6 +339,8 @@ namespace ProductionControl
//2023-12-18 //2023-12-18
int tMarkDistrub = this.cbMarkDisturb.Checked ? 1 : 0; int tMarkDistrub = this.cbMarkDisturb.Checked ? 1 : 0;
int tMainGrid = this.cbMainGrid.Checked ? 1 : 0; int tMainGrid = this.cbMainGrid.Checked ? 1 : 0;
//2024-1-24
int tHavePad = this.cbHavePad.Checked ? 1 : 0;
Task.Run(() => Task.Run(() =>
{ {
@ -344,7 +349,7 @@ namespace ProductionControl
//2023-11-3 mark //2023-11-3 mark
//yolo.gerber2image(targFilePath, bmpPath); //yolo.gerber2image(targFilePath, bmpPath);
double[] markParam = new double[6]; double[] markParam = new double[7];
if(tempClass.Contains("乳剂")) if(tempClass.Contains("乳剂"))
markParam[0] = 2; markParam[0] = 2;
else if (tempClass.Contains("PI")) else if (tempClass.Contains("PI"))
@ -359,6 +364,7 @@ namespace ProductionControl
markParam[3] = 1; markParam[3] = 1;
markParam[4] = 0; markParam[4] = 0;
markParam[5] = 0; markParam[5] = 0;
markParam[6] = 0;
} }
else else
{ {
@ -367,6 +373,7 @@ namespace ProductionControl
markParam[3] = tempIndex == 1 ? 0 : 1; markParam[3] = tempIndex == 1 ? 0 : 1;
markParam[4] = tMarkDistrub; markParam[4] = tMarkDistrub;
markParam[5] = tMainGrid; markParam[5] = tMainGrid;
markParam[6] = tHavePad;
} }
yolo.gerber2image(targFilePath, bmpPath, markParam); yolo.gerber2image(targFilePath, bmpPath, markParam);

View File

@ -127,16 +127,16 @@
<data name="tsbtnSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="tsbtnSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1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0DqOvyEI/pr6ejwDlM/dDBAEp4Wo3hVZvAIoEyEngLHHhYjj5+SzZ3n67QA1VrsS
MLE8PS/BT+rqJRDJM29Y/JT8ptOv5Sp3swnLxDPADV2CeeCLg7qh1DEvan0UPQcmTy3P229CiZan9w4I mFienpfgkrp6AUTy0hsWD5LfePq1XOVuNmGZeAY4p0swA/x9n24odcyLWh9FQ8DkT8vz/zehRMvTeweE
OQdC9MMCPtHH/1HjLvjbPqqnH7n6EZ0zQPZHqY36TvDD9RDSyI/mbA6pW8dZVCbNAgTBA1p0VF9UErOz nAYhnsEcPtXH26hxF3z+CdXTj1z9iM4ZIPuj1EZ9J/jheghp5KY5m0Pq1nEWlUmzAEHQRYt264tKYmrq
P2iXp8zZGqhS6aTFL6kf3H+7iiJwUvfFvSwB/AOYeWWRyPCtmgAAAABJRU5ErkJggg== gnZ5zJytgSqVB7R4lPrB/berKALf6b64lyWAG3A0ZYu/HkZSAAAAAElFTkSuQmCC
</value> </value>
</data> </data>
<data name="tsbtnAddFile.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="tsbtnAddFile.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@ -11,8 +11,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Service", "..\Service\Servi
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssistClient", "..\AssistClient\AssistClient.csproj", "{3988AF04-DF89-4BBB-BEC9-92CDAF3BCC9D}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssistClient", "..\AssistClient\AssistClient.csproj", "{3988AF04-DF89-4BBB-BEC9-92CDAF3BCC9D}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZDUtilLib", "..\..\Zhide\ZDUtilLib\ZDUtilLib.csproj", "{AEE51E6A-2AE7-4088-A5AD-C133D36BDE1D}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
@ -53,14 +51,6 @@ Global
{3988AF04-DF89-4BBB-BEC9-92CDAF3BCC9D}.Release|Any CPU.Build.0 = Release|Any CPU {3988AF04-DF89-4BBB-BEC9-92CDAF3BCC9D}.Release|Any CPU.Build.0 = Release|Any CPU
{3988AF04-DF89-4BBB-BEC9-92CDAF3BCC9D}.Release|x64.ActiveCfg = Release|Any CPU {3988AF04-DF89-4BBB-BEC9-92CDAF3BCC9D}.Release|x64.ActiveCfg = Release|Any CPU
{3988AF04-DF89-4BBB-BEC9-92CDAF3BCC9D}.Release|x64.Build.0 = Release|Any CPU {3988AF04-DF89-4BBB-BEC9-92CDAF3BCC9D}.Release|x64.Build.0 = Release|Any CPU
{AEE51E6A-2AE7-4088-A5AD-C133D36BDE1D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AEE51E6A-2AE7-4088-A5AD-C133D36BDE1D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AEE51E6A-2AE7-4088-A5AD-C133D36BDE1D}.Debug|x64.ActiveCfg = Debug|Any CPU
{AEE51E6A-2AE7-4088-A5AD-C133D36BDE1D}.Debug|x64.Build.0 = Debug|Any CPU
{AEE51E6A-2AE7-4088-A5AD-C133D36BDE1D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AEE51E6A-2AE7-4088-A5AD-C133D36BDE1D}.Release|Any CPU.Build.0 = Release|Any CPU
{AEE51E6A-2AE7-4088-A5AD-C133D36BDE1D}.Release|x64.ActiveCfg = Release|Any CPU
{AEE51E6A-2AE7-4088-A5AD-C133D36BDE1D}.Release|x64.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

View File

@ -118,6 +118,10 @@ namespace Models
//2023-12-18 加入mark干扰判断是否主栅 //2023-12-18 加入mark干扰判断是否主栅
public int MarkDisturb { get; set; } public int MarkDisturb { get; set; }
public int MainGrid { get; set; } public int MainGrid { get; set; }
//2024-1-24 加入是否存在pad点
[SugarColumn(IsNullable = true)]
public int HavePad { get; set; }
} }
/// <summary> /// <summary>
/// 结束的批次才加入 /// 结束的批次才加入

View File

@ -28,3 +28,6 @@ V1.2.3
4.增加pt和线宽补偿 4.增加pt和线宽补偿
V1.2.4 V1.2.4
1.修复自动删除图片设置天数存在小数点之后不起效问题1 1.修复自动删除图片设置天数存在小数点之后不起效问题1
2.加入pad点检测
V1.2.4:
新增比对缺陷wtg未通过 qs缺失 dc多出 按顺序展示在修复台