增加 新监测项字典

This commit is contained in:
zhangyue 2026-07-28 17:50:43 +08:00
parent 4dd942680e
commit 3ec40889a5
3 changed files with 20 additions and 9 deletions

View File

@ -109,6 +109,15 @@ public enum PollutionEnum {
dataStinkH2s("dataH2s","硫化氢","mg/m³","sys/icon/zhandian_icon_h2s.png","stink","#d05c9f", "sys/mobile/icon/shebei_icon_h2s.png", "sys/bs/icon/shebei_icon_h2s.png", "shebei_icon_h2s.png"), dataStinkH2s("dataH2s","硫化氢","mg/m³","sys/icon/zhandian_icon_h2s.png","stink","#d05c9f", "sys/mobile/icon/shebei_icon_h2s.png", "sys/bs/icon/shebei_icon_h2s.png", "shebei_icon_h2s.png"),
dataStinkTvoc("dataTvoc","总挥发性有机物","mg/m³","sys/icon/zhandian_icon_tvoc.png","stink","#f06464", "sys/mobile/icon/shebei_icon_tvoc.png", "sys/bs/icon/shebei_icon_tvoc.png", "shebei_icon_tvoc.png"), dataStinkTvoc("dataTvoc","总挥发性有机物","mg/m³","sys/icon/zhandian_icon_tvoc.png","stink","#f06464", "sys/mobile/icon/shebei_icon_tvoc.png", "sys/bs/icon/shebei_icon_tvoc.png", "shebei_icon_tvoc.png"),
//流量计
dataMeterFlowTotal("sData1","累计流量","","sys/icon/shebei_icon_flowTotal.png","meter","#f47a75", "sys/mobile/icon/shebei_icon_flowTotal.png", "sys/bs/icon/shebei_icon_flowTotal.png", "shebei_icon_flowTotal.png"),
dataMeterFlowRate("sData2","瞬时流量","mg/m³","sys/icon/shebei_icon_flowRate.png","meter","#d05c7c", "sys/mobile/icon/shebei_icon_flowRate.png", "sys/bs/icon/shebei_icon_flowRate.png", "shebei_icon_flowRate.png"),
dataMeterOutage("sData3","空高值","mm","sys/icon/shebei_icon_outage.png","meter","#d05c9f", "sys/mobile/icon/shebei_icon_outage.png", "sys/bs/icon/shebei_icon_outage.png", "shebei_icon_outage.png"),
dataMeterLevel("sData4","液位值","mm","sys/icon/shebei_icon_level.png","meter","#f06464", "sys/mobile/icon/shebei_icon_level.png", "sys/bs/icon/shebei_icon_level.png", "shebei_icon_level.png"),
dataMeterVelocity("sData5","当前流速值","cm/s","sys/icon/shebei_icon_velocity.png","meter","#f06464", "sys/mobile/icon/shebei_icon_velocity.png", "sys/bs/icon/shebei_icon_velocity.png", "shebei_icon_velocity.png"),
//杀虫灯 //杀虫灯
dataPestLight("ct","杀虫次数","","","9_pestlight","","","",""), dataPestLight("ct","杀虫次数","","","9_pestlight","","","",""),

View File

@ -13,6 +13,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable; import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
/** /**
@ -49,7 +50,7 @@ public class SurvHisdataFlowmeter implements Serializable {
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建时间") @ApiModelProperty(value = "创建时间")
private Date createTime; private LocalDateTime createTime;
/**更新人*/ /**更新人*/
@Excel(name = "更新人", width = 15) @Excel(name = "更新人", width = 15)
@ApiModelProperty(value = "更新人") @ApiModelProperty(value = "更新人")
@ -63,7 +64,7 @@ public class SurvHisdataFlowmeter implements Serializable {
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd")
@ApiModelProperty(value = "更新时间") @ApiModelProperty(value = "更新时间")
private Date updatedTime; private LocalDateTime updatedTime;
/**数据1*/ /**数据1*/
@Excel(name = "数据1", width = 15) @Excel(name = "数据1", width = 15)
@ApiModelProperty(value = "数据1") @ApiModelProperty(value = "数据1")
@ -89,7 +90,7 @@ public class SurvHisdataFlowmeter implements Serializable {
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "数据更新时间") @ApiModelProperty(value = "数据更新时间")
private Date sDateTime; private LocalDateTime dataDateTime;
/**数据类型;realTime=实时dayTime=日数据month=月数据year=年数据*/ /**数据类型;realTime=实时dayTime=日数据month=月数据year=年数据*/
@Excel(name = "数据类型;realTime=实时dayTime=日数据month=月数据year=年数据", width = 15) @Excel(name = "数据类型;realTime=实时dayTime=日数据month=月数据year=年数据", width = 15)
@ApiModelProperty(value = "数据类型;realTime=实时dayTime=日数据month=月数据year=年数据") @ApiModelProperty(value = "数据类型;realTime=实时dayTime=日数据month=月数据year=年数据")
@ -101,7 +102,7 @@ public class SurvHisdataFlowmeter implements Serializable {
/**设备ID*/ /**设备ID*/
@Excel(name = "设备ID", width = 15) @Excel(name = "设备ID", width = 15)
@ApiModelProperty(value = "设备ID") @ApiModelProperty(value = "设备ID")
private String deviceId; private String deployId;
/**站点编号*/ /**站点编号*/
@Excel(name = "站点编号", width = 15) @Excel(name = "站点编号", width = 15)
@ApiModelProperty(value = "站点编号") @ApiModelProperty(value = "站点编号")
@ -127,5 +128,5 @@ public class SurvHisdataFlowmeter implements Serializable {
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "转储时间") @ApiModelProperty(value = "转储时间")
private Date transDate; private LocalDateTime transDate;
} }

View File

@ -13,6 +13,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable; import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
/** /**
@ -49,7 +50,7 @@ public class SurvTransdataFlowmeter implements Serializable {
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建时间") @ApiModelProperty(value = "创建时间")
private Date createTime; private LocalDateTime createTime;
/**更新人*/ /**更新人*/
@Excel(name = "更新人", width = 15) @Excel(name = "更新人", width = 15)
@ApiModelProperty(value = "更新人") @ApiModelProperty(value = "更新人")
@ -63,7 +64,7 @@ public class SurvTransdataFlowmeter implements Serializable {
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd")
@ApiModelProperty(value = "更新时间") @ApiModelProperty(value = "更新时间")
private Date updatedTime; private LocalDateTime updatedTime;
/**数据1*/ /**数据1*/
@Excel(name = "数据1", width = 15) @Excel(name = "数据1", width = 15)
@ApiModelProperty(value = "数据1") @ApiModelProperty(value = "数据1")
@ -89,7 +90,7 @@ public class SurvTransdataFlowmeter implements Serializable {
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "数据更新时间") @ApiModelProperty(value = "数据更新时间")
private Date sDateTime; private LocalDateTime dataDateTime;
/**数据类型;realTime=实时dayTime=日数据month=月数据year=年数据*/ /**数据类型;realTime=实时dayTime=日数据month=月数据year=年数据*/
@Excel(name = "数据类型;realTime=实时dayTime=日数据month=月数据year=年数据", width = 15) @Excel(name = "数据类型;realTime=实时dayTime=日数据month=月数据year=年数据", width = 15)
@ApiModelProperty(value = "数据类型;realTime=实时dayTime=日数据month=月数据year=年数据") @ApiModelProperty(value = "数据类型;realTime=实时dayTime=日数据month=月数据year=年数据")
@ -101,7 +102,7 @@ public class SurvTransdataFlowmeter implements Serializable {
/**设备ID*/ /**设备ID*/
@Excel(name = "设备ID", width = 15) @Excel(name = "设备ID", width = 15)
@ApiModelProperty(value = "设备ID") @ApiModelProperty(value = "设备ID")
private String deviceId; private String deployId;
/**站点编号*/ /**站点编号*/
@Excel(name = "站点编号", width = 15) @Excel(name = "站点编号", width = 15)
@ApiModelProperty(value = "站点编号") @ApiModelProperty(value = "站点编号")