AgvTaskCSService.java
1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package com.huaheng.api.acs.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.api.acs.domain.AgvTaskCS;
import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.task.taskHeader.domain.TaskHeader;
import org.springframework.stereotype.Service;
import java.util.Map;
@Service
public interface AgvTaskCSService extends IService<AgvTaskCS> {
/**
* AGV创建任务
* @param agvtask
* @return
*/
AjaxResult createAGVTask(AgvTaskCS agvtask);
AjaxResult createAGVTaskJLK(AgvTaskCS agvTask);
/**
* AGV创建任务
* @param agvTaskIds
* @return
*/
AjaxResult sendTaskToAGV(Integer[] agvTaskIds,boolean flag);
/**
* 删除任务
* @param agvTaskIds
* @return
*/
AjaxResult cancelAGVTask(Integer[] agvTaskIds);
/**
* 删除AGV任务
* @param id
* @param warehouseCode
* @param area
* @return
*/
AjaxResult cancelTask(Integer id, String warehouseCode, String area);
/**
* 更新AGV任务状态
* @param map
* @return
*/
AjaxResult notifyAGVTask(Map map);
AgvTaskCS getAgvTaskByHeaderId(TaskHeader taskHeader, Integer taskType);
AgvTaskCS saveAGVTaskByTask(TaskHeader taskHeader);
AgvTaskCS saveAGVTaskByTaskReturn(TaskHeader taskHeader,AgvTaskCS agvTaskCS);
AjaxResult setLKPort(TaskHeader taskHeader);
TaskHeader setJLKPort(TaskHeader taskHeader);
AjaxResult setAgvPort(TaskHeader taskHeader);
AjaxResult excuteAgvContainer(String containerCode);
AgvTaskCS saveAgvTaskBySimpleAgv(TaskHeader task,AgvTaskCS agvtask);
}