package com.ycl.entity.smoke; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.math.BigDecimal; /** *
* 监测点信息 *
* * @author lyq * @since 2023-02-28 */ @Data @EqualsAndHashCode(callSuper = false) @TableName("ums_ods_locale") public class OdsLocale implements Serializable { private static final long serialVersionUID = 1L; /** * Id */ @TableId("id") @JsonProperty("Id") private String id; /** * 烟道名称 */ @TableField("n_name") @JsonProperty("Name") private String nName; /** * 单位[级联] */ @TableField("owner") @JsonProperty("Owner") private String owner; /** * 菜系 */ @TableField("cuisine") @JsonProperty("Cuisine") private Integer cuisine; /** * 组织ID */ @TableField("customer_id") @JsonProperty("CustomerId") private String customerId; /** * 风速 */ @TableField("fan_speed") @JsonProperty("FanSpeed") private BigDecimal fanSpeed; /** * 风量 */ @TableField("fan_quantity") @JsonProperty("FanQuantity") private BigDecimal fanQuantity; /** * 管道截面面积 */ @TableField("pipe_area") @JsonProperty("PipeArea") private BigDecimal pipeArea; /** * 灶头数量 */ @TableField("stove_num") @JsonProperty("StoveNum") private Integer stoveNum; /** * 离线判定[小时] */ @TableField("offline_judge") @JsonProperty("OfflineJudge") private Integer offlineJudge; /** * 风机状态 */ @TableField("fan_status") @JsonProperty("FanStatus") private Integer fanStatus; /** * 净化器信息 */ @TableField("filter_info") @JsonProperty("FilterInfo") private String filterInfo; /** * 净化器状态 */ @TableField("filter_status") @JsonProperty("FilterStatus") private Integer filterStatus; /** * 抽样次数 */ @TableField("samplings") @JsonProperty("Samplings") private Integer samplings; /** * 是否联动 */ @TableField("link_status") @JsonProperty("LinkStatus") private Boolean linkStatus; /** * 超标阈值 */ @TableField("emissions_sill") @JsonProperty("EmissionsSill") private BigDecimal emissionsSill; /** * 集气灶面积[调研] */ @TableField("stove_area") @JsonProperty("StoveArea") private BigDecimal stoveArea; /** * 日均排烟时间[调研] */ @TableField("exhaust_time") @JsonProperty("ExhaustTime") private String exhaustTime; /** * 备注[调研] */ @TableField("remark") @JsonProperty("Remark") private String remark; /** * 地址 */ @TableField("addr") @JsonProperty("Addr") private String addr; /** * 地区[级联] */ @TableField("area_id") @JsonProperty("AreaId") private String areaId; /** * 经度 */ @TableField("lng") @JsonProperty("Lng") private String lng; /** * 纬度 */ @TableField("lat") @JsonProperty("Lat") private String lat; /** * 创建者 */ @TableField("creator") @JsonProperty("Creator") private String creator; /** * 创建日期 */ @TableField("create_at") @JsonProperty("CreateAt") private String createAt; /** * 状态[1:一般监测点,2:特殊监测点,99:废弃监测点] */ @TableField("status") @JsonProperty("Status") private Integer status; /** * 颗粒物含量超标阈值 */ @TableField("granule_sill") @JsonProperty("GranuleSill") private BigDecimal granuleSill; /** * 非甲烷总烃超标阈值 */ @TableField("hydrocarbon_sill") @JsonProperty("HydrocarbonSill") private BigDecimal hydrocarbonSill; /** * 健康码颜色 */ @TableField("health_code_color") @JsonProperty("HealthCodeColor") private String healthCodeColor; /** * 最后绑定设备mn */ @TableField("mn_last") @JsonProperty("MnLast") private String mnLast; /** * 监测点图片 */ @TableField("locale_pics") @JsonProperty("LocalePics") private String localePics; /** * 设备类型 最后一次绑定 */ @TableField("mn_typ_last") @JsonProperty("MnTypLast") private Integer mnTypLast; /** * 风机信息 */ @TableField("fan_info") @JsonProperty("FanInfo") private String fanInfo; /** * 取电方式 */ @TableField("power_supply_mode") @JsonProperty("PowerSupplyMode") private String powerSupplyMode; /** * 净化器风机联动比阈值 */ @TableField("link_ratio_sill") @JsonProperty("LinkRatioSill") private BigDecimal linkRatioSill; /** * 运维人员ID */ @TableField("maintainer_id") @JsonProperty("MaintainerId") private String maintainerId; /** * 绿码:最近X天内,该店家超标次数小等于Value1(默认3)次的,且净化器不正常使用天数小等于Value2(默认3)天的,且离线天数{非歇业、非监测仪故障【数据来源运维人员填写的”异常处理“】}小等于Value3(默认3)。 */ @TableField("health_code_x") @JsonProperty("HealthCodeX") private Integer healthCodeX; @TableField("health_code_value1") @JsonProperty("HealthCodeValue1") private Integer healthCodeValue1; @TableField("health_code_value2") @JsonProperty("HealthCodeValue2") private Integer healthCodeValue2; @TableField("health_code_value3") @JsonProperty("HealthCodeValue3") private Integer healthCodeValue3; /** * 红码:最近X天内,该店家超标次数大于Value4(默认5)次的,或者净化器不正常使用天数大于Value5(默认5)天的,且离线天数小于Value6(默认5)。 */ @TableField("health_code_value4") @JsonProperty("HealthCodeValue4") private Integer healthCodeValue4; @TableField("health_code_value5") @JsonProperty("HealthCodeValue5") private Integer healthCodeValue5; @TableField("health_code_value6") @JsonProperty("HealthCodeValue6") private Integer healthCodeValue6; /** * 0~24点间油烟浓度(颗粒物、非甲烷总烃)三个值中的一项值一直小于Value7(默认0.05)mg/M3的,视为数据异常偏小; */ @TableField("abnormal_value7") @JsonProperty("AbnormalValue7") private BigDecimal abnormalValue7; /** * 0~24点间油烟浓度(颗粒物、非甲烷总烃)三个值中的一项值一直大于Value8(默认30)mg/M3的,视为数据异常偏大; */ @TableField("abnormal_value8") @JsonProperty("AbnormalValue8") private BigDecimal abnormalValue8; /** * 0~24点间油烟浓度(颗粒物、非甲烷总烃)三个值中的一项值一直非Value9(默认0)mg/M3的,视为数据漂移异常 */ @TableField("abnormal_value9") @JsonProperty("AbnormalValue9") private BigDecimal abnormalValue9; /** * 0~24点间上线时间小于Value10(默认60)分钟的,视为上线时间过短异常; */ @TableField("abnormal_value10") @JsonProperty("AbnormalValue10") private BigDecimal abnormalValue10; /** * Ali设备名称 */ @TableField("ali_iot_device_name") @JsonProperty("AliIotDeviceName") private String aliIotDeviceName; /** * Ali设备 */ @TableField("ali_iot") @JsonProperty("AliIot") private String aliIot; /** * 创建时间 */ @TableField("created_at") @JsonProperty("CreatedAt") private String createdAt; /** * 更新时间 */ @TableField("updated_at") @JsonProperty("UpdatedAt") private String updatedAt; @TableField("health_code_value11") @JsonProperty("HealthCodeValue11") private Integer healthCodeValue11; @TableField("health_code_value12") @JsonProperty("HealthCodeValue12") private Integer healthCodeValue12; /** * 监测方式【1:合并传输 2:独立传输】 */ @TableField("send_mode") @JsonProperty("SendMode") private Integer sendMode; /** * 超标计算方式【1:抽样计算 2:滑动计算】 */ @TableField("surpass_calc_method") @JsonProperty("SurpassCalcMethod") private Integer surpassCalcMethod; /** * 风机正常电流值 */ @TableField("fan_standard_current") @JsonProperty("FanStandardCurrent") private Integer fanStandardCurrent; /** * 净化器正常电流值 */ @TableField("filter_standard_current") @JsonProperty("FilterStandardCurrent") private Integer filterStandardCurrent; /** * 设备状态[正常NORMAL、下线OFFLINE、废弃ABANDON] */ @TableField("status_of_record") @JsonProperty("StatusOfRecord") private String statusOfRecord; /** * 审核备注 */ @TableField("remark_of_record") @JsonProperty("RemarkOfRecord") private String remarkOfRecord; /** * 审核原因 */ @TableField("cause") @JsonProperty("Cause") private String cause; @TableField("customer") private String customerString; @JsonProperty("Customer") @TableField(exist = false) private OdsLocaleCustomer customer; }