Browse Source

更新

master
汪菘 3 years ago
parent
commit
620b217088
  1. 5
      nladmin-system/src/main/java/org/nl/acs/device_driver/hailiang/hailiang_feeding_trunk/HaiLiangFeedingTrunkDeviceDriver.java

5
nladmin-system/src/main/java/org/nl/acs/device_driver/hailiang/hailiang_feeding_trunk/HaiLiangFeedingTrunkDeviceDriver.java

@ -668,13 +668,16 @@ public class HaiLiangFeedingTrunkDeviceDriver extends AbstractOpcDeviceDriver im
String is_coating = orderdto.getIs_coating(); String is_coating = orderdto.getIs_coating();
//是否贴标 //是否贴标
String is_labeling = orderdto.getIs_labeling(); String is_labeling = orderdto.getIs_labeling();
if("1".equals(is_lettering)){
//下发激光刻字信息 //下发激光刻字信息
//判断下发刻字成功 //判断下发刻字成功
if(!send_letter_flag){ if(!send_letter_flag){
send_letter_flag = produceshiftorderdetailService.sendLetteringMess(dto); send_letter_flag = produceshiftorderdetailService.sendLetteringMess(dto);
logServer.deviceLogToacs(this.device_code,"","","下发激光刻字信息结果:"+send_letter_flag); logServer.deviceLogToacs(this.device_code,"","","下发激光刻字信息结果:"+send_letter_flag);
} }
if(send_letter_flag_back) { }
if(send_letter_flag_back || "0".equals(is_lettering)) {
logServer.deviceLogToacs(this.device_code,"","","申请工单明细成功,order:"+order+",orderdetail:"+orderDetail); logServer.deviceLogToacs(this.device_code,"","","申请工单明细成功,order:"+order+",orderdetail:"+orderDetail);
if(last_detail){ if(last_detail){
writing(ItemProtocol.item_to_is_last,"1"); writing(ItemProtocol.item_to_is_last,"1");

Loading…
Cancel
Save