From 73cddc1f15fbee51a0f79189f7df631361483b0d Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期四, 19 十二月 2024 14:23:23 +0800 Subject: [PATCH] 优化AGV工作处理及上报逻辑 --- src/main/java/com/zy/asrs/service/AgvWorkService.java | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 57 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/AgvWorkService.java b/src/main/java/com/zy/asrs/service/AgvWorkService.java index d8b1ccf..190b1df 100644 --- a/src/main/java/com/zy/asrs/service/AgvWorkService.java +++ b/src/main/java/com/zy/asrs/service/AgvWorkService.java @@ -1,17 +1,71 @@ package com.zy.asrs.service; 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.StartupDto; +import com.zy.common.model.TaskDto; import java.util.List; public interface AgvWorkService { - /** - * 閫氱煡妗f墜鍔ㄧ敓鎴愪换鍔� + /* + 閫氱煡妗f墜鍔ㄧ敓鎴愪换鍔� */ - StartupDto createWaitPainWrkMastStart(List<AgvBasDevp> agvBasDevpList, Long userId); + StartupDto createWaitPainWrkMastStart(List<AgvBasDevp> agvBasDevpList, Long userId, boolean isConveyor); + /* + 鐢熸垚鍑哄簱浠诲姟 + */ + void stockOutWrkMast(List<TaskDto> agvTaskDtos, Long userId); + /* + 鐢熸垚鍑哄簱浠诲姟 + */ + void processOut(List<TaskDto> agvTaskDtos, Long userId); + + /* + 鐢熸垚鎷f枡鍏ュ簱浠诲姟 + */ + void pickIn(List<AgvWrkMast> agvWrkMastList); + + /* + 鐩樼偣鍑哄簱 + */ + void locCheckOut(StockOutParam param, Long userId); + + /* + 搴撲綅绉昏浆 + */ + void locMove(String sourceLocNo, String targetLocNo, Long userId); + + /* + 绌烘澘鍏ュ簱 + */ + String emptyPlateIn(String station,String containerCode,Short containerType, Long userId, boolean emptyAutoIn); + + void emptyPlateOut(String station, int containerType, Long userId); + + /** + * 搴撳瓨鏄庣粏璋冩暣 + */ + void adjustLocDetl(LocDetlAdjustParam param, Long userId); + + /** + * 鎵嬪姩瀹屾垚宸ヤ綔妗� + */ + void completeWrkMast(String workNo, Long userId); + + /** + * 鎵嬪姩鍙栨秷宸ヤ綔妗� + */ + void cancelWrkMast(String workNo, Long userId, Integer type); + + /** + * 鍒囨崲璋冩嫧绫诲瀷 + */ + void changeType(String workNo, Long userId); } -- Gitblit v1.9.1