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