|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
package com.hnac.gglm.bigmodel.business.vo; |
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
|
|
|
|
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty; |
|
|
|
|
import com.hnac.hzinfo.sdk.v5.model.vo.ModelAttrVO; |
|
|
|
|
import com.hnac.hzinfo.sdk.v5.model.vo.ModelEventVO; |
|
|
|
|
import com.hnac.hzinfo.sdk.v5.model.vo.ModelFuncVO; |
|
|
|
@ -17,6 +16,7 @@ public class DeviceModelData {
|
|
|
|
|
/** |
|
|
|
|
* 模型id |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("model_id") |
|
|
|
|
private Long modelId; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -32,23 +32,25 @@ public class DeviceModelData {
|
|
|
|
|
/** |
|
|
|
|
* 数据类型 |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("data_type") |
|
|
|
|
private String dbType; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 字段长度 |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("field_length") |
|
|
|
|
private String fieldLength; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 保留位数 |
|
|
|
|
*/ |
|
|
|
|
@JsonSerialize(nullsUsing = NullSerializer.class) |
|
|
|
|
@JsonProperty("keep_figures") |
|
|
|
|
private Integer keepFigures; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 取数规则 0 平均值、1 最大值、2 最小值、3 最后值、4 最早值、5 和值、6 差值 |
|
|
|
|
*/ |
|
|
|
|
@JsonSerialize(nullsUsing = NullSerializer.class) |
|
|
|
|
@JsonProperty("access_rules") |
|
|
|
|
private Integer accessRules; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -59,6 +61,7 @@ public class DeviceModelData {
|
|
|
|
|
/** |
|
|
|
|
* 模型分类id |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("model_classify_id") |
|
|
|
|
private Long modelClassifyId; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -74,61 +77,73 @@ public class DeviceModelData {
|
|
|
|
|
/** |
|
|
|
|
* 参数名称 |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("parameter_name") |
|
|
|
|
private String parameterName; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 参数标识 |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("parameter_tag") |
|
|
|
|
private String parameterTag; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 单点控制状态,0:分,1:合 |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("control_status") |
|
|
|
|
private Integer controlStatus; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 是否弹窗 |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("is_popup") |
|
|
|
|
private Integer isPopup; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 是否反校 |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("is_check") |
|
|
|
|
private Integer isCheck; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 参数来源,0:默认,1:属性值 |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("parameter_source") |
|
|
|
|
private Integer parameterSource; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 来源属性标识 |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("source_attr_signage") |
|
|
|
|
private String sourceAttrSignage; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 控制参数,0:分/合,1:退/投,2:停止/启动 |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("control_parameter") |
|
|
|
|
private Integer controlParameter; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 参数json |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("parameter_json") |
|
|
|
|
private String parameterJson; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 间隔时长 |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("interval_length") |
|
|
|
|
private Integer intervalLength; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 参数范围最小值 |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("min_value") |
|
|
|
|
private Integer minValue; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 参数范围最大值 |
|
|
|
|
*/ |
|
|
|
|
@JsonProperty("max_value") |
|
|
|
|
private Integer maxValue; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|