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
61
62
63
64
65
66
67
68
69
70
71
72
73
| package com.zy.asrs.entity.param;
|
| import lombok.Data;
|
| import java.util.List;
|
| @Data
| public class GetShuttleStatusParam {
|
| /**
| * 小车号
| */
| private Integer shuttleNo;
|
| /**
| * 小车模式 0:手动 1:自动
| */
| private Integer mode;
| /**
| * 小车状态
| * <p>
| * IDLE(1, "空闲"),
| * WORKING(2, "作业中"),
| * WAITING(3, "等待确认"),
| * CHARGING(4, "充电中"),
| * CHARGING_WAITING(5, "充电任务等待确认"),
| * FIXING(6, "故障修复中"),
| * OFFLINE(7, "离线"),
| */
| private Integer protocolStatus;
| /**
| * 当前二维码
| * 0为空
| */
| private String currentCode;
|
| /**
| * 是否为充电状态
| */
| private Boolean hasCharge;
|
| private Integer errorCode;
|
| public String getProtocolStatus$() {
| String protocolStatus$ = "";
| switch (this.protocolStatus) {
| case 1:
| protocolStatus$ = "空闲";
| break;
| case 2:
| protocolStatus$ = "作业中";
| break;
| case 3:
| protocolStatus$ = "等待确认";
| break;
| case 4:
| protocolStatus$ = "充电中";
| break;
| case 5:
| protocolStatus$ = "充电任务等待确认";
| break;
| case 6:
| protocolStatus$ = "故障修复中";
| break;
| case 7:
| protocolStatus$ = "离线";
| break;
|
|
| }
| return protocolStatus$;
| }
| }
|
|