Browse Source

手动打码不打条码问题, 增加IsHandPrint列

master
ruoxing.wang 14 hours ago
parent
commit
ded7321ad0
  1. 725
      InjectionPC/FrmMain2408.Designer.cs
  2. 76
      InjectionPC/FrmMain2408.cs
  3. 396
      InjectionPC/FrmMain2411.Designer.cs
  4. 410
      InjectionPC/FrmMainNew.Designer.cs
  5. 2
      InjectionSearch/FrmBarCodeSearch2408.cs
  6. 4
      MESClassLibrary/BLL/Inspection/InjectionBoxBLL.cs
  7. 10
      MESClassLibrary/DAL/Injection/InjectionBoxDAL.cs

725
InjectionPC/FrmMain2408.Designer.cs

File diff suppressed because it is too large

76
InjectionPC/FrmMain2408.cs

@ -569,7 +569,7 @@ namespace InjectionPC
md.Des1 = PartName;
string errMsg = string.Empty;
bool saveRst = SaveInfo(md, true, mould, false, IsOne, IsSupply, ManufacturerName,"",ref errMsg);//PLC来信号,切换计划后,IsSame == "1"时插入
bool saveRst = SaveInfo(md, true, mould, false,0, IsOne, IsSupply, ManufacturerName,"",ref errMsg);//PLC来信号,切换计划后,IsSame == "1"时插入
if (saveRst == false)
{
LogErrBLL.AddInfo($"自动打印[{partNo[j].ToString()}],条码" + md.OneBarCode + "报错:"+ errMsg, MethodBase.GetCurrentMethod());
@ -680,7 +680,7 @@ namespace InjectionPC
}
string fileName214 = AppDomain.CurrentDomain.BaseDirectory + PrintMoudleName("0", "Print" + Program.station + "_887");
string errMsg = string.Empty;
bool saveRst = SaveInfo(md, true, mould, false, IsOne, IsSupply, ManufacturerName, fileName214, ref errMsg); //PLC来信号,切换计划后,IsSame == "0"时插入
bool saveRst = SaveInfo(md, true, mould, false, 0, IsOne, IsSupply, ManufacturerName, fileName214, ref errMsg); //PLC来信号,切换计划后,IsSame == "0"时插入
if (saveRst == false)
{
LogErrBLL.AddInfo($"自动打印[{partNo[j].ToString()}],条码" + md.OneBarCode + "报错:" + errMsg, MethodBase.GetCurrentMethod());
@ -902,7 +902,7 @@ namespace InjectionPC
string errMsg = string.Empty;
bool saveRst = SaveInfo(md, true, mould, false, IsOne, IsSupply, ManufacturerName,"", ref errMsg);//PLC来信号,IsSame == "1"时插入
bool saveRst = SaveInfo(md, true, mould, false, 0, IsOne, IsSupply, ManufacturerName,"", ref errMsg);//PLC来信号,IsSame == "1"时插入
if (saveRst == false)
{
LogErrBLL.AddInfo($"自动打印[{partNo[j].ToString()}],条码" + md.OneBarCode + "报错:" + errMsg, MethodBase.GetCurrentMethod());
@ -1045,7 +1045,7 @@ namespace InjectionPC
}
string errMsg = string.Empty;
bool saveRst = SaveInfo(md, true, mould, false, IsOne, IsSupply, ManufacturerName, filename214, ref errMsg);//PLC来信号,IsSame == "0"时插入
bool saveRst = SaveInfo(md, true, mould, false, 0, IsOne, IsSupply, ManufacturerName, filename214, ref errMsg);//PLC来信号,IsSame == "0"时插入
if (saveRst == false)
{
LogErrBLL.AddInfo($"自动打印[{partNo[j].ToString()}],条码" + md.OneBarCode + "报错:" + errMsg, MethodBase.GetCurrentMethod());
@ -1140,7 +1140,7 @@ namespace InjectionPC
{
string filename = "";
string printName = "";
if (IsOne != "1")
if (IsOne == "1")
{
if(isSupply != "1")
{
@ -1395,7 +1395,7 @@ namespace InjectionPC
}
string errMsg = string.Empty;
bool saveRst = SaveInfo(md, true, same[j].ToString(), false, IsOne, "0", "","", ref errMsg);
bool saveRst = SaveInfo(md, true, same[j].ToString(), false,0, IsOne, "0", "","", ref errMsg);
if (saveRst == false)
{
LogErrBLL.AddInfo($"自动打印[{partNo[j].ToString()}],条码" + md.OneBarCode + "报错:" + errMsg, MethodBase.GetCurrentMethod());
@ -1499,7 +1499,7 @@ namespace InjectionPC
string errMsg = string.Empty;
bool saveRst = SaveInfo(md, true, same[j].ToString(), false, IsOne, "0", "","", ref errMsg);
bool saveRst = SaveInfo(md, true, same[j].ToString(), false,0, IsOne, "0", "","", ref errMsg);
if (saveRst == false)
{
LogErrBLL.AddInfo($"自动打印[{partNo[j].ToString()}],条码" + md.OneBarCode + "报错:" + errMsg, MethodBase.GetCurrentMethod());
@ -2010,7 +2010,7 @@ namespace InjectionPC
}
string errMsg = string.Empty;
bool saveRst = SaveInfo(md, false, "0", i == printCount, IsOne, IsSupply, ManufacturerName,"", ref errMsg);//手工打印条码 非直供件
bool saveRst = SaveInfo(md, false, "0", i == printCount,4, IsOne, IsSupply, ManufacturerName,"", ref errMsg);//手工打印条码 非直供件
if (saveRst == false)
{
LogErrBLL.AddInfo($"手工打印[{partNo}],条码" + md.OneBarCode + "报错:" + errMsg, MethodBase.GetCurrentMethod());
@ -2099,7 +2099,7 @@ namespace InjectionPC
}
string errMsg = string.Empty;
bool saveRst = SaveInfo(md, false, "0", false, IsOne, IsSupply, ManufacturerName,"", ref errMsg); //手工打印条码 非直供件
bool saveRst = SaveInfo(md, false, "0", false,4, IsOne, IsSupply, ManufacturerName,"", ref errMsg); //手工打印条码 非直供件
if (saveRst == false)
{
LogErrBLL.AddInfo($"手工打印[{partNo}],条码" + md.OneBarCode + "报错:" + errMsg, MethodBase.GetCurrentMethod());
@ -3258,7 +3258,7 @@ namespace InjectionPC
bool SaveBarCode(BarCodeModel bcm,string tableName, bool isAutoPrint,string mould, ref string errorMsg, bool handPrint = false)
bool SaveBarCode(BarCodeModel bcm,string tableName, bool isAutoPrint,string mould, int isHandPrint, ref string errorMsg, bool handPrint = false)
{
Label lbPackageCode = lbPackageCodeL;
Label lbCurrentlQty = lbCurrentlQtyL;
@ -3373,7 +3373,7 @@ namespace InjectionPC
_lastBoxNoR = lbPackageCodeR.Text;
//打印箱码
PrintBoxCode(dt.Rows[0], realCount, mould);
PrintBoxCode(dt.Rows[0], realCount, mould, isHandPrint);
// _lastBoxNo = lbPackageCodeL.Text;
lbPackageCodeL.Text = "";
}
@ -3468,7 +3468,8 @@ namespace InjectionPC
/// <param name="boxRow"></param>
/// <param name="realCount"></param>
/// <param name="mould"></param>
private void PrintBoxCode(DataRow boxRow,int realCount,string mould)
/// <param name="isHandPrint">0:自动打印 1:手动点左侧打印,2:切换计划打印 3:切换模式打印 4:操作页面手动打印 5:查询页面手动打印</param>
private void PrintBoxCode(DataRow boxRow,int realCount,string mould, int isHandPrint)
{
SaveLog3(Program.station + "箱单打印mould="+ mould);
string filename = System.AppDomain.CurrentDomain.BaseDirectory + "装箱单.grf";
@ -3495,7 +3496,7 @@ namespace InjectionPC
row["PackCount"] = realCount;
row["Line"] = boxRow["StationNo"].ToString()+"注塑机";
}
UpdateBoxRecordPrintState(boxCode);
UpdateBoxRecordPrintState(boxCode, isHandPrint);
string printBoxName = string.Empty;
if (mould == "1")
{
@ -3517,9 +3518,9 @@ namespace InjectionPC
}
private void UpdateBoxRecordPrintState(string UpdatePrinted)
private void UpdateBoxRecordPrintState(string UpdatePrinted,int isHandPrint)
{
_injectionBoxBLL.UpdatePrinted(UpdatePrinted);
_injectionBoxBLL.UpdatePrinted(UpdatePrinted, isHandPrint);
}
@ -3528,7 +3529,7 @@ namespace InjectionPC
/// </summary>
/// <param name="partCode"></param>
/// <param name="autoPrint"></param>
private void CheckPackageCode(string partCode, bool autoPrint,string mould, string partName)
private void CheckPackageCode(string partCode, bool autoPrint,string mould, string partName, int isHandPrint)
{
if (autoPrint == true || (autoPrint == false && cboxHandBox.Checked == true))
{
@ -3577,7 +3578,7 @@ namespace InjectionPC
{
DataTable dt = _injectionBoxBLL.SearchBox(pkgCode);
MessageBox.Show($"箱码[{pkgCode}]产品与当前产品[{partCode}]不匹配,将会打印上一箱码,请知悉!");
CompleteBoxAndPrint(dt.Rows[0], mould, lbPackageCode, lbCurrentlQty);
CompleteBoxAndPrint(dt.Rows[0], mould, lbPackageCode, lbCurrentlQty, isHandPrint);
string packageCode = GetPackageCode(partCode, autoPrint);
InjectionBoxModel boxmd = new InjectionBoxModel();
@ -3606,7 +3607,7 @@ namespace InjectionPC
if(boxRow["IsPrint"].ToString() == "1")
{
lbPackageCode.Text = "";
CheckPackageCode(partCode, autoPrint, mould, partName);
CheckPackageCode(partCode, autoPrint, mould, partName, isHandPrint);
}
else
{
@ -3615,7 +3616,7 @@ namespace InjectionPC
if(boxCount>= standCount)
{
lbPackageCode.Text = "";
CheckPackageCode(partCode, autoPrint, mould, partName);
CheckPackageCode(partCode, autoPrint, mould, partName, isHandPrint);
}
}
@ -3639,7 +3640,12 @@ namespace InjectionPC
/// <param name="newCode"></param>
void GetSjBarCode(string stockNo,string partNo, bool autoPrint,string mould,string partName,string printTest, ref string newOneCode,ref string newCode)
{
CheckPackageCode(partNo, autoPrint, mould, partName);
int kkk = 0;
if(autoPrint == false)
{
kkk = 1;
}
CheckPackageCode(partNo, autoPrint, mould, partName, kkk);
string batch = GetBatch(autoPrint);
GetBarCode(stockNo, batch, partNo, ref newOneCode, ref newCode);
@ -3857,6 +3863,7 @@ namespace InjectionPC
/// <param name="newCode"></param>
void GetSupplyCode(string stockNo, string partNo,string qLevel, bool autoPrint,string mould,string partName, ref string newOneCode, ref string newCode)
{
int k = 0;
string batch = string.Empty;
if (autoPrint)
{
@ -3865,12 +3872,13 @@ namespace InjectionPC
}
else
{
k = 1;
batch = textBox1.Text.Trim();
}
newCode = _uniqueBll.GetSupplySerialNo(partNo, qLevel, batch);
newOneCode = _uniqueBll.GetSjBarCodeSerialNo(stockNo, batch);
CheckPackageCode(partNo, autoPrint, mould, partName);
CheckPackageCode(partNo, autoPrint, mould, partName,k);
}
private void btnHandPrintL_Click(object sender, EventArgs e)
@ -4034,8 +4042,8 @@ namespace InjectionPC
return false;
}
}
CompleteBoxAndPrint(dt.Rows[0], "0", lbPackageCodeL, lbCurrentlQtyL);
CompleteBoxAndPrint(dt.Rows[0], "0", lbPackageCodeL, lbCurrentlQtyL, 1);
lbPackageCodeL.Text = "";
comBoxSizeL.SelectedIndex = -1;
lbNeedQtyL.Text = "0";
@ -4057,7 +4065,7 @@ namespace InjectionPC
}
}
CompleteBoxAndPrint(dt.Rows[0], "1", lbPackageCodeR, lbCurrentlQtyR);
CompleteBoxAndPrint(dt.Rows[0], "1", lbPackageCodeR, lbCurrentlQtyR,1);
lbPackageCodeR.Text = "";
comBoxSizeR.SelectedIndex = -1;
lbNeedQtyR.Text = "0";
@ -4070,7 +4078,7 @@ namespace InjectionPC
/// <summary>
/// 完成箱单并打印箱单
/// </summary>
bool CompleteBoxAndPrint( DataRow boxRow,string mould, Label lbPackageCode, Label lbCurrentlQty)
bool CompleteBoxAndPrint( DataRow boxRow,string mould, Label lbPackageCode, Label lbCurrentlQty , int isHandPrint)
{
try
{
@ -4080,7 +4088,7 @@ namespace InjectionPC
string rst = _wmsBll.SaveInterface(boxRow["BoxNo"].ToString(), "", "", MESClassLibrary.Enum.WmsInterfaceEnum., Program.station);
if (string.IsNullOrEmpty(rst))
{
PrintBoxCode(boxRow, int.Parse(boxRow["BoxCount"].ToString()), mould);
PrintBoxCode(boxRow, int.Parse(boxRow["BoxCount"].ToString()), mould, isHandPrint);
}
else
{
@ -4313,7 +4321,7 @@ namespace InjectionPC
MessageBox.Show("没找到上一个箱码");
return;
}
PrintBoxCode(dr, int.Parse(dr["BoxCount"].ToString()), "0");
PrintBoxCode(dr, int.Parse(dr["BoxCount"].ToString()), "0",6);
}
@ -4327,7 +4335,7 @@ namespace InjectionPC
MessageBox.Show("没找到上一个箱码");
return;
}
PrintBoxCode(dr, int.Parse(dr["StandardQty"].ToString()), "1");
PrintBoxCode(dr, int.Parse(dr["StandardQty"].ToString()), "1",6);
}
List<string> GetProductBoxSize(string productCode,ref string currentSize)
@ -4517,7 +4525,7 @@ namespace InjectionPC
private BarCodeModel _lastFailedModelL = null;
private BarCodeModel _lastFailedModelR = null;
bool SaveInfo(BarCodeModel md, bool isAutoPrint, string mould, bool handPrint,string isOne,string IsSupply,string ManufacturerName,string fileName214, ref string errMsg)
bool SaveInfo(BarCodeModel md, bool isAutoPrint, string mould, bool handPrint,int isHandPrint,string isOne,string IsSupply,string ManufacturerName,string fileName214, ref string errMsg)
{
//if (_lastFailedModelL != null && mould == "0")
//{
@ -4539,7 +4547,7 @@ namespace InjectionPC
//重发成功,更新 IsRight=1, RepeatTimes +1,UpdateTime 重发失败,更新IsRight=0, RepeatTimes +1,UpdateTime
//重发后,保存完,检查箱码数量是数量,为空或者大于等于标包,生成新箱码.
CheckPackageCode(failRow["PartNo"].ToString(), isAutoPrint, failRow["Model"].ToString(), failRow["PartName"].ToString());
CheckPackageCode(failRow["PartNo"].ToString(), isAutoPrint, failRow["Model"].ToString(), failRow["PartName"].ToString(), isHandPrint);
BarCodeModel md1 = new BarCodeModel();
if(failRow["Model"].ToString() == "0")
{
@ -4569,7 +4577,7 @@ namespace InjectionPC
bool saveRst= SaveBarCode(md1, Program.tableName, isAutoPrint, failRow["Model"].ToString(), ref errMsg, handPrint);
bool saveRst= SaveBarCode(md1, Program.tableName, isAutoPrint, failRow["Model"].ToString(),isHandPrint, ref errMsg, handPrint);
if (saveRst == true)
{
if(handPrint == false)
@ -4582,7 +4590,7 @@ namespace InjectionPC
}
SaveBarcodeFailInfo(null, Program.station, md1.OneBarCode, 1, md1.BoxNo, "", failRow["Model"].ToString(), "补发成功", md1.PartNo, md1.Des1);
CheckPackageCode(failRow["PartNo"].ToString(), isAutoPrint, failRow["Model"].ToString(), failRow["PartName"].ToString());
CheckPackageCode(failRow["PartNo"].ToString(), isAutoPrint, failRow["Model"].ToString(), failRow["PartName"].ToString(), isHandPrint);
}
else
{
@ -4593,8 +4601,8 @@ namespace InjectionPC
}
//发送前,检查当前箱码, 为空或者箱码数量等于标包,情况箱码,重新生成新的箱码 250420
CheckPackageCode(md.PartNo, isAutoPrint, mould, md.Des1);
bool rst = SaveBarCode(md, Program.tableName, isAutoPrint, mould, ref errMsg, handPrint);
CheckPackageCode(md.PartNo, isAutoPrint, mould, md.Des1, isHandPrint);
bool rst = SaveBarCode(md, Program.tableName, isAutoPrint, mould, isHandPrint, ref errMsg, handPrint);
return rst;
}

396
InjectionPC/FrmMain2411.Designer.cs

File diff suppressed because it is too large

410
InjectionPC/FrmMainNew.Designer.cs

@ -170,9 +170,9 @@
this.panel1.Controls.Add(this.panel2);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(2347, 1533);
this.panel1.Size = new System.Drawing.Size(2560, 1752);
this.panel1.TabIndex = 0;
//
// panel7
@ -181,10 +181,10 @@
this.panel7.Controls.Add(this.panel8);
this.panel7.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel7.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold);
this.panel7.Location = new System.Drawing.Point(0, 147);
this.panel7.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel7.Location = new System.Drawing.Point(0, 168);
this.panel7.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(2347, 1386);
this.panel7.Size = new System.Drawing.Size(2560, 1584);
this.panel7.TabIndex = 1;
//
// panel23
@ -192,10 +192,10 @@
this.panel23.Controls.Add(this.panel27);
this.panel23.Controls.Add(this.panel24);
this.panel23.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel23.Location = new System.Drawing.Point(0, 91);
this.panel23.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel23.Location = new System.Drawing.Point(0, 104);
this.panel23.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel23.Name = "panel23";
this.panel23.Size = new System.Drawing.Size(2347, 1295);
this.panel23.Size = new System.Drawing.Size(2560, 1480);
this.panel23.TabIndex = 1;
//
// panel27
@ -203,10 +203,10 @@
this.panel27.Controls.Add(this.panel29);
this.panel27.Controls.Add(this.panel28);
this.panel27.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel27.Location = new System.Drawing.Point(0, 1088);
this.panel27.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel27.Location = new System.Drawing.Point(0, 1243);
this.panel27.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel27.Name = "panel27";
this.panel27.Size = new System.Drawing.Size(2347, 207);
this.panel27.Size = new System.Drawing.Size(2560, 237);
this.panel27.TabIndex = 1;
//
// panel29
@ -214,10 +214,10 @@
this.panel29.Controls.Add(this.panel31);
this.panel29.Controls.Add(this.panel30);
this.panel29.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel29.Location = new System.Drawing.Point(310, 0);
this.panel29.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel29.Location = new System.Drawing.Point(338, 0);
this.panel29.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel29.Name = "panel29";
this.panel29.Size = new System.Drawing.Size(2037, 207);
this.panel29.Size = new System.Drawing.Size(2222, 237);
this.panel29.TabIndex = 1;
//
// panel31
@ -225,10 +225,10 @@
this.panel31.Controls.Add(this.panel33);
this.panel31.Controls.Add(this.panel32);
this.panel31.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel31.Location = new System.Drawing.Point(134, 0);
this.panel31.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel31.Location = new System.Drawing.Point(146, 0);
this.panel31.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel31.Name = "panel31";
this.panel31.Size = new System.Drawing.Size(1903, 207);
this.panel31.Size = new System.Drawing.Size(2076, 237);
this.panel31.TabIndex = 1;
//
// panel33
@ -236,10 +236,10 @@
this.panel33.Controls.Add(this.panel35);
this.panel33.Controls.Add(this.panel34);
this.panel33.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel33.Location = new System.Drawing.Point(134, 0);
this.panel33.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel33.Location = new System.Drawing.Point(146, 0);
this.panel33.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel33.Name = "panel33";
this.panel33.Size = new System.Drawing.Size(1769, 207);
this.panel33.Size = new System.Drawing.Size(1930, 237);
this.panel33.TabIndex = 1;
//
// panel35
@ -248,9 +248,9 @@
this.panel35.Controls.Add(this.panel36);
this.panel35.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel35.Location = new System.Drawing.Point(0, 0);
this.panel35.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel35.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel35.Name = "panel35";
this.panel35.Size = new System.Drawing.Size(1635, 207);
this.panel35.Size = new System.Drawing.Size(1784, 237);
this.panel35.TabIndex = 1;
//
// panel37
@ -258,9 +258,9 @@
this.panel37.Controls.Add(this.panel40);
this.panel37.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel37.Location = new System.Drawing.Point(0, 0);
this.panel37.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel37.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel37.Name = "panel37";
this.panel37.Size = new System.Drawing.Size(1501, 207);
this.panel37.Size = new System.Drawing.Size(1638, 237);
this.panel37.TabIndex = 1;
//
// panel40
@ -269,9 +269,9 @@
this.panel40.Controls.Add(this.panel41);
this.panel40.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel40.Location = new System.Drawing.Point(0, 0);
this.panel40.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel40.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel40.Name = "panel40";
this.panel40.Size = new System.Drawing.Size(1501, 207);
this.panel40.Size = new System.Drawing.Size(1638, 237);
this.panel40.TabIndex = 1;
//
// panel42
@ -280,9 +280,9 @@
this.panel42.Controls.Add(this.panel43);
this.panel42.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel42.Location = new System.Drawing.Point(0, 0);
this.panel42.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel42.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel42.Name = "panel42";
this.panel42.Size = new System.Drawing.Size(1367, 207);
this.panel42.Size = new System.Drawing.Size(1492, 237);
this.panel42.TabIndex = 1;
//
// panel39
@ -298,28 +298,28 @@
this.panel39.Controls.Add(this.label21);
this.panel39.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel39.Location = new System.Drawing.Point(0, 0);
this.panel39.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel39.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel39.Name = "panel39";
this.panel39.Size = new System.Drawing.Size(1233, 207);
this.panel39.Size = new System.Drawing.Size(1346, 237);
this.panel39.TabIndex = 1;
//
// textBox2
//
this.textBox2.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox2.Location = new System.Drawing.Point(220, 292);
this.textBox2.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.textBox2.Location = new System.Drawing.Point(240, 334);
this.textBox2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(303, 65);
this.textBox2.Size = new System.Drawing.Size(330, 74);
this.textBox2.TabIndex = 13;
//
// label18
//
this.label18.AutoSize = true;
this.label18.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label18.Location = new System.Drawing.Point(40, 303);
this.label18.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label18.Location = new System.Drawing.Point(44, 346);
this.label18.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(178, 51);
this.label18.Size = new System.Drawing.Size(202, 58);
this.label18.TabIndex = 12;
this.label18.Text = "数量:";
//
@ -327,30 +327,30 @@
//
this.label19.AutoSize = true;
this.label19.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label19.Location = new System.Drawing.Point(607, 177);
this.label19.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label19.Location = new System.Drawing.Point(662, 202);
this.label19.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label19.Name = "label19";
this.label19.Size = new System.Drawing.Size(238, 51);
this.label19.Size = new System.Drawing.Size(265, 58);
this.label19.TabIndex = 11;
this.label19.Text = "(yyMMdd)";
//
// textBox1
//
this.textBox1.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox1.Location = new System.Drawing.Point(222, 172);
this.textBox1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.textBox1.Location = new System.Drawing.Point(242, 197);
this.textBox1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(301, 65);
this.textBox1.Size = new System.Drawing.Size(328, 74);
this.textBox1.TabIndex = 10;
//
// label20
//
this.label20.AutoSize = true;
this.label20.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label20.Location = new System.Drawing.Point(42, 186);
this.label20.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label20.Location = new System.Drawing.Point(46, 213);
this.label20.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label20.Name = "label20";
this.label20.Size = new System.Drawing.Size(178, 51);
this.label20.Size = new System.Drawing.Size(202, 58);
this.label20.TabIndex = 9;
this.label20.Text = "批次:";
//
@ -359,20 +359,20 @@
this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox2.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.comboBox2.FormattingEnabled = true;
this.comboBox2.Location = new System.Drawing.Point(222, 63);
this.comboBox2.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.comboBox2.Location = new System.Drawing.Point(242, 72);
this.comboBox2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.comboBox2.Name = "comboBox2";
this.comboBox2.Size = new System.Drawing.Size(923, 59);
this.comboBox2.Size = new System.Drawing.Size(1007, 66);
this.comboBox2.TabIndex = 8;
//
// label21
//
this.label21.AutoSize = true;
this.label21.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label21.Location = new System.Drawing.Point(42, 70);
this.label21.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label21.Location = new System.Drawing.Point(46, 80);
this.label21.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(178, 51);
this.label21.Size = new System.Drawing.Size(202, 58);
this.label21.TabIndex = 7;
this.label21.Text = "产品:";
//
@ -380,10 +380,10 @@
//
this.panel43.Controls.Add(this.label23);
this.panel43.Dock = System.Windows.Forms.DockStyle.Right;
this.panel43.Location = new System.Drawing.Point(1233, 0);
this.panel43.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel43.Location = new System.Drawing.Point(1346, 0);
this.panel43.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel43.Name = "panel43";
this.panel43.Size = new System.Drawing.Size(134, 207);
this.panel43.Size = new System.Drawing.Size(146, 237);
this.panel43.TabIndex = 0;
//
// label23
@ -392,9 +392,9 @@
this.label23.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label23.Dock = System.Windows.Forms.DockStyle.Fill;
this.label23.Location = new System.Drawing.Point(0, 0);
this.label23.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label23.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label23.Name = "label23";
this.label23.Size = new System.Drawing.Size(134, 207);
this.label23.Size = new System.Drawing.Size(146, 237);
this.label23.TabIndex = 0;
this.label23.Text = "手工打印条码";
this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -404,10 +404,10 @@
//
this.panel41.Controls.Add(this.label22);
this.panel41.Dock = System.Windows.Forms.DockStyle.Right;
this.panel41.Location = new System.Drawing.Point(1367, 0);
this.panel41.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel41.Location = new System.Drawing.Point(1492, 0);
this.panel41.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel41.Name = "panel41";
this.panel41.Size = new System.Drawing.Size(134, 207);
this.panel41.Size = new System.Drawing.Size(146, 237);
this.panel41.TabIndex = 0;
//
// label22
@ -416,9 +416,9 @@
this.label22.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label22.Dock = System.Windows.Forms.DockStyle.Fill;
this.label22.Location = new System.Drawing.Point(0, 0);
this.label22.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label22.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(134, 207);
this.label22.Size = new System.Drawing.Size(146, 237);
this.label22.TabIndex = 0;
this.label22.Text = "补打条码";
this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -428,10 +428,10 @@
//
this.panel36.Controls.Add(this.label16);
this.panel36.Dock = System.Windows.Forms.DockStyle.Right;
this.panel36.Location = new System.Drawing.Point(1501, 0);
this.panel36.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel36.Location = new System.Drawing.Point(1638, 0);
this.panel36.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel36.Name = "panel36";
this.panel36.Size = new System.Drawing.Size(134, 207);
this.panel36.Size = new System.Drawing.Size(146, 237);
this.panel36.TabIndex = 0;
//
// label16
@ -440,9 +440,9 @@
this.label16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label16.Dock = System.Windows.Forms.DockStyle.Fill;
this.label16.Location = new System.Drawing.Point(0, 0);
this.label16.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label16.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(134, 207);
this.label16.Size = new System.Drawing.Size(146, 237);
this.label16.TabIndex = 0;
this.label16.Text = "装箱校验";
this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -452,10 +452,10 @@
//
this.panel34.Controls.Add(this.label15);
this.panel34.Dock = System.Windows.Forms.DockStyle.Right;
this.panel34.Location = new System.Drawing.Point(1635, 0);
this.panel34.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel34.Location = new System.Drawing.Point(1784, 0);
this.panel34.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel34.Name = "panel34";
this.panel34.Size = new System.Drawing.Size(134, 207);
this.panel34.Size = new System.Drawing.Size(146, 237);
this.panel34.TabIndex = 0;
//
// label15
@ -464,9 +464,9 @@
this.label15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label15.Dock = System.Windows.Forms.DockStyle.Fill;
this.label15.Location = new System.Drawing.Point(0, 0);
this.label15.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label15.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(134, 207);
this.label15.Size = new System.Drawing.Size(146, 237);
this.label15.TabIndex = 0;
this.label15.Text = "删除条码";
this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -477,9 +477,9 @@
this.panel32.Controls.Add(this.label14);
this.panel32.Dock = System.Windows.Forms.DockStyle.Left;
this.panel32.Location = new System.Drawing.Point(0, 0);
this.panel32.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel32.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel32.Name = "panel32";
this.panel32.Size = new System.Drawing.Size(134, 207);
this.panel32.Size = new System.Drawing.Size(146, 237);
this.panel32.TabIndex = 0;
//
// label14
@ -488,9 +488,9 @@
this.label14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label14.Dock = System.Windows.Forms.DockStyle.Fill;
this.label14.Location = new System.Drawing.Point(0, 0);
this.label14.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label14.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(134, 207);
this.label14.Size = new System.Drawing.Size(146, 237);
this.label14.TabIndex = 0;
this.label14.Text = "下一计划";
this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -501,9 +501,9 @@
this.panel30.Controls.Add(this.label13);
this.panel30.Dock = System.Windows.Forms.DockStyle.Left;
this.panel30.Location = new System.Drawing.Point(0, 0);
this.panel30.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel30.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel30.Name = "panel30";
this.panel30.Size = new System.Drawing.Size(134, 207);
this.panel30.Size = new System.Drawing.Size(146, 237);
this.panel30.TabIndex = 0;
//
// label13
@ -512,9 +512,9 @@
this.label13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label13.Dock = System.Windows.Forms.DockStyle.Fill;
this.label13.Location = new System.Drawing.Point(0, 0);
this.label13.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label13.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(134, 207);
this.label13.Size = new System.Drawing.Size(146, 237);
this.label13.TabIndex = 0;
this.label13.Text = "暂停打印";
this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -525,9 +525,9 @@
this.panel28.Controls.Add(this.label12);
this.panel28.Dock = System.Windows.Forms.DockStyle.Left;
this.panel28.Location = new System.Drawing.Point(0, 0);
this.panel28.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel28.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel28.Name = "panel28";
this.panel28.Size = new System.Drawing.Size(310, 207);
this.panel28.Size = new System.Drawing.Size(338, 237);
this.panel28.TabIndex = 0;
//
// label12
@ -537,9 +537,9 @@
this.label12.Dock = System.Windows.Forms.DockStyle.Fill;
this.label12.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold);
this.label12.Location = new System.Drawing.Point(0, 0);
this.label12.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label12.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(310, 207);
this.label12.Size = new System.Drawing.Size(338, 237);
this.label12.TabIndex = 0;
this.label12.Text = "打印信息:";
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -550,9 +550,9 @@
this.panel24.Controls.Add(this.panel25);
this.panel24.Dock = System.Windows.Forms.DockStyle.Top;
this.panel24.Location = new System.Drawing.Point(0, 0);
this.panel24.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel24.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel24.Name = "panel24";
this.panel24.Size = new System.Drawing.Size(2347, 1088);
this.panel24.Size = new System.Drawing.Size(2560, 1243);
this.panel24.TabIndex = 0;
//
// panel26
@ -561,10 +561,10 @@
this.panel26.Controls.Add(this.panel44);
this.panel26.Controls.Add(this.glacialList1);
this.panel26.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel26.Location = new System.Drawing.Point(310, 0);
this.panel26.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel26.Location = new System.Drawing.Point(338, 0);
this.panel26.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel26.Name = "panel26";
this.panel26.Size = new System.Drawing.Size(2037, 1088);
this.panel26.Size = new System.Drawing.Size(2222, 1243);
this.panel26.TabIndex = 1;
//
// panel45
@ -573,19 +573,19 @@
this.panel45.Controls.Add(this.button4);
this.panel45.Controls.Add(this.textBox4);
this.panel45.Controls.Add(this.label25);
this.panel45.Location = new System.Drawing.Point(319, 850);
this.panel45.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel45.Location = new System.Drawing.Point(348, 971);
this.panel45.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel45.Name = "panel45";
this.panel45.Size = new System.Drawing.Size(1282, 133);
this.panel45.Size = new System.Drawing.Size(1399, 152);
this.panel45.TabIndex = 2;
//
// button3
//
this.button3.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button3.Location = new System.Drawing.Point(1129, 37);
this.button3.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.button3.Location = new System.Drawing.Point(1232, 42);
this.button3.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(147, 52);
this.button3.Size = new System.Drawing.Size(160, 59);
this.button3.TabIndex = 5;
this.button3.Text = "取消";
this.button3.UseVisualStyleBackColor = true;
@ -594,10 +594,10 @@
// button4
//
this.button4.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button4.Location = new System.Drawing.Point(952, 38);
this.button4.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.button4.Location = new System.Drawing.Point(1039, 43);
this.button4.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(147, 52);
this.button4.Size = new System.Drawing.Size(160, 59);
this.button4.TabIndex = 4;
this.button4.Text = "切换";
this.button4.UseVisualStyleBackColor = true;
@ -606,20 +606,20 @@
// textBox4
//
this.textBox4.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox4.Location = new System.Drawing.Point(308, 40);
this.textBox4.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.textBox4.Location = new System.Drawing.Point(336, 46);
this.textBox4.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.textBox4.Name = "textBox4";
this.textBox4.Size = new System.Drawing.Size(605, 49);
this.textBox4.Size = new System.Drawing.Size(660, 55);
this.textBox4.TabIndex = 3;
//
// label25
//
this.label25.AutoSize = true;
this.label25.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label25.Location = new System.Drawing.Point(26, 46);
this.label25.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label25.Location = new System.Drawing.Point(28, 53);
this.label25.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label25.Name = "label25";
this.label25.Size = new System.Drawing.Size(283, 37);
this.label25.Size = new System.Drawing.Size(319, 42);
this.label25.TabIndex = 2;
this.label25.Text = "扫描模具条码:";
this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -632,19 +632,19 @@
this.panel44.Controls.Add(this.button2);
this.panel44.Controls.Add(this.textBox3);
this.panel44.Controls.Add(this.label24);
this.panel44.Location = new System.Drawing.Point(319, 586);
this.panel44.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel44.Location = new System.Drawing.Point(348, 670);
this.panel44.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel44.Name = "panel44";
this.panel44.Size = new System.Drawing.Size(1280, 208);
this.panel44.Size = new System.Drawing.Size(1396, 237);
this.panel44.TabIndex = 1;
//
// textBox5
//
this.textBox5.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox5.Location = new System.Drawing.Point(218, 121);
this.textBox5.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.textBox5.Location = new System.Drawing.Point(238, 138);
this.textBox5.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(677, 49);
this.textBox5.Size = new System.Drawing.Size(738, 55);
this.textBox5.TabIndex = 5;
this.textBox5.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox5_KeyDown);
//
@ -652,10 +652,10 @@
//
this.label17.AutoSize = true;
this.label17.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label17.Location = new System.Drawing.Point(24, 128);
this.label17.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label17.Location = new System.Drawing.Point(26, 146);
this.label17.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(207, 37);
this.label17.Size = new System.Drawing.Size(233, 42);
this.label17.TabIndex = 4;
this.label17.Text = "塑件条码:";
this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -663,10 +663,10 @@
// button2
//
this.button2.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button2.Location = new System.Drawing.Point(1067, 46);
this.button2.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.button2.Location = new System.Drawing.Point(1164, 53);
this.button2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(147, 52);
this.button2.Size = new System.Drawing.Size(160, 59);
this.button2.TabIndex = 3;
this.button2.Text = "取消";
this.button2.UseVisualStyleBackColor = true;
@ -675,20 +675,20 @@
// textBox3
//
this.textBox3.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox3.Location = new System.Drawing.Point(216, 38);
this.textBox3.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.textBox3.Location = new System.Drawing.Point(236, 43);
this.textBox3.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(677, 49);
this.textBox3.Size = new System.Drawing.Size(738, 55);
this.textBox3.TabIndex = 1;
//
// label24
//
this.label24.AutoSize = true;
this.label24.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label24.Location = new System.Drawing.Point(24, 46);
this.label24.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label24.Location = new System.Drawing.Point(26, 53);
this.label24.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label24.Name = "label24";
this.label24.Size = new System.Drawing.Size(169, 37);
this.label24.Size = new System.Drawing.Size(190, 42);
this.label24.TabIndex = 0;
this.label24.Text = "箱单号:";
this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -759,14 +759,14 @@
this.glacialList1.ItemHeight = 30;
this.glacialList1.ItemWordWrap = false;
this.glacialList1.Location = new System.Drawing.Point(0, 0);
this.glacialList1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.glacialList1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.glacialList1.Name = "glacialList1";
this.glacialList1.Selectable = true;
this.glacialList1.SelectedTextColor = System.Drawing.Color.White;
this.glacialList1.SelectionColor = System.Drawing.Color.DarkBlue;
this.glacialList1.ShowBorder = true;
this.glacialList1.ShowFocusRect = false;
this.glacialList1.Size = new System.Drawing.Size(2037, 1088);
this.glacialList1.Size = new System.Drawing.Size(2222, 1243);
this.glacialList1.SortType = GlacialComponents.Controls.SortTypes.InsertionSort;
this.glacialList1.SuperFlatHeaderColor = System.Drawing.Color.White;
this.glacialList1.TabIndex = 0;
@ -777,9 +777,9 @@
this.panel25.Controls.Add(this.label11);
this.panel25.Dock = System.Windows.Forms.DockStyle.Left;
this.panel25.Location = new System.Drawing.Point(0, 0);
this.panel25.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel25.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel25.Name = "panel25";
this.panel25.Size = new System.Drawing.Size(310, 1088);
this.panel25.Size = new System.Drawing.Size(338, 1243);
this.panel25.TabIndex = 0;
//
// label11
@ -788,9 +788,9 @@
this.label11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label11.Dock = System.Windows.Forms.DockStyle.Fill;
this.label11.Location = new System.Drawing.Point(0, 0);
this.label11.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label11.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(310, 1088);
this.label11.Size = new System.Drawing.Size(338, 1243);
this.label11.TabIndex = 0;
this.label11.Text = "打印记录:";
this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -801,9 +801,9 @@
this.panel8.Controls.Add(this.panel9);
this.panel8.Dock = System.Windows.Forms.DockStyle.Top;
this.panel8.Location = new System.Drawing.Point(0, 0);
this.panel8.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel8.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(2347, 91);
this.panel8.Size = new System.Drawing.Size(2560, 104);
this.panel8.TabIndex = 0;
//
// panel10
@ -811,10 +811,10 @@
this.panel10.Controls.Add(this.panel12);
this.panel10.Controls.Add(this.panel11);
this.panel10.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel10.Location = new System.Drawing.Point(310, 0);
this.panel10.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel10.Location = new System.Drawing.Point(338, 0);
this.panel10.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel10.Name = "panel10";
this.panel10.Size = new System.Drawing.Size(2037, 91);
this.panel10.Size = new System.Drawing.Size(2222, 104);
this.panel10.TabIndex = 1;
//
// panel12
@ -822,10 +822,10 @@
this.panel12.Controls.Add(this.panel16);
this.panel12.Controls.Add(this.panel15);
this.panel12.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel12.Location = new System.Drawing.Point(451, 0);
this.panel12.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel12.Location = new System.Drawing.Point(492, 0);
this.panel12.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel12.Name = "panel12";
this.panel12.Size = new System.Drawing.Size(1586, 91);
this.panel12.Size = new System.Drawing.Size(1730, 104);
this.panel12.TabIndex = 1;
//
// panel16
@ -833,10 +833,10 @@
this.panel16.Controls.Add(this.panel20);
this.panel16.Controls.Add(this.panel19);
this.panel16.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel16.Location = new System.Drawing.Point(468, 0);
this.panel16.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel16.Location = new System.Drawing.Point(511, 0);
this.panel16.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel16.Name = "panel16";
this.panel16.Size = new System.Drawing.Size(1118, 91);
this.panel16.Size = new System.Drawing.Size(1219, 104);
this.panel16.TabIndex = 1;
//
// panel20
@ -844,10 +844,10 @@
this.panel20.Controls.Add(this.label10);
this.panel20.Controls.Add(this.panel22);
this.panel20.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel20.Location = new System.Drawing.Point(427, 0);
this.panel20.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel20.Location = new System.Drawing.Point(466, 0);
this.panel20.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel20.Name = "panel20";
this.panel20.Size = new System.Drawing.Size(691, 91);
this.panel20.Size = new System.Drawing.Size(753, 104);
this.panel20.TabIndex = 1;
//
// label10
@ -855,10 +855,10 @@
this.label10.BackColor = System.Drawing.Color.DeepSkyBlue;
this.label10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label10.Dock = System.Windows.Forms.DockStyle.Fill;
this.label10.Location = new System.Drawing.Point(341, 0);
this.label10.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label10.Location = new System.Drawing.Point(372, 0);
this.label10.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(350, 91);
this.label10.Size = new System.Drawing.Size(381, 104);
this.label10.TabIndex = 1;
this.label10.Text = "停机录入";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -869,9 +869,9 @@
this.panel22.Controls.Add(this.label9);
this.panel22.Dock = System.Windows.Forms.DockStyle.Left;
this.panel22.Location = new System.Drawing.Point(0, 0);
this.panel22.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel22.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel22.Name = "panel22";
this.panel22.Size = new System.Drawing.Size(341, 91);
this.panel22.Size = new System.Drawing.Size(372, 104);
this.panel22.TabIndex = 0;
//
// label9
@ -881,9 +881,9 @@
this.label9.Dock = System.Windows.Forms.DockStyle.Fill;
this.label9.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold);
this.label9.Location = new System.Drawing.Point(0, 0);
this.label9.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label9.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(341, 91);
this.label9.Size = new System.Drawing.Size(372, 104);
this.label9.TabIndex = 0;
this.label9.Text = "质量录入";
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -895,9 +895,9 @@
this.panel19.Controls.Add(this.panel21);
this.panel19.Dock = System.Windows.Forms.DockStyle.Left;
this.panel19.Location = new System.Drawing.Point(0, 0);
this.panel19.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel19.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel19.Name = "panel19";
this.panel19.Size = new System.Drawing.Size(427, 91);
this.panel19.Size = new System.Drawing.Size(466, 104);
this.panel19.TabIndex = 0;
//
// label8
@ -905,10 +905,10 @@
this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.label8.Dock = System.Windows.Forms.DockStyle.Fill;
this.label8.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold);
this.label8.Location = new System.Drawing.Point(202, 0);
this.label8.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label8.Location = new System.Drawing.Point(220, 0);
this.label8.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(225, 91);
this.label8.Size = new System.Drawing.Size(246, 104);
this.label8.TabIndex = 1;
this.label8.Text = "cy";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -918,9 +918,9 @@
this.panel21.Controls.Add(this.label7);
this.panel21.Dock = System.Windows.Forms.DockStyle.Left;
this.panel21.Location = new System.Drawing.Point(0, 0);
this.panel21.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel21.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel21.Name = "panel21";
this.panel21.Size = new System.Drawing.Size(202, 91);
this.panel21.Size = new System.Drawing.Size(220, 104);
this.panel21.TabIndex = 0;
//
// label7
@ -930,9 +930,9 @@
this.label7.Dock = System.Windows.Forms.DockStyle.Fill;
this.label7.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold);
this.label7.Location = new System.Drawing.Point(0, 0);
this.label7.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label7.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(202, 91);
this.label7.Size = new System.Drawing.Size(220, 104);
this.label7.TabIndex = 0;
this.label7.Text = "用户:";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -943,19 +943,19 @@
this.panel15.Controls.Add(this.panel17);
this.panel15.Dock = System.Windows.Forms.DockStyle.Left;
this.panel15.Location = new System.Drawing.Point(0, 0);
this.panel15.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel15.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel15.Name = "panel15";
this.panel15.Size = new System.Drawing.Size(468, 91);
this.panel15.Size = new System.Drawing.Size(511, 104);
this.panel15.TabIndex = 0;
//
// panel18
//
this.panel18.Controls.Add(this.label6);
this.panel18.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel18.Location = new System.Drawing.Point(202, 0);
this.panel18.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel18.Location = new System.Drawing.Point(220, 0);
this.panel18.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel18.Name = "panel18";
this.panel18.Size = new System.Drawing.Size(266, 91);
this.panel18.Size = new System.Drawing.Size(291, 104);
this.panel18.TabIndex = 1;
//
// label6
@ -964,9 +964,9 @@
this.label6.Dock = System.Windows.Forms.DockStyle.Fill;
this.label6.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold);
this.label6.Location = new System.Drawing.Point(0, 0);
this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label6.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(266, 91);
this.label6.Size = new System.Drawing.Size(291, 104);
this.label6.TabIndex = 0;
this.label6.Text = "IM01";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -976,9 +976,9 @@
this.panel17.Controls.Add(this.label5);
this.panel17.Dock = System.Windows.Forms.DockStyle.Left;
this.panel17.Location = new System.Drawing.Point(0, 0);
this.panel17.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel17.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel17.Name = "panel17";
this.panel17.Size = new System.Drawing.Size(202, 91);
this.panel17.Size = new System.Drawing.Size(220, 104);
this.panel17.TabIndex = 0;
//
// label5
@ -988,9 +988,9 @@
this.label5.Dock = System.Windows.Forms.DockStyle.Fill;
this.label5.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold);
this.label5.Location = new System.Drawing.Point(0, 0);
this.label5.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label5.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(202, 91);
this.label5.Size = new System.Drawing.Size(220, 104);
this.label5.TabIndex = 0;
this.label5.Text = "工位:";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -1001,19 +1001,19 @@
this.panel11.Controls.Add(this.panel13);
this.panel11.Dock = System.Windows.Forms.DockStyle.Left;
this.panel11.Location = new System.Drawing.Point(0, 0);
this.panel11.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel11.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel11.Name = "panel11";
this.panel11.Size = new System.Drawing.Size(451, 91);
this.panel11.Size = new System.Drawing.Size(492, 104);
this.panel11.TabIndex = 0;
//
// panel14
//
this.panel14.Controls.Add(this.comboBox1);
this.panel14.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel14.Location = new System.Drawing.Point(202, 0);
this.panel14.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel14.Location = new System.Drawing.Point(220, 0);
this.panel14.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel14.Name = "panel14";
this.panel14.Size = new System.Drawing.Size(249, 91);
this.panel14.Size = new System.Drawing.Size(272, 104);
this.panel14.TabIndex = 1;
//
// comboBox1
@ -1026,9 +1026,9 @@
"A班",
"B班"});
this.comboBox1.Location = new System.Drawing.Point(0, 0);
this.comboBox1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.comboBox1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(249, 83);
this.comboBox1.Size = new System.Drawing.Size(272, 93);
this.comboBox1.TabIndex = 0;
//
// panel13
@ -1036,9 +1036,9 @@
this.panel13.Controls.Add(this.label4);
this.panel13.Dock = System.Windows.Forms.DockStyle.Left;
this.panel13.Location = new System.Drawing.Point(0, 0);
this.panel13.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel13.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel13.Name = "panel13";
this.panel13.Size = new System.Drawing.Size(202, 91);
this.panel13.Size = new System.Drawing.Size(220, 104);
this.panel13.TabIndex = 0;
//
// label4
@ -1048,9 +1048,9 @@
this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
this.label4.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold);
this.label4.Location = new System.Drawing.Point(0, 0);
this.label4.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label4.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(202, 91);
this.label4.Size = new System.Drawing.Size(220, 104);
this.label4.TabIndex = 0;
this.label4.Text = "班组:";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -1060,9 +1060,9 @@
this.panel9.Controls.Add(this.label3);
this.panel9.Dock = System.Windows.Forms.DockStyle.Left;
this.panel9.Location = new System.Drawing.Point(0, 0);
this.panel9.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel9.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel9.Name = "panel9";
this.panel9.Size = new System.Drawing.Size(310, 91);
this.panel9.Size = new System.Drawing.Size(338, 104);
this.panel9.TabIndex = 0;
//
// label3
@ -1072,9 +1072,9 @@
this.label3.Dock = System.Windows.Forms.DockStyle.Fill;
this.label3.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold);
this.label3.Location = new System.Drawing.Point(0, 0);
this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label3.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(310, 91);
this.label3.Size = new System.Drawing.Size(338, 104);
this.label3.TabIndex = 0;
this.label3.Text = "用户信息:";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -1085,9 +1085,9 @@
this.panel2.Controls.Add(this.panel3);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(2347, 147);
this.panel2.Size = new System.Drawing.Size(2560, 168);
this.panel2.TabIndex = 0;
//
// panel4
@ -1095,10 +1095,10 @@
this.panel4.Controls.Add(this.panel6);
this.panel4.Controls.Add(this.panel5);
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel4.Location = new System.Drawing.Point(310, 0);
this.panel4.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel4.Location = new System.Drawing.Point(338, 0);
this.panel4.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(2037, 147);
this.panel4.Size = new System.Drawing.Size(2222, 168);
this.panel4.TabIndex = 1;
//
// panel6
@ -1106,9 +1106,9 @@
this.panel6.Controls.Add(this.label1);
this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel6.Location = new System.Drawing.Point(0, 0);
this.panel6.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel6.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(1685, 147);
this.panel6.Size = new System.Drawing.Size(1838, 168);
this.panel6.TabIndex = 1;
//
// label1
@ -1117,9 +1117,9 @@
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
this.label1.Font = new System.Drawing.Font("宋体", 36F, System.Drawing.FontStyle.Bold);
this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label1.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(1685, 147);
this.label1.Size = new System.Drawing.Size(1838, 168);
this.label1.TabIndex = 0;
this.label1.Text = "注塑车间条码打印";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -1128,10 +1128,10 @@
//
this.panel5.Controls.Add(this.label2);
this.panel5.Dock = System.Windows.Forms.DockStyle.Right;
this.panel5.Location = new System.Drawing.Point(1685, 0);
this.panel5.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel5.Location = new System.Drawing.Point(1838, 0);
this.panel5.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(352, 147);
this.panel5.Size = new System.Drawing.Size(384, 168);
this.panel5.TabIndex = 0;
//
// label2
@ -1140,9 +1140,9 @@
this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
this.label2.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold);
this.label2.Location = new System.Drawing.Point(0, 0);
this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.label2.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(352, 147);
this.label2.Size = new System.Drawing.Size(384, 168);
this.label2.TabIndex = 0;
this.label2.Text = "2019-05-29 10:30:31";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@ -1153,19 +1153,19 @@
this.panel3.Controls.Add(this.pictureBox1);
this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
this.panel3.Location = new System.Drawing.Point(0, 0);
this.panel3.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.panel3.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(310, 147);
this.panel3.Size = new System.Drawing.Size(338, 168);
this.panel3.TabIndex = 0;
//
// pictureBox1
//
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(6, 5);
this.pictureBox1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.pictureBox1.Location = new System.Drawing.Point(7, 6);
this.pictureBox1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(308, 140);
this.pictureBox1.Size = new System.Drawing.Size(336, 160);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
@ -1180,12 +1180,12 @@
//
// FrmMainNew
//
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 21F);
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(2347, 1533);
this.ClientSize = new System.Drawing.Size(2560, 1752);
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6);
this.Name = "FrmMainNew";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "FrmMain";

2
InjectionSearch/FrmBarCodeSearch2408.cs

@ -802,7 +802,7 @@ namespace InjectionSearch
}
private void UpdateBoxRecordPrintState(string boxCode)
{
_injectionBoxBLL.UpdatePrinted(boxCode);
_injectionBoxBLL.UpdatePrinted(boxCode,5);
}
private void button1_Click(object sender, EventArgs e)

4
MESClassLibrary/BLL/Inspection/InjectionBoxBLL.cs

@ -43,11 +43,11 @@ namespace MESClassLibrary.BLL.Inspection
{
return db.UpdateInfo(localDB,packageCode, addCount, isFinish);
}
public bool UpdatePrinted(string packageCode)
public bool UpdatePrinted(string packageCode,int isHandPrint)
{
try
{
return db.UpdatePrinted(packageCode);
return db.UpdatePrinted(packageCode, isHandPrint);
}
catch (Exception ex)
{

10
MESClassLibrary/DAL/Injection/InjectionBoxDAL.cs

@ -153,14 +153,20 @@ namespace MESClassLibrary.DAL.Injection
return true;
}
public bool UpdatePrinted(string packageCode)
/// <summary>
///
/// </summary>
/// <param name="packageCode"></param>
/// <param name="isHandPrint">0:自动打印 1:手动点左侧打印,2:切换计划打印 3:切换模式打印 4:操作页面手动打印 5:查询页面手动打印 6:补打上一箱单</param>
/// <returns></returns>
public bool UpdatePrinted(string packageCode,int isHandPrint)
{
try
{
#region 添加数据
string sql = "";
SqlParameter[] param = null;
sql = "update " + TableName + " set IsPrint = 1, PrintTime=getdate() ";
sql = "update " + TableName + $" set IsPrint = 1, PrintTime=getdate(),IsHandPrint='{isHandPrint}' ";
sql += " where ";
sql += "BoxNo=@BoxNo";

Loading…
Cancel
Save