zhangherong
3 天以前 0994015240e49d526c81123e78857808ee93c0d1
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;
    }
}