zhangherong
3 天以前 0b8e5e2ee3c47e385816165826754d5cbb86faad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.lxzn.modules.master.enums;
 
public enum EquipmentStatusEnum {
    Running(3), //运行
    Standby(2), //待料
    Error(22), //报警
    Stop(2), //停止
    Disconnected(0), //未连接
    ;
 
    private final Integer operation;
 
    private EquipmentStatusEnum(Integer operation) {
        this.operation = operation;
    }
 
    public Integer getOperation() {
        return operation;
    }
}