提交
This commit is contained in:
parent
6973d39cad
commit
ae5c1122ed
36
DHSoftware/MainWindow.Designer.cs
generated
36
DHSoftware/MainWindow.Designer.cs
generated
@ -53,7 +53,6 @@
|
|||||||
dgvCamreaNums = new DataGridView();
|
dgvCamreaNums = new DataGridView();
|
||||||
panelNums = new AntdUI.Panel();
|
panelNums = new AntdUI.Panel();
|
||||||
tableLayoutNums = new TableLayoutPanel();
|
tableLayoutNums = new TableLayoutPanel();
|
||||||
dgvProductNums = new DataGridView();
|
|
||||||
tableLayoutPanel3 = new TableLayoutPanel();
|
tableLayoutPanel3 = new TableLayoutPanel();
|
||||||
lblTotalTime = new Label();
|
lblTotalTime = new Label();
|
||||||
label1 = new Label();
|
label1 = new Label();
|
||||||
@ -94,7 +93,6 @@
|
|||||||
((System.ComponentModel.ISupportInitialize)dgvCamreaNums).BeginInit();
|
((System.ComponentModel.ISupportInitialize)dgvCamreaNums).BeginInit();
|
||||||
panelNums.SuspendLayout();
|
panelNums.SuspendLayout();
|
||||||
tableLayoutNums.SuspendLayout();
|
tableLayoutNums.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)dgvProductNums).BeginInit();
|
|
||||||
tableLayoutPanel3.SuspendLayout();
|
tableLayoutPanel3.SuspendLayout();
|
||||||
panel1.SuspendLayout();
|
panel1.SuspendLayout();
|
||||||
panel3.SuspendLayout();
|
panel3.SuspendLayout();
|
||||||
@ -145,9 +143,9 @@
|
|||||||
// tabPage3
|
// tabPage3
|
||||||
//
|
//
|
||||||
tabPage3.Controls.Add(panel7);
|
tabPage3.Controls.Add(panel7);
|
||||||
tabPage3.Location = new Point(3, 28);
|
tabPage3.Location = new Point(3, 3);
|
||||||
tabPage3.Name = "tabPage3";
|
tabPage3.Name = "tabPage3";
|
||||||
tabPage3.Size = new Size(574, 145);
|
tabPage3.Size = new Size(574, 170);
|
||||||
tabPage3.TabIndex = 0;
|
tabPage3.TabIndex = 0;
|
||||||
tabPage3.Text = "日志";
|
tabPage3.Text = "日志";
|
||||||
//
|
//
|
||||||
@ -156,7 +154,7 @@
|
|||||||
panel7.Dock = DockStyle.Fill;
|
panel7.Dock = DockStyle.Fill;
|
||||||
panel7.Location = new Point(0, 0);
|
panel7.Location = new Point(0, 0);
|
||||||
panel7.Name = "panel7";
|
panel7.Name = "panel7";
|
||||||
panel7.Size = new Size(574, 145);
|
panel7.Size = new Size(574, 170);
|
||||||
panel7.TabIndex = 2;
|
panel7.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// tabMain
|
// tabMain
|
||||||
@ -296,7 +294,6 @@
|
|||||||
//
|
//
|
||||||
tableLayoutNums.ColumnCount = 1;
|
tableLayoutNums.ColumnCount = 1;
|
||||||
tableLayoutNums.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
tableLayoutNums.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
||||||
tableLayoutNums.Controls.Add(dgvProductNums, 0, 0);
|
|
||||||
tableLayoutNums.Controls.Add(tableLayoutPanel3, 0, 1);
|
tableLayoutNums.Controls.Add(tableLayoutPanel3, 0, 1);
|
||||||
tableLayoutNums.Dock = DockStyle.Fill;
|
tableLayoutNums.Dock = DockStyle.Fill;
|
||||||
tableLayoutNums.Location = new Point(0, 0);
|
tableLayoutNums.Location = new Point(0, 0);
|
||||||
@ -308,31 +305,6 @@
|
|||||||
tableLayoutNums.Size = new Size(338, 101);
|
tableLayoutNums.Size = new Size(338, 101);
|
||||||
tableLayoutNums.TabIndex = 8;
|
tableLayoutNums.TabIndex = 8;
|
||||||
//
|
//
|
||||||
// dgvProductNums
|
|
||||||
//
|
|
||||||
dgvProductNums.AllowUserToAddRows = false;
|
|
||||||
dgvProductNums.AllowUserToDeleteRows = false;
|
|
||||||
dgvProductNums.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
||||||
dgvProductNums.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells;
|
|
||||||
dgvProductNums.BackgroundColor = SystemColors.Control;
|
|
||||||
dgvProductNums.BorderStyle = BorderStyle.None;
|
|
||||||
dgvProductNums.CellBorderStyle = DataGridViewCellBorderStyle.SunkenHorizontal;
|
|
||||||
dgvProductNums.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.None;
|
|
||||||
dgvProductNums.ColumnHeadersHeight = 4;
|
|
||||||
dgvProductNums.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
||||||
dgvProductNums.ColumnHeadersVisible = false;
|
|
||||||
dgvProductNums.Dock = DockStyle.Fill;
|
|
||||||
dgvProductNums.Location = new Point(3, 10);
|
|
||||||
dgvProductNums.Margin = new Padding(3, 10, 3, 0);
|
|
||||||
dgvProductNums.MultiSelect = false;
|
|
||||||
dgvProductNums.Name = "dgvProductNums";
|
|
||||||
dgvProductNums.ReadOnly = true;
|
|
||||||
dgvProductNums.RowHeadersBorderStyle = DataGridViewHeaderBorderStyle.None;
|
|
||||||
dgvProductNums.RowHeadersVisible = false;
|
|
||||||
dgvProductNums.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
||||||
dgvProductNums.Size = new Size(332, 40);
|
|
||||||
dgvProductNums.TabIndex = 10;
|
|
||||||
//
|
|
||||||
// tableLayoutPanel3
|
// tableLayoutPanel3
|
||||||
//
|
//
|
||||||
tableLayoutPanel3.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
tableLayoutPanel3.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
@ -719,7 +691,6 @@
|
|||||||
((System.ComponentModel.ISupportInitialize)dgvCamreaNums).EndInit();
|
((System.ComponentModel.ISupportInitialize)dgvCamreaNums).EndInit();
|
||||||
panelNums.ResumeLayout(false);
|
panelNums.ResumeLayout(false);
|
||||||
tableLayoutNums.ResumeLayout(false);
|
tableLayoutNums.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)dgvProductNums).EndInit();
|
|
||||||
tableLayoutPanel3.ResumeLayout(false);
|
tableLayoutPanel3.ResumeLayout(false);
|
||||||
tableLayoutPanel3.PerformLayout();
|
tableLayoutPanel3.PerformLayout();
|
||||||
panel1.ResumeLayout(false);
|
panel1.ResumeLayout(false);
|
||||||
@ -778,7 +749,6 @@
|
|||||||
// private Label label7;
|
// private Label label7;
|
||||||
// private AntdUI.Panel pnlLog;
|
// private AntdUI.Panel pnlLog;
|
||||||
private AntdUI.Label lbInBackend;
|
private AntdUI.Label lbInBackend;
|
||||||
private DataGridView dgvProductNums;
|
|
||||||
private TableLayoutPanel tableLayoutPanel3;
|
private TableLayoutPanel tableLayoutPanel3;
|
||||||
private AntdUI.Button btnCreateBatchNO;
|
private AntdUI.Button btnCreateBatchNO;
|
||||||
private AntdUI.Input textBoxBatchNO;
|
private AntdUI.Input textBoxBatchNO;
|
||||||
|
@ -546,12 +546,6 @@ namespace DHSoftware
|
|||||||
#region CameraSum
|
#region CameraSum
|
||||||
private void InitialCameraSumsView()
|
private void InitialCameraSumsView()
|
||||||
{
|
{
|
||||||
dgvProductNums.AutoGenerateColumns = false;
|
|
||||||
|
|
||||||
dgvProductNums.DefaultCellStyle.Font = new Font("Tahoma", 12, FontStyle.Regular, GraphicsUnit.World);
|
|
||||||
|
|
||||||
dgvProductNums.DataSource = null;
|
|
||||||
dgvProductNums.DataSource = ProductSummaries;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -917,7 +911,7 @@ namespace DHSoftware
|
|||||||
this.Invoke(new Action(() =>
|
this.Invoke(new Action(() =>
|
||||||
{
|
{
|
||||||
|
|
||||||
dgvProductNums.DataSource = new BindingList<ProductSummary>(ProductSummaries);
|
|
||||||
|
|
||||||
//if (dgvProductNums.Rows.Count > 0)
|
//if (dgvProductNums.Rows.Count > 0)
|
||||||
//{
|
//{
|
||||||
@ -1073,6 +1067,7 @@ namespace DHSoftware
|
|||||||
private Thread _monitorThread;
|
private Thread _monitorThread;
|
||||||
private void MainWindow_Load(object sender, EventArgs e)
|
private void MainWindow_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
//开启按钮监听
|
//开启按钮监听
|
||||||
// 启动所有监控线程
|
// 启动所有监控线程
|
||||||
StartAllMonitors();
|
StartAllMonitors();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user