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; } }