iExcalibur_yan
3 天以前 277b252fa032d7357c001660b423dce633c03165
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;
    }
}