解析模板
This commit is contained in:
@@ -33,6 +33,10 @@ public class EvtDto implements Serializable {
|
||||
@NotNull(message = "事件类别,不为空")
|
||||
private String eventType;
|
||||
|
||||
@SerializedName("Phase")
|
||||
@NotNull(message = "相别,不为空")
|
||||
private String phase;
|
||||
|
||||
@SerializedName("Parm")
|
||||
private List<EvtParamDto> param;
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ public class SetDto implements Serializable {
|
||||
|
||||
@SerializedName("MaxNum")
|
||||
@ApiModelProperty("设置最大值")
|
||||
private Integer maxNum;
|
||||
private Double maxNum;
|
||||
|
||||
@SerializedName("MinNum")
|
||||
@ApiModelProperty("设置最小值")
|
||||
private Integer minNum;
|
||||
private Double minNum;
|
||||
|
||||
@SerializedName("DefaultValue")
|
||||
@NotNull(message = "参数缺省值")
|
||||
|
||||
@@ -38,6 +38,10 @@ public class ApfDto implements Serializable {
|
||||
@ApiModelProperty("单位")
|
||||
private String unit;
|
||||
|
||||
@SerializedName("Phase")
|
||||
@ApiModelProperty("相别")
|
||||
private String phase;
|
||||
|
||||
@SerializedName("StatMethod")
|
||||
@ApiModelProperty("数据统计方法(max,min,avg,cp95)")
|
||||
private List<String> statMethod;
|
||||
|
||||
Reference in New Issue
Block a user