#
Junjie
10 小时以前 26784989e73fc36c6315e54939d1b13a50eb5020
src/main/java/com/zy/core/network/ZyStationConnectDriver.java
@@ -186,6 +186,15 @@
        return connectApi.sendOriginCommand(address, data);
    }
    public boolean clearTaskBufferSlot(Integer stationId, Integer slotIdx) {
        ZyStationConnectApi connectApi = zyStationConnectApi;
        if (!connected || connecting || connectApi == null) {
            return false;
        }
        CommandResponse response = connectApi.clearTaskBufferSlot(deviceConfig.getDeviceNo(), stationId, slotIdx);
        return response != null && Boolean.TRUE.equals(response.getResult());
    }
    public byte[] readOriginCommand(String address, int length) {
        ZyStationConnectApi connectApi = zyStationConnectApi;
        if (!connected || connecting || connectApi == null) {