mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
超管统计接口50%
This commit is contained in:
+35
@@ -0,0 +1,35 @@
|
||||
package com.cf.imes.framework.common.enums;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
public enum MachineTypeEnum {
|
||||
|
||||
|
||||
CUTTING(1, "开料设备"),
|
||||
|
||||
DRILL(2, "钻孔机设备"),
|
||||
|
||||
PANELSAW(3, "裁板锯"),
|
||||
|
||||
LABELING(4, "贴标机"),
|
||||
|
||||
BANDING(5, "封边机");
|
||||
|
||||
private Integer type;
|
||||
private String machineName;
|
||||
|
||||
|
||||
public boolean equals(Integer status) {
|
||||
return this.type .equals(status) ;
|
||||
}
|
||||
|
||||
public boolean equals(MachineTypeEnum enableStatusEnum) {
|
||||
return enableStatusEnum != null && enableStatusEnum.type .equals(this.getType()) ;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user