1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| package com.zy.core.enums;
|
| import lombok.Getter;
|
| @Getter
| public enum StationCommandType {
| MOVE("MOVE", "移动"),
| WRITE_INFO("WRITE_INFO", "信息写入"),
| RESET("RESET", "复位");
|
| private final String code;
| private final String desc;
|
| StationCommandType(String code, String desc) {
| this.code = code;
| this.desc = desc;
| }
| }
|
|