Commit da3f63d8b96fb26b3a81a5fe50122cdeba295d83

Authored by 黄 x
1 parent b7623cd6

fix: data component add showDeviceName for state

@@ -23,6 +23,17 @@ public class ComponentInfoDTO implements Serializable { @@ -23,6 +23,17 @@ public class ComponentInfoDTO implements Serializable {
23 @ApiModelProperty(value = "icon图标颜色") 23 @ApiModelProperty(value = "icon图标颜色")
24 private String iconColor; 24 private String iconColor;
25 25
  26 + @ApiModelProperty(value = "显示设备名称:默认true")
  27 + private Boolean showDeviceName;
  28 +
26 @ApiModelProperty(value = "梯度信息") 29 @ApiModelProperty(value = "梯度信息")
27 private List<GradientInfo> gradientInfo; 30 private List<GradientInfo> gradientInfo;
  31 +
  32 + public Boolean getShowDeviceName() {
  33 + return showDeviceName;
  34 + }
  35 +
  36 + public void setShowDeviceName(Boolean showDeviceName) {
  37 + this.showDeviceName = null == showDeviceName || showDeviceName;
  38 + }
28 } 39 }