Junjie
2026-01-03 4898d942bd6e3c1119493cf0314b15f2bd54daf3
src/main/java/com/zy/core/thread/impl/ZyStationThread.java
@@ -104,7 +104,7 @@
                if (task != null) {
                    step = task.getStep();
                }
                if (step == 2 && task != null) {
                if (step == 2) {
                    sendCommand((StationCommand) task.getData());
                }
            } catch (Exception e) {
@@ -158,6 +158,7 @@
                    stationProtocol.setPalletHeight(statusEntity.getPalletHeight());
                    stationProtocol.setError(statusEntity.getError());
                    stationProtocol.setBarcode(statusEntity.getBarcode());
                    stationProtocol.setRunBlock(statusEntity.isRunBlock());
                }
            }
        }
@@ -265,4 +266,14 @@
        }
        return map;
    }
    @Override
    public CommandResponse sendOriginCommand(String address, short[] data) {
        return zyStationConnectDriver.sendOriginCommand(address, data);
    }
    @Override
    public byte[] readOriginCommand(String address, int length) {
        return zyStationConnectDriver.readOriginCommand(address, length);
    }
}