自动化立体仓库 - WMS系统
1
ZY
2025-03-29 c65db22f67af8018ae7105ea00d8743e42835e13
src/main/java/com/zy/asrs/service/AgvWorkService.java
@@ -1,64 +1,57 @@
package com.zy.asrs.service;
import com.zy.asrs.entity.AgvWaitPakin;
import com.zy.asrs.entity.BasDevp;
import com.zy.asrs.entity.WaitPakin;
import com.zy.asrs.entity.param.EmptyPlateOutParam;
import com.zy.asrs.entity.param.FullStoreParam;
import com.zy.asrs.entity.AgvBasDevp;
import com.zy.asrs.entity.AgvWrkMast;
import com.zy.asrs.entity.param.LocDetlAdjustParam;
import com.zy.asrs.entity.param.StockOutParam;
import com.zy.common.model.LocDetlDto;
import com.zy.common.model.StartupDto;
import com.zy.common.model.TaskDto;
import com.zy.common.model.enums.IoWorkType;
import java.util.List;
public interface AgvWorkService {
    /**
     * 全板入库
     * @return 库位号
    /*
     通知档手动生成任务
     */
    String startupFullPutStore(FullStoreParam param, Long userId);
    StartupDto createWaitPainWrkMastStart(List<AgvBasDevp> agvBasDevpList, Long userId, boolean isConveyor);
    /**
     * 出库作业
    /*
    生成出库任务
     */
    void startupFullTakeStore(StockOutParam param, Long userId);
    void stockOutWrkMast(List<TaskDto> agvTaskDtos, Long userId);
    /**
     * 出库作业
    /*
    生成出库任务
     */
    void stockOut(BasDevp staNo, List<LocDetlDto> locDetls, IoWorkType ioWorkType, Long userId);
    void processOut(List<TaskDto> agvTaskDtos, Long userId);
    void stockOut(BasDevp staNo, TaskDto taskDto, Long userId);
    /**
     * 空板入库
     * @return 库位号
    /*
    生成拣料入库任务
     */
    String emptyPlateIn(Integer sourceStaNo, Long userId);
    void pickIn(List<AgvWrkMast> agvWrkMastList);
    /**
     * 空板出库
     */
    void emptyPlateOut(EmptyPlateOutParam param, Long userId);
    /**
     * 盘点出库
    /*
    盘点出库
     */
    void locCheckOut(StockOutParam param, Long userId);
    /**
     * 库位移转
    /*
    库位移转
     */
    void locMove(String sourceLocNo, String locNo, Long userId);
    void locMove(String sourceLocNo, String targetLocNo, Long userId);
    /**
     * 手动完成工作档
    /*
    空板入库
     */
    void completeWrkMast(String workNo, Long userId);
    String emptyPlateIn(String station, String containerCode, Short containerType, Long userId, boolean emptyAutoIn);
    String emptyPlateInV2(String station, String containerCode, Short containerType, Long userId, boolean emptyAutoIn,String factory);
    String emptyPlateInV3(String station, String containerCode, Short containerType, Long userId, boolean emptyAutoIn);
    void emptyPlateOut(String station, int containerType, Long userId);
    /**
     * 库存明细调整
@@ -66,28 +59,18 @@
    void adjustLocDetl(LocDetlAdjustParam param, Long userId);
    /**
     * 手动完成工作档
     */
    void completeWrkMast(String workNo, Long userId);
    /**
     * 手动取消工作档
     */
    void cancelWrkMast(String workNo, Long userId);
    void cancelWrkMast(String workNo, Long userId, Integer type);
    /**
     * 手动拣料入库工作档
     * 切换调拨类型
     */
    void pickWrkMast(String workNo, Long userId);
    /**
     * 通知档手动生成任务
     */
    StartupDto createWaitPainWrkMastStart(List<AgvWaitPakin> list, Long userId);
    /**
     * 通知档手动生成任务
     */
    String dealPreHaveStart(Integer wrkNo, Long userId);
    /**
     * 穿梭库移转
     */
    void shuttleTransfer(List<String> locNos);
    void changeType(String workNo, Long userId);
}