现场需求fix

This commit is contained in:
psh
2024-04-29 16:46:28 +08:00
parent 2ba50d5b31
commit d2e51a44e0
23 changed files with 635 additions and 24 deletions

View File

@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.ObjectUtils;
import org.nl.acs.device.domain.Device;
import org.nl.acs.device.service.DeviceService;
import org.nl.acs.device_driver.DeviceDriver;
@@ -301,8 +302,10 @@ public class SsxSiteDeviceDriver extends AbstractOpcDeviceDriver implements Devi
this.apply(7);
break;
case 8:
log.info("满料出库");
this.apply(8);
if(ObjectUtils.isNotEmpty(sub_tray)&&ObjectUtils.isNotEmpty(mother_tray)) {
log.info("满料出库");
this.apply(8);
}
break;
}