#
vincentlu
2026-01-27 182b605d7015caf520639961d52c02171e9322f1
#
3个文件已修改
25 ■■■■ 已修改文件
version/db/new.sql 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/TransferStationHandler.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
version/db/new.sql
@@ -20,4 +20,12 @@
    add height decimal(24, 9) null comment '作业高度' after offset;
alter table man_sta
    add depth decimal(24, 9) null comment '作业深度' after height;
    add depth decimal(24, 9) null comment '作业深度' after height;
alter table man_sta
    add inbound_wait int null comment '连续入库等待' after angle;
alter table man_sta
    add outbound_wait int null comment '连续出库等待' after inbound_wait;
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/TransferStationHandler.java
@@ -12,13 +12,14 @@
import java.util.List;
import java.util.Objects;
import java.util.Optional;
@Slf4j
@Service
public class TransferStationHandler {
    private static final long LOAD_DELAY_MS  = 60000L; // load ( inbound ) delay timeout
    private static final long PLACE_DELAY_MS  = 15000L; // place ( outbound ) delay timeout
    private static final int DEFAULT_LOAD_DELAY_MS  = 1000; // load ( inbound ) delay timeout
    private static final int DEFAULT_PLACE_DELAY_MS  = 15000; // place ( outbound ) delay timeout
    @Autowired
    private SegmentService segmentService;
@@ -84,7 +85,7 @@
//            }
            // timeout
            return (now - preEndTime) < LOAD_DELAY_MS;
            return (now - preEndTime) < Optional.ofNullable(rollerSta.getInboundWait()).orElse(DEFAULT_LOAD_DELAY_MS);
        }
        // outbound
@@ -106,7 +107,7 @@
//            }
            // timeout
            return (now - preEndTime) < PLACE_DELAY_MS;
            return (now - preEndTime) < Optional.ofNullable(rollerSta.getOutboundWait()).orElse(DEFAULT_PLACE_DELAY_MS);
        }
        return false;
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java
@@ -64,6 +64,12 @@
    @ApiModelProperty(value= "作业角度")
    private String angle;
    @ApiModelProperty(value= "连续入库等待(ms)")
    private Integer inboundWait;
    @ApiModelProperty(value= "连续出库等待(ms)")
    private Integer outboundWait;
    @ApiModelProperty(value= "自动")
    private String autoing;