|
|
|
@ -28,12 +28,13 @@ |
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent() |
|
|
|
{ |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.components = new System.ComponentModel.Container(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = 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(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.uLabel3 = new WinFormControl.ULabel(); |
|
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.taskDataGrid = new WinFormControl.UDataGridView(); |
|
|
|
@ -49,10 +50,7 @@ |
|
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
|
this.statisticNumberBox = new System.Windows.Forms.TextBox(); |
|
|
|
this.label1 = new System.Windows.Forms.Label(); |
|
|
|
this.logBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.msglbl = new System.Windows.Forms.Label(); |
|
|
|
this.closeBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.uWeightControl1 = new ButcherFactory.Controls.WeightControl(); |
|
|
|
this.barPrintCheck = new System.Windows.Forms.CheckBox(); |
|
|
|
this.uTimerLabel1 = new WinFormControl.UTimerLabel(); |
|
|
|
this.productBatchSelect = new System.Windows.Forms.ComboBox(); |
|
|
|
@ -61,17 +59,27 @@ |
|
|
|
this.uLabel2 = new WinFormControl.ULabel(); |
|
|
|
this.netStateWatch1 = new WinFormControl.NetStateWatch(); |
|
|
|
this.splitContainer2 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.goodsSetBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.flowLayoutPanel4 = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.flowLayoutPanel3 = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components); |
|
|
|
this.serialPort1 = new System.IO.Ports.SerialPort(this.components); |
|
|
|
this.weightSwitch = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.zeroBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.roundPanel2 = new ButcherFactory.Controls.RoundPanel(this.components); |
|
|
|
this.labelStable = new System.Windows.Forms.Label(); |
|
|
|
this.labelZero = new System.Windows.Forms.Label(); |
|
|
|
this.lblChengZhong = new System.Windows.Forms.Label(); |
|
|
|
this.logBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.closeBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.goodsSetBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.colorButton2 = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.viewTaskBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.colorButton1 = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.deleteBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.rePrintBtn = new ButcherFactory.Controls.ColorButton(); |
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.flowLayoutPanel4 = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.flowLayoutPanel3 = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.groupBox2.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.taskDataGrid)).BeginInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
|
@ -83,6 +91,7 @@ |
|
|
|
this.splitContainer2.Panel2.SuspendLayout(); |
|
|
|
this.splitContainer2.SuspendLayout(); |
|
|
|
this.groupBox1.SuspendLayout(); |
|
|
|
this.roundPanel2.SuspendLayout(); |
|
|
|
this.SuspendLayout(); |
|
|
|
//
|
|
|
|
// uLabel3
|
|
|
|
@ -92,7 +101,7 @@ |
|
|
|
this.uLabel3.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
this.uLabel3.Location = new System.Drawing.Point(8, 0); |
|
|
|
this.uLabel3.Name = "uLabel3"; |
|
|
|
this.uLabel3.Size = new System.Drawing.Size(72, 16); |
|
|
|
this.uLabel3.Size = new System.Drawing.Size(71, 16); |
|
|
|
this.uLabel3.TabIndex = 1; |
|
|
|
this.uLabel3.Text = "生产历史"; |
|
|
|
//
|
|
|
|
@ -112,15 +121,15 @@ |
|
|
|
this.taskDataGrid.AllowUserToDeleteRows = false; |
|
|
|
this.taskDataGrid.AllowUserToResizeColumns = false; |
|
|
|
this.taskDataGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.taskDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7; |
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.taskDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; |
|
|
|
this.taskDataGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.taskDataGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle8.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.taskDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8; |
|
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.taskDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; |
|
|
|
this.taskDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.taskDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.T_Item, |
|
|
|
@ -133,9 +142,9 @@ |
|
|
|
this.taskDataGrid.Name = "taskDataGrid"; |
|
|
|
this.taskDataGrid.ReadOnly = true; |
|
|
|
this.taskDataGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.taskDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle12; |
|
|
|
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.taskDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle6; |
|
|
|
this.taskDataGrid.RowTemplate.Height = 23; |
|
|
|
this.taskDataGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.taskDataGrid.Size = new System.Drawing.Size(442, 96); |
|
|
|
@ -152,8 +161,8 @@ |
|
|
|
//
|
|
|
|
this.T_Need.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.T_Need.DataPropertyName = "Need"; |
|
|
|
dataGridViewCellStyle9.Format = "#0.######"; |
|
|
|
this.T_Need.DefaultCellStyle = dataGridViewCellStyle9; |
|
|
|
dataGridViewCellStyle3.Format = "#0.######"; |
|
|
|
this.T_Need.DefaultCellStyle = dataGridViewCellStyle3; |
|
|
|
this.T_Need.HeaderText = "订货"; |
|
|
|
this.T_Need.Name = "T_Need"; |
|
|
|
this.T_Need.ReadOnly = true; |
|
|
|
@ -162,8 +171,8 @@ |
|
|
|
//
|
|
|
|
this.T_Done.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.T_Done.DataPropertyName = "Done"; |
|
|
|
dataGridViewCellStyle10.Format = "#0.######"; |
|
|
|
this.T_Done.DefaultCellStyle = dataGridViewCellStyle10; |
|
|
|
dataGridViewCellStyle4.Format = "#0.######"; |
|
|
|
this.T_Done.DefaultCellStyle = dataGridViewCellStyle4; |
|
|
|
this.T_Done.HeaderText = "完工"; |
|
|
|
this.T_Done.Name = "T_Done"; |
|
|
|
this.T_Done.ReadOnly = true; |
|
|
|
@ -172,8 +181,8 @@ |
|
|
|
//
|
|
|
|
this.T_Last.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.T_Last.DataPropertyName = "Last"; |
|
|
|
dataGridViewCellStyle11.Format = "#0.######"; |
|
|
|
this.T_Last.DefaultCellStyle = dataGridViewCellStyle11; |
|
|
|
dataGridViewCellStyle5.Format = "#0.######"; |
|
|
|
this.T_Last.DefaultCellStyle = dataGridViewCellStyle5; |
|
|
|
this.T_Last.HeaderText = "剩余"; |
|
|
|
this.T_Last.Name = "T_Last"; |
|
|
|
this.T_Last.ReadOnly = true; |
|
|
|
@ -186,7 +195,7 @@ |
|
|
|
this.GoodsLabel.ForeColor = System.Drawing.Color.Blue; |
|
|
|
this.GoodsLabel.Location = new System.Drawing.Point(144, 178); |
|
|
|
this.GoodsLabel.Name = "GoodsLabel"; |
|
|
|
this.GoodsLabel.Size = new System.Drawing.Size(72, 16); |
|
|
|
this.GoodsLabel.Size = new System.Drawing.Size(71, 16); |
|
|
|
this.GoodsLabel.TabIndex = 1; |
|
|
|
this.GoodsLabel.Text = "存货名称"; |
|
|
|
//
|
|
|
|
@ -202,6 +211,9 @@ |
|
|
|
//
|
|
|
|
// splitContainer1.Panel1
|
|
|
|
//
|
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.weightSwitch); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.zeroBtn); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.roundPanel2); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.butcherDateBox); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.label3); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.numberInput); |
|
|
|
@ -211,7 +223,6 @@ |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.logBtn); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.msglbl); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.closeBtn); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.uWeightControl1); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.barPrintCheck); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.uTimerLabel1); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.productBatchSelect); |
|
|
|
@ -288,21 +299,6 @@ |
|
|
|
this.label1.TabIndex = 26; |
|
|
|
this.label1.Text = "统计数量:"; |
|
|
|
//
|
|
|
|
// logBtn
|
|
|
|
//
|
|
|
|
this.logBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.logBtn.BackColor = System.Drawing.Color.CadetBlue; |
|
|
|
this.logBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.logBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
this.logBtn.Location = new System.Drawing.Point(680, 4); |
|
|
|
this.logBtn.Name = "logBtn"; |
|
|
|
this.logBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(234)))), ((int)(((byte)(106))))); |
|
|
|
this.logBtn.Size = new System.Drawing.Size(101, 41); |
|
|
|
this.logBtn.TabIndex = 25; |
|
|
|
this.logBtn.Text = "日志"; |
|
|
|
this.logBtn.UseVisualStyleBackColor = false; |
|
|
|
this.logBtn.Click += new System.EventHandler(this.logBtn_Click); |
|
|
|
//
|
|
|
|
// msglbl
|
|
|
|
//
|
|
|
|
this.msglbl.AutoSize = true; |
|
|
|
@ -313,30 +309,6 @@ |
|
|
|
this.msglbl.TabIndex = 24; |
|
|
|
this.msglbl.Text = "正在获取基础信息"; |
|
|
|
//
|
|
|
|
// closeBtn
|
|
|
|
//
|
|
|
|
this.closeBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.closeBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(25))))); |
|
|
|
this.closeBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.closeBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
this.closeBtn.Location = new System.Drawing.Point(1109, 7); |
|
|
|
this.closeBtn.Name = "closeBtn"; |
|
|
|
this.closeBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(234)))), ((int)(((byte)(106))))); |
|
|
|
this.closeBtn.Size = new System.Drawing.Size(111, 41); |
|
|
|
this.closeBtn.TabIndex = 18; |
|
|
|
this.closeBtn.Text = "关闭"; |
|
|
|
this.closeBtn.UseVisualStyleBackColor = false; |
|
|
|
this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); |
|
|
|
//
|
|
|
|
// uWeightControl1
|
|
|
|
//
|
|
|
|
this.uWeightControl1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.uWeightControl1.Location = new System.Drawing.Point(12, 7); |
|
|
|
this.uWeightControl1.Name = "uWeightControl1"; |
|
|
|
this.uWeightControl1.Size = new System.Drawing.Size(262, 74); |
|
|
|
this.uWeightControl1.TabIndex = 17; |
|
|
|
this.uWeightControl1.WeightFalg = null; |
|
|
|
//
|
|
|
|
// barPrintCheck
|
|
|
|
//
|
|
|
|
this.barPrintCheck.AutoSize = true; |
|
|
|
@ -357,7 +329,7 @@ |
|
|
|
this.uTimerLabel1.Format = "M月d日 H:mm:ss"; |
|
|
|
this.uTimerLabel1.Location = new System.Drawing.Point(1084, 53); |
|
|
|
this.uTimerLabel1.Name = "uTimerLabel1"; |
|
|
|
this.uTimerLabel1.Size = new System.Drawing.Size(136, 16); |
|
|
|
this.uTimerLabel1.Size = new System.Drawing.Size(135, 16); |
|
|
|
this.uTimerLabel1.TabIndex = 14; |
|
|
|
this.uTimerLabel1.Text = "4月21日 16:32:19"; |
|
|
|
//
|
|
|
|
@ -441,21 +413,6 @@ |
|
|
|
this.splitContainer2.SplitterDistance = 761; |
|
|
|
this.splitContainer2.TabIndex = 0; |
|
|
|
//
|
|
|
|
// goodsSetBtn
|
|
|
|
//
|
|
|
|
this.goodsSetBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.goodsSetBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(135)))), ((int)(((byte)(245))))); |
|
|
|
this.goodsSetBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.goodsSetBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
this.goodsSetBtn.Location = new System.Drawing.Point(645, 3); |
|
|
|
this.goodsSetBtn.Name = "goodsSetBtn"; |
|
|
|
this.goodsSetBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(234)))), ((int)(((byte)(106))))); |
|
|
|
this.goodsSetBtn.Size = new System.Drawing.Size(111, 62); |
|
|
|
this.goodsSetBtn.TabIndex = 19; |
|
|
|
this.goodsSetBtn.Text = "产品设置"; |
|
|
|
this.goodsSetBtn.UseVisualStyleBackColor = false; |
|
|
|
this.goodsSetBtn.Click += new System.EventHandler(this.goodsSetBtn_Click); |
|
|
|
//
|
|
|
|
// flowLayoutPanel2
|
|
|
|
//
|
|
|
|
this.flowLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
@ -478,6 +435,179 @@ |
|
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(640, 70); |
|
|
|
this.flowLayoutPanel1.TabIndex = 22; |
|
|
|
//
|
|
|
|
// groupBox1
|
|
|
|
//
|
|
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left))); |
|
|
|
this.groupBox1.Controls.Add(this.flowLayoutPanel4); |
|
|
|
this.groupBox1.Controls.Add(this.flowLayoutPanel3); |
|
|
|
this.groupBox1.Controls.Add(this.uLabel3); |
|
|
|
this.groupBox1.Location = new System.Drawing.Point(8, 222); |
|
|
|
this.groupBox1.Name = "groupBox1"; |
|
|
|
this.groupBox1.Padding = new System.Windows.Forms.Padding(5); |
|
|
|
this.groupBox1.Size = new System.Drawing.Size(447, 381); |
|
|
|
this.groupBox1.TabIndex = 5; |
|
|
|
this.groupBox1.TabStop = false; |
|
|
|
//
|
|
|
|
// flowLayoutPanel4
|
|
|
|
//
|
|
|
|
this.flowLayoutPanel4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.flowLayoutPanel4.AutoScroll = true; |
|
|
|
this.flowLayoutPanel4.Location = new System.Drawing.Point(5, 90); |
|
|
|
this.flowLayoutPanel4.Name = "flowLayoutPanel4"; |
|
|
|
this.flowLayoutPanel4.Size = new System.Drawing.Size(437, 286); |
|
|
|
this.flowLayoutPanel4.TabIndex = 5; |
|
|
|
//
|
|
|
|
// flowLayoutPanel3
|
|
|
|
//
|
|
|
|
this.flowLayoutPanel3.AutoScroll = true; |
|
|
|
this.flowLayoutPanel3.BackColor = System.Drawing.Color.White; |
|
|
|
this.flowLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Top; |
|
|
|
this.flowLayoutPanel3.Location = new System.Drawing.Point(5, 19); |
|
|
|
this.flowLayoutPanel3.Margin = new System.Windows.Forms.Padding(0); |
|
|
|
this.flowLayoutPanel3.Name = "flowLayoutPanel3"; |
|
|
|
this.flowLayoutPanel3.Size = new System.Drawing.Size(437, 68); |
|
|
|
this.flowLayoutPanel3.TabIndex = 4; |
|
|
|
this.flowLayoutPanel3.WrapContents = false; |
|
|
|
//
|
|
|
|
// timer1
|
|
|
|
//
|
|
|
|
this.timer1.Interval = 50; |
|
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick); |
|
|
|
//
|
|
|
|
// serialPort1
|
|
|
|
//
|
|
|
|
this.serialPort1.PortName = "COM3"; |
|
|
|
//
|
|
|
|
// weightSwitch
|
|
|
|
//
|
|
|
|
this.weightSwitch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(135)))), ((int)(((byte)(245))))); |
|
|
|
this.weightSwitch.Font = new System.Drawing.Font("宋体", 10F); |
|
|
|
this.weightSwitch.ForeColor = System.Drawing.Color.White; |
|
|
|
this.weightSwitch.Location = new System.Drawing.Point(173, 43); |
|
|
|
this.weightSwitch.Name = "weightSwitch"; |
|
|
|
this.weightSwitch.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(234)))), ((int)(((byte)(106))))); |
|
|
|
this.weightSwitch.Size = new System.Drawing.Size(90, 32); |
|
|
|
this.weightSwitch.StateHold = true; |
|
|
|
this.weightSwitch.TabIndex = 38; |
|
|
|
this.weightSwitch.Text = "启用称重"; |
|
|
|
this.weightSwitch.UseVisualStyleBackColor = false; |
|
|
|
this.weightSwitch.Click += new System.EventHandler(this.weightSwitch_Click); |
|
|
|
//
|
|
|
|
// zeroBtn
|
|
|
|
//
|
|
|
|
this.zeroBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(144)))), ((int)(((byte)(98)))), ((int)(((byte)(222))))); |
|
|
|
this.zeroBtn.Font = new System.Drawing.Font("宋体", 10F); |
|
|
|
this.zeroBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
this.zeroBtn.Location = new System.Drawing.Point(173, 4); |
|
|
|
this.zeroBtn.Name = "zeroBtn"; |
|
|
|
this.zeroBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(234)))), ((int)(((byte)(106))))); |
|
|
|
this.zeroBtn.Size = new System.Drawing.Size(90, 32); |
|
|
|
this.zeroBtn.TabIndex = 37; |
|
|
|
this.zeroBtn.Text = "归零"; |
|
|
|
this.zeroBtn.UseVisualStyleBackColor = false; |
|
|
|
this.zeroBtn.Click += new System.EventHandler(this.zeroBtn_Click); |
|
|
|
//
|
|
|
|
// roundPanel2
|
|
|
|
//
|
|
|
|
this.roundPanel2._setRoundRadius = 15; |
|
|
|
this.roundPanel2.BackColor = System.Drawing.Color.Black; |
|
|
|
this.roundPanel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; |
|
|
|
this.roundPanel2.Controls.Add(this.labelStable); |
|
|
|
this.roundPanel2.Controls.Add(this.labelZero); |
|
|
|
this.roundPanel2.Controls.Add(this.lblChengZhong); |
|
|
|
this.roundPanel2.Location = new System.Drawing.Point(6, 3); |
|
|
|
this.roundPanel2.Margin = new System.Windows.Forms.Padding(0); |
|
|
|
this.roundPanel2.Name = "roundPanel2"; |
|
|
|
this.roundPanel2.Size = new System.Drawing.Size(162, 74); |
|
|
|
this.roundPanel2.TabIndex = 36; |
|
|
|
//
|
|
|
|
// labelStable
|
|
|
|
//
|
|
|
|
this.labelStable.AutoSize = true; |
|
|
|
this.labelStable.BackColor = System.Drawing.Color.White; |
|
|
|
this.labelStable.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.labelStable.Font = new System.Drawing.Font("微软雅黑", 9F); |
|
|
|
this.labelStable.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
|
|
|
this.labelStable.Location = new System.Drawing.Point(119, 1); |
|
|
|
this.labelStable.Name = "labelStable"; |
|
|
|
this.labelStable.Size = new System.Drawing.Size(17, 19); |
|
|
|
this.labelStable.TabIndex = 13; |
|
|
|
this.labelStable.Text = "S"; |
|
|
|
this.labelStable.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
|
//
|
|
|
|
// labelZero
|
|
|
|
//
|
|
|
|
this.labelZero.AutoSize = true; |
|
|
|
this.labelZero.BackColor = System.Drawing.Color.White; |
|
|
|
this.labelZero.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.labelZero.Font = new System.Drawing.Font("微软雅黑", 9F); |
|
|
|
this.labelZero.Location = new System.Drawing.Point(138, 1); |
|
|
|
this.labelZero.Name = "labelZero"; |
|
|
|
this.labelZero.Size = new System.Drawing.Size(17, 19); |
|
|
|
this.labelZero.TabIndex = 12; |
|
|
|
this.labelZero.Text = "0"; |
|
|
|
this.labelZero.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
|
|
|
//
|
|
|
|
// lblChengZhong
|
|
|
|
//
|
|
|
|
this.lblChengZhong.AutoSize = true; |
|
|
|
this.lblChengZhong.Font = new System.Drawing.Font("宋体", 25F); |
|
|
|
this.lblChengZhong.ForeColor = System.Drawing.Color.Red; |
|
|
|
this.lblChengZhong.Location = new System.Drawing.Point(5, 19); |
|
|
|
this.lblChengZhong.Margin = new System.Windows.Forms.Padding(0); |
|
|
|
this.lblChengZhong.Name = "lblChengZhong"; |
|
|
|
this.lblChengZhong.Size = new System.Drawing.Size(83, 34); |
|
|
|
this.lblChengZhong.TabIndex = 0; |
|
|
|
this.lblChengZhong.Text = "0.00"; |
|
|
|
//
|
|
|
|
// logBtn
|
|
|
|
//
|
|
|
|
this.logBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.logBtn.BackColor = System.Drawing.Color.CadetBlue; |
|
|
|
this.logBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.logBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
this.logBtn.Location = new System.Drawing.Point(680, 4); |
|
|
|
this.logBtn.Name = "logBtn"; |
|
|
|
this.logBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(234)))), ((int)(((byte)(106))))); |
|
|
|
this.logBtn.Size = new System.Drawing.Size(101, 41); |
|
|
|
this.logBtn.TabIndex = 25; |
|
|
|
this.logBtn.Text = "日志"; |
|
|
|
this.logBtn.UseVisualStyleBackColor = false; |
|
|
|
this.logBtn.Click += new System.EventHandler(this.logBtn_Click); |
|
|
|
//
|
|
|
|
// closeBtn
|
|
|
|
//
|
|
|
|
this.closeBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.closeBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(25))))); |
|
|
|
this.closeBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.closeBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
this.closeBtn.Location = new System.Drawing.Point(1109, 7); |
|
|
|
this.closeBtn.Name = "closeBtn"; |
|
|
|
this.closeBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(234)))), ((int)(((byte)(106))))); |
|
|
|
this.closeBtn.Size = new System.Drawing.Size(111, 41); |
|
|
|
this.closeBtn.TabIndex = 18; |
|
|
|
this.closeBtn.Text = "关闭"; |
|
|
|
this.closeBtn.UseVisualStyleBackColor = false; |
|
|
|
this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); |
|
|
|
//
|
|
|
|
// goodsSetBtn
|
|
|
|
//
|
|
|
|
this.goodsSetBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.goodsSetBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(135)))), ((int)(((byte)(245))))); |
|
|
|
this.goodsSetBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.goodsSetBtn.ForeColor = System.Drawing.Color.White; |
|
|
|
this.goodsSetBtn.Location = new System.Drawing.Point(645, 3); |
|
|
|
this.goodsSetBtn.Name = "goodsSetBtn"; |
|
|
|
this.goodsSetBtn.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(234)))), ((int)(((byte)(106))))); |
|
|
|
this.goodsSetBtn.Size = new System.Drawing.Size(111, 62); |
|
|
|
this.goodsSetBtn.TabIndex = 19; |
|
|
|
this.goodsSetBtn.Text = "产品设置"; |
|
|
|
this.goodsSetBtn.UseVisualStyleBackColor = false; |
|
|
|
this.goodsSetBtn.Click += new System.EventHandler(this.goodsSetBtn_Click); |
|
|
|
//
|
|
|
|
// colorButton2
|
|
|
|
//
|
|
|
|
this.colorButton2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); |
|
|
|
@ -552,43 +682,6 @@ |
|
|
|
this.rePrintBtn.Visible = false; |
|
|
|
this.rePrintBtn.Click += new System.EventHandler(this.rePrintBtn_Click); |
|
|
|
//
|
|
|
|
// groupBox1
|
|
|
|
//
|
|
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left))); |
|
|
|
this.groupBox1.Controls.Add(this.flowLayoutPanel4); |
|
|
|
this.groupBox1.Controls.Add(this.flowLayoutPanel3); |
|
|
|
this.groupBox1.Controls.Add(this.uLabel3); |
|
|
|
this.groupBox1.Location = new System.Drawing.Point(8, 222); |
|
|
|
this.groupBox1.Name = "groupBox1"; |
|
|
|
this.groupBox1.Padding = new System.Windows.Forms.Padding(5); |
|
|
|
this.groupBox1.Size = new System.Drawing.Size(447, 381); |
|
|
|
this.groupBox1.TabIndex = 5; |
|
|
|
this.groupBox1.TabStop = false; |
|
|
|
//
|
|
|
|
// flowLayoutPanel4
|
|
|
|
//
|
|
|
|
this.flowLayoutPanel4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
|
|
|
| System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.flowLayoutPanel4.AutoScroll = true; |
|
|
|
this.flowLayoutPanel4.Location = new System.Drawing.Point(5, 90); |
|
|
|
this.flowLayoutPanel4.Name = "flowLayoutPanel4"; |
|
|
|
this.flowLayoutPanel4.Size = new System.Drawing.Size(437, 286); |
|
|
|
this.flowLayoutPanel4.TabIndex = 5; |
|
|
|
//
|
|
|
|
// flowLayoutPanel3
|
|
|
|
//
|
|
|
|
this.flowLayoutPanel3.AutoScroll = true; |
|
|
|
this.flowLayoutPanel3.BackColor = System.Drawing.Color.White; |
|
|
|
this.flowLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Top; |
|
|
|
this.flowLayoutPanel3.Location = new System.Drawing.Point(5, 19); |
|
|
|
this.flowLayoutPanel3.Margin = new System.Windows.Forms.Padding(0); |
|
|
|
this.flowLayoutPanel3.Name = "flowLayoutPanel3"; |
|
|
|
this.flowLayoutPanel3.Size = new System.Drawing.Size(437, 68); |
|
|
|
this.flowLayoutPanel3.TabIndex = 4; |
|
|
|
this.flowLayoutPanel3.WrapContents = false; |
|
|
|
//
|
|
|
|
// SegmentProductionAutoForm
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
|
@ -599,6 +692,7 @@ |
|
|
|
this.Name = "SegmentProductionAutoForm"; |
|
|
|
this.Text = "分割品车间称重计数"; |
|
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
|
|
|
this.Load += new System.EventHandler(this.SegmentProductionAutoForm_Load); |
|
|
|
this.groupBox2.ResumeLayout(false); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.taskDataGrid)).EndInit(); |
|
|
|
this.splitContainer1.Panel1.ResumeLayout(false); |
|
|
|
@ -613,6 +707,8 @@ |
|
|
|
this.splitContainer2.ResumeLayout(false); |
|
|
|
this.groupBox1.ResumeLayout(false); |
|
|
|
this.groupBox1.PerformLayout(); |
|
|
|
this.roundPanel2.ResumeLayout(false); |
|
|
|
this.roundPanel2.PerformLayout(); |
|
|
|
this.ResumeLayout(false); |
|
|
|
|
|
|
|
} |
|
|
|
@ -638,7 +734,6 @@ |
|
|
|
private System.Windows.Forms.GroupBox groupBox1; |
|
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2; |
|
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; |
|
|
|
private Controls.WeightControl uWeightControl1; |
|
|
|
private Controls.ColorButton rePrintBtn; |
|
|
|
private Controls.ColorButton closeBtn; |
|
|
|
private Controls.ColorButton goodsSetBtn; |
|
|
|
@ -657,5 +752,13 @@ |
|
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel4; |
|
|
|
private System.Windows.Forms.Label label3; |
|
|
|
private WinFormControl.ULabel butcherDateBox; |
|
|
|
private Controls.ColorButton weightSwitch; |
|
|
|
private Controls.ColorButton zeroBtn; |
|
|
|
private Controls.RoundPanel roundPanel2; |
|
|
|
private System.Windows.Forms.Label lblChengZhong; |
|
|
|
private System.Windows.Forms.Timer timer1; |
|
|
|
private System.IO.Ports.SerialPort serialPort1; |
|
|
|
private System.Windows.Forms.Label labelStable; |
|
|
|
private System.Windows.Forms.Label labelZero; |
|
|
|
} |
|
|
|
} |