haungxing
6 months ago
4 changed files with 73 additions and 5 deletions
@ -0,0 +1,39 @@
|
||||
package com.hnac.hzims.bigmodel.interactive.vo; |
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
/** |
||||
* @Author: huangxing |
||||
* @Date: 2024/05/22 10:20 |
||||
*/ |
||||
@Data |
||||
public class DataItemVO implements Serializable { |
||||
|
||||
private String name; |
||||
|
||||
@JSONField(name = "id") |
||||
private String attrId; |
||||
|
||||
@JSONField(name = "param_name") |
||||
private String attrName; |
||||
|
||||
@JSONField(name = "device_name") |
||||
private String deviceName; |
||||
|
||||
@JSONField(name = "device_id") |
||||
private String deviceId; |
||||
|
||||
@JSONField(name = "station_id") |
||||
private String projectId; |
||||
|
||||
@JSONField(name = "station_name") |
||||
private String projectName; |
||||
|
||||
private String signage; |
||||
|
||||
private String units; |
||||
|
||||
} |
@ -0,0 +1,28 @@
|
||||
package com.hnac.hzims.bigmodel.interactive.vo; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* @Author: huangxing |
||||
* @Date: 2024/05/22 10:28 |
||||
*/ |
||||
@Data |
||||
public class DataVO implements Serializable { |
||||
|
||||
/**数据查询类型:实时、历史**/ |
||||
private String type; |
||||
|
||||
private String startTime; |
||||
|
||||
private String endTime; |
||||
|
||||
/**包括:"其它"、"最大值"、"最小值"、"总和值"、"平均值"**/ |
||||
private String method; |
||||
|
||||
/**实时数据结果集**/ |
||||
private Map<String,Object> real; |
||||
|
||||
} |
Loading…
Reference in new issue