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
| package com.zy.acs.manager.common.domain;
|
| import lombok.Data;
|
| /**
| * Created by vincent on 2023/8/4
| */
| @Data
| public class MockStepDto {
|
| private String code;
|
| private boolean pause;
|
| private int time;
|
| private Double distance;
|
| private String action;
|
| private String desc;
|
|
|
| public MockStepDto(String code, boolean pause) {
| this.code = code;
| this.pause = pause;
| }
|
| public MockStepDto(String code, boolean pause, String action) {
| this.code = code;
| this.pause = pause;
| this.action = action;
| }
|
| public String getDesc() {
| if (null == this.action || "".equals(this.action)) {
| return "";
| }
| switch (this.action) {
| case "PICK":
| return "PICK";
| case "DROP":
| return "DROP";
| default:
| return "";
| }
| }
|
| }
|
|