#
Junjie
4 天以前 2f9849905dbb8d65faa28628a40084708a0386ef
src/main/java/com/zy/core/thread/StationThread.java
@@ -3,15 +3,22 @@
import com.zy.core.ThreadHandler;
import com.zy.core.model.CommandResponse;
import com.zy.core.model.command.StationCommand;
import com.zy.core.network.entity.ZyStationStatusEntity;
import com.zy.core.model.protocol.StationProtocol;
import java.util.List;
import java.util.Map;
public interface StationThread extends ThreadHandler{
public interface StationThread extends ThreadHandler {
    List<ZyStationStatusEntity> getStatus();
    List<StationProtocol> getStatus();
    StationCommand getMoveCommand();
    Map<Integer, StationProtocol> getStatusMap();
    StationCommand getMoveCommand(Integer taskNo, Integer stationId, Integer targetStationId, Integer palletSize);
    CommandResponse sendCommand(StationCommand command);
    CommandResponse sendOriginCommand(String address, short[] data);
    byte[] readOriginCommand(String address, int length);
}