|
|
@@ -48,8 +48,6 @@ namespace UAS_MES.Make
|
|
|
|
|
|
Thread InitPrint;
|
|
|
|
|
|
- private System.DateTime[] indate;
|
|
|
-
|
|
|
public Make_CartonBoxWeigh()
|
|
|
{
|
|
|
InitializeComponent();
|
|
|
@@ -133,7 +131,7 @@ namespace UAS_MES.Make
|
|
|
if (AutoPrint.Checked)
|
|
|
{
|
|
|
doc = lbl.Documents.Open(ftpOperater.DownLoadTo + PrintLabel.Text.Split(':')[1]);
|
|
|
- Print.CodeSoft(Tag.ToString(),doc, PrintLabel.Text.Split(':')[1], PrintLabel.SelectedValue.ToString(), PrinterList.Text, outboxcode.Text, int.Parse(PrintNum.Text), indate[PrintLabel.SelectedIndex]);
|
|
|
+ Print.CodeSoft(Tag.ToString(), doc, PrintLabel.Text.Split(':')[1], PrintLabel.SelectedValue.ToString(), PrinterList.Text, outboxcode.Text, int.Parse(PrintNum.Text));
|
|
|
}
|
|
|
LogicHandler.DoCommandLog(Tag.ToString(), User.UserSourceCode, ma_code.Text, User.UserLineCode, User.UserSourceCode, "卡通箱称重", "称量合格", outboxcode.Text, "");
|
|
|
OperateResult.AppendText(">>箱号" + outboxcode.Text + "检测合格\n", Color.Green);
|
|
|
@@ -189,7 +187,7 @@ namespace UAS_MES.Make
|
|
|
private void Confirm_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
doc = lbl.Documents.Open(ftpOperater.DownLoadTo + PrintLabel.Text.Split(':')[1]);
|
|
|
- Print.CodeSoft(Tag.ToString(), doc, PrintLabel.Text.Split(':')[1], PrintLabel.SelectedValue.ToString(), PrinterList.Text, outboxcode.Text, int.Parse(PrintNum.Text), indate[PrintLabel.SelectedIndex]);
|
|
|
+ Print.CodeSoft(Tag.ToString(), doc, PrintLabel.Text.Split(':')[1], PrintLabel.SelectedValue.ToString(), PrinterList.Text, outboxcode.Text, int.Parse(PrintNum.Text));
|
|
|
}
|
|
|
|
|
|
//停止进程,关闭串口
|