Lius
2024-09-12 81e5a11d1f8cc8eaeb7875bdafe36a86379d6231
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/entity/MdcEquipment.java
@@ -7,6 +7,7 @@
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
@@ -46,13 +47,13 @@
    /**
     * 报警号
     */
    @Excel(name = "报警号", width = 15)
    //@Excel(name = "报警号", width = 15)
    @ApiModelProperty(value = "报警号")
    private String alarm;
    /**
     * 采集时间
     */
    @Excel(name = "采集时间", width = 15)
    //@Excel(name = "采集时间", width = 15)
    @ApiModelProperty(value = "采集时间")
    private String collectTime;
    /**
@@ -64,7 +65,7 @@
    /**
     * 设备实时状态
     */
    @Excel(name = "设备实时状态", width = 15)
    //@Excel(name = "设备实时状态", width = 15)
    @ApiModelProperty(value = "设备实时状态")
    private Integer oporation;
    /**
@@ -100,7 +101,7 @@
    /**
     * 采集参数表
     */
    @Excel(name = "采集参数表", width = 15)
    @Excel(name = "采集参数表", width = 30)
    @ApiModelProperty(value = "采集参数表")
    private String saveTableName;
    /**
@@ -121,21 +122,42 @@
    @Excel(name = "设备功率", width = 15)
    @ApiModelProperty(value = "设备功率")
    private String devicePower;
    /**
     * 坐标-左
     * 设备状态
     */
    @ApiModelProperty(value = "坐标-左")
    private Integer coordinateLeft;
    @Excel(name = "设备状态", width = 15, dicCode = "mdc_equipment_status")
    @Dict(dicCode = "mdc_equipment_status")
    @ApiModelProperty(value = "设备状态")
    private Integer equipmentStatus;
    /**
     * 坐标-上
     * 系统类型
     */
    @ApiModelProperty(value = "坐标-上")
    private Integer coordinateTop;
    @Excel(name = "系统类型", width = 15)
    @ApiModelProperty(value = "系统类型")
    private String systemType;
    /**
     * 设备级别
     */
    @Excel(name = "设备级别", width = 15)
    @ApiModelProperty(value = "设备级别")
    private String deviceLevel;
    /**
     * 设备种类
     */
    @Excel(name = "设备种类", width = 15)
    @ApiModelProperty(value = "设备种类")
    private String deviceCategory;
    /**部门名称*/
    @Excel(name = "部门名称", width = 15)
    private transient String orgCodeTxt;
    /**产线名称*/
    @Excel(name = "车间名称", width = 15)
    private transient String productionName;
    @TableField(exist = false)
@@ -145,4 +167,17 @@
    @TableField(exist = false)
    @ApiModelProperty(value = "选择的产线id集合")
    private String selectedProduction;
    /**
     * 重要程度
     */
    @Dict(dicCode = "device_importance_level")
    @ApiModelProperty(value = "重要程度")
    private Integer deviceImportanceLevel;
    /**
     * 设备异常状态
     */
    @Dict(dicCode = "device_abnormal_status")
    @ApiModelProperty(value = "设备异常状态")
    private Integer deviceAbnormalStatus;
}