1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| package com.qianwen.smartman.modules.smis.enums;
|
|
| public enum TransMethodEnum {
| FTP(1),
| SERIAL_PORT(2);
|
| private final Integer code;
|
| TransMethodEnum(final Integer code) {
| this.code = code;
| }
|
| public Integer getCode() {
| return this.code;
| }
| }
|
|