rev 取放货完成

This commit is contained in:
张江玮
2023-03-29 20:29:13 +08:00
parent bad2e51d95
commit c88f8a07e4

View File

@@ -986,9 +986,11 @@ public class AgvServiceImpl implements AgvService {
//取货完成
if ("Load".equals(action)) {
standardInspectSiteSmartDeviceDriver.setFlag(2);
if (!"1006".equals(address)) {
// if (!"1006".equals(address)) {
if (!"1007".equals(address) && !"1008".equals(address) && !"1009".equals(address) && !"1011".equals(address)) {
standardInspectSiteSmartDeviceDriver.writing(2);
}
// }
is_feedback = true;
//如果开启呼叫按钮,那么就需要判断进出动作信号
@@ -1013,7 +1015,9 @@ public class AgvServiceImpl implements AgvService {
//放货完成
} else if ("Unload".equals(action)) {
standardInspectSiteSmartDeviceDriver.setFlag(4);
standardInspectSiteSmartDeviceDriver.writing(3);
if (!"1007".equals(address) && !"1008".equals(address) && !"1009".equals(address) && !"1011".equals(address)) {
standardInspectSiteSmartDeviceDriver.writing(3);
}
is_feedback = true;
// if (ObjectUtil.isNotEmpty(apply_task) && apply_task.equals("true")) {