#
Junjie
2026-01-14 779283e0fff0277d8718cc390684c9bb2715b7c1
#
2个文件已修改
16 ■■■■ 已修改文件
src/main/java/com/zy/core/thread/impl/ZyStationV3Thread.java 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/basStationOpt/basStationOpt.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/core/thread/impl/ZyStationV3Thread.java
@@ -282,6 +282,18 @@
    }
    private void executeMoveWithSeg(StationCommand original) {
        int stationCommandSendLength = 20;
        Object systemConfigMapObj = redisUtil.get(RedisKeyType.SYSTEM_CONFIG_MAP.key);
        if (systemConfigMapObj != null) {
            try {
                HashMap<String, String> systemConfigMap = (HashMap<String, String>) systemConfigMapObj;
                String stationCommandSendLengthStr = systemConfigMap.get("stationCommandSendLength");
                if(stationCommandSendLengthStr != null){
                    stationCommandSendLength = Integer.parseInt(stationCommandSendLengthStr);
                }
            } catch (Exception ignore) {}
        }
        if(original.getCommandType() == StationCommandType.MOVE){
            List<Integer> path = original.getNavigatePath();
            if (path == null || path.isEmpty()) {
@@ -296,7 +308,7 @@
            List<Integer> segmentEndIndices = new ArrayList<>();
            int idx = 0;
            while (idx < total) {
                int end = Math.min(idx + 3, total) - 1;
                int end = Math.min(idx + stationCommandSendLength, total) - 1;
                segmentTargets.add(path.get(end));
                segmentEndIndices.add(end);
                idx = end + 1;
src/main/webapp/views/basStationOpt/basStationOpt.html
@@ -19,7 +19,7 @@
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <div class="layui-input-inline">
                            <input class="layui-input" type="text" name="id" placeholder="编号" autocomplete="off">
                            <input class="layui-input" type="text" name="task_no" placeholder="工作号" autocomplete="off">
                        </div>
                    </div>
                     <div class="layui-inline" style="width: 300px">