|
|
@@ -223,12 +223,12 @@ namespace UAS_MES_NEW.PublicMethod
|
|
|
}
|
|
|
if (IfRePrint == "-1")
|
|
|
{
|
|
|
- string printNumber = dh.getFieldDataByCondition("CONFIGS", "DATA", "code='printNumber' and caller='MESSetting'").ToString();
|
|
|
+ /*string printNumber = dh.getFieldDataByCondition("CONFIGS", "DATA", "code='printNumber' and caller='MESSetting'").ToString();
|
|
|
if (dh.getRowCount("labelprintlog", "lpl_type='" + LabelType + "' and lpl_value='" + SnCode + "'") > int.Parse(printNumber))
|
|
|
{
|
|
|
ErrorMessage = "标签补打超出允许打印次数【" + printNumber + "】";
|
|
|
return false;
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
if (IfRePrint != "-1" && LabelType != "机身标")
|
|
|
{
|
|
|
@@ -285,7 +285,7 @@ namespace UAS_MES_NEW.PublicMethod
|
|
|
string fp_path = label.Rows[0]["FP_PATH"].ToString().Replace("/app/uas/webapps/", "");
|
|
|
fp_name = label.Rows[0]["fp_name"].ToString();
|
|
|
WebClient wc = new WebClient();
|
|
|
- wc.DownloadFile("http://192.168.1.86:8099/" + fp_path, @"C:\打印标签\" + fp_name);
|
|
|
+ wc.DownloadFile("http://10.200.40.243:8099/" + fp_path, @"C:\打印标签\" + fp_name);
|
|
|
}
|
|
|
}
|
|
|
}
|