Commit 20c34dcd authored by tangwei's avatar tangwei

增加风机指标信息

parent 0e1fbd50
package com.yeejoin.amos.boot.module.jxiop.api.dto;
import lombok.Data;
import java.util.Date;
/**
* @description:
* @author: tw
* @createDate: 2023/7/3
*/
//风机指标信息
@Data
public class IndexDto {
private String gateway;// '网关',
private String indicatorValue;// '指标值', 取valueLable
private String indexAddress;// 指标地址
private Date time;// '上报时间',
}
...@@ -6,6 +6,8 @@ import com.yeejoin.amos.boot.biz.common.entity.BaseEntity; ...@@ -6,6 +6,8 @@ import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import lombok.Data; import lombok.Data;
import lombok.experimental.Accessors; import lombok.experimental.Accessors;
import java.util.Date;
/** /**
* @description: * @description:
* @author: tw * @author: tw
...@@ -20,11 +22,12 @@ public class MonitorFanIndicatorDto extends BaseEntity { ...@@ -20,11 +22,12 @@ public class MonitorFanIndicatorDto extends BaseEntity {
private String gateway;// '网关', private String gateway;// '网关',
private String indicator;//'指标名称', private String indicator;//'指标名称',
private String indicatorValue;// '指标值', private String indicatorValue;// '指标值',
private String time;// '时间', private Date time;// '时间',
private String isAlarm;//'是否告警指标', private String isAlarm;//'是否告警指标',
private String unit;//'指标单位', private String unit;//'指标单位',
private String systemType;//所属系统 private String systemType;//所属系统
private String frontModule;//所属模块 private String frontModule;//所属模块
private String indexAddress;// 指标地址
......
...@@ -8,6 +8,8 @@ import lombok.Data; ...@@ -8,6 +8,8 @@ import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors; import lombok.experimental.Accessors;
import java.util.Date;
/** /**
* @description: * @description:
* @author: tw * @author: tw
...@@ -28,7 +30,7 @@ public class MonitorFanIndicator extends BaseEntity { ...@@ -28,7 +30,7 @@ public class MonitorFanIndicator extends BaseEntity {
@TableField("indicator_value") @TableField("indicator_value")
private String indicatorValue;// '指标值', private String indicatorValue;// '指标值',
@TableField("time") @TableField("time")
private String time;// '时间', private Date time;// '时间',
@TableField("is_alarm") @TableField("is_alarm")
private String isAlarm;//'是否告警指标', private String isAlarm;//'是否告警指标',
@TableField("unit") @TableField("unit")
...@@ -37,6 +39,8 @@ public class MonitorFanIndicator extends BaseEntity { ...@@ -37,6 +39,8 @@ public class MonitorFanIndicator extends BaseEntity {
private String systemType;//所属系统 private String systemType;//所属系统
@TableField("front_module") @TableField("front_module")
private String frontModule;//所属模块 private String frontModule;//所属模块
@TableField("index_address")
private String indexAddress;// 指标地址
......
package com.yeejoin.amos.boot.module.jxiop.api.service; package com.yeejoin.amos.boot.module.jxiop.api.service;
import com.yeejoin.amos.boot.module.jxiop.api.dto.DeviceDto;
import com.yeejoin.amos.boot.module.jxiop.api.dto.StationTaksDto; import com.yeejoin.amos.boot.module.jxiop.api.dto.StationTaksDto;
import java.util.List; import java.util.List;
...@@ -16,7 +17,7 @@ public interface IStationDataTask { ...@@ -16,7 +17,7 @@ public interface IStationDataTask {
List<StationTaksDto> getListStationBasic(); List<StationTaksDto> getListStationBasic();
//获取场站风机 //获取场站风机
List<StationTaksDto> getListDevice(); List<DeviceDto> getListDevice(StationTaksDto stationTaksDto);
//获取每个风机信息 //获取每个风机信息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment