From 14de918a79943e4961b09fa01ed320c6cad41f2e Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期三, 28 六月 2023 17:14:51 +0800 Subject: [PATCH] Revert "Revert "Merge branch 'hxb' into wjc"" --- HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/bean/LinkCreateLogicInputBean.java | 191 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 191 insertions(+), 0 deletions(-) diff --git a/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/bean/LinkCreateLogicInputBean.java b/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/bean/LinkCreateLogicInputBean.java new file mode 100644 index 0000000..17b4870 --- /dev/null +++ b/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/bean/LinkCreateLogicInputBean.java @@ -0,0 +1,191 @@ +package com.hdl.sdk.link.bean; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; + +import androidx.annotation.NonNull; + +/** + * Created by Zoro + * Created on 2022/2/16 + * description: + */ +public class LinkCreateLogicInputBean implements Serializable { + private String sid; + /** + * 鏃堕棿鐐规潯浠� 1 + * 鏃堕棿娈垫潯浠� 2 + * 璁惧鐘舵�佸彉鍖栨潯浠� 3 + * 鐜淇℃伅 4 + * 瀹夐槻鏉′欢 5 涓嶅仛 + * 浜戠澶╂皵鏉′欢 6 + * 鏌愪釜閫昏緫/鍦烘櫙鐨勮緭鍑烘潯浠� 7 + * 鍦扮悊鍥存爮 8 涓嶅仛 + */ + private String condition_type; + //true:涓存椂bypass涓�乫alse:鍚敤涓� 鏄惁杩囨护 + private String bypass; + private List<LinkCreateLogicInputConditionBean> condition = new ArrayList<>(); + private String statusDesc; + private String src; + private String omodel; + private String choose; + private String oid; + private String spk; + private String delay; + private String name; + private String online; + private LinkCreateSceneImageBean sceneImage = new LinkCreateSceneImageBean(); + private List<LinkCreateSceneFunctionStatusBean> status = new ArrayList<>(); + private LinkCreateSceneFunctionControlAttrsBean controlAttrs; + private List<LinkCreateSceneFunctionattributesBean> attributes = new ArrayList<>(); + + public String getBypass() { + return bypass == null ? "" : bypass; + } + + public void setBypass(@NonNull String bypass) { + this.bypass = bypass; + } + + public String getStatusDesc() { + return statusDesc == null ? "" : statusDesc; + } + + public void setStatusDesc(@NonNull String statusDesc) { + this.statusDesc = statusDesc; + } + + public String getSrc() { + return src == null ? "" : src; + } + + public void setSrc(@NonNull String src) { + this.src = src; + } + + public String getOmodel() { + return omodel == null ? "" : omodel; + } + + public void setOmodel(@NonNull String omodel) { + this.omodel = omodel; + } + + public String getChoose() { + return choose == null ? "" : choose; + } + + public void setChoose(@NonNull String choose) { + this.choose = choose; + } + + public String getOid() { + return oid == null ? "" : oid; + } + + public void setOid(@NonNull String oid) { + this.oid = oid; + } + + public String getSpk() { + return spk == null ? "" : spk; + } + + public void setSpk(@NonNull String spk) { + this.spk = spk; + } + + public String getDelay() { + return delay == null ? "" : delay; + } + + public void setDelay(@NonNull String delay) { + this.delay = delay; + } + + public String getName() { + return name == null ? "" : name; + } + + public void setName(@NonNull String name) { + this.name = name; + } + + public String getOnline() { + return online == null ? "" : online; + } + + public void setOnline(@NonNull String online) { + this.online = online; + } + + public LinkCreateSceneImageBean getSceneImage() { + if (sceneImage == null) { + sceneImage = new LinkCreateSceneImageBean("0", "https://hdl-hz-prod.oss-cn-hangzhou.aliyuncs.com/material/appdebug/scene0.png", "/static/images/scene/scene0.png"); + } + return sceneImage; + } + + public void setSceneImage(@NonNull LinkCreateSceneImageBean sceneImage) { + this.sceneImage = sceneImage; + } + + public List<LinkCreateSceneFunctionStatusBean> getStatus() { + if (status == null) { + return new ArrayList<>(); + } + return status; + } + + public void setStatus(@NonNull List<LinkCreateSceneFunctionStatusBean> status) { + this.status = status; + } + + public LinkCreateSceneFunctionControlAttrsBean getControlAttrs() { + return controlAttrs; + } + + public void setControlAttrs(@NonNull LinkCreateSceneFunctionControlAttrsBean controlAttrs) { + this.controlAttrs = controlAttrs; + } + + public List<LinkCreateSceneFunctionattributesBean> getAttributes() { + if (attributes == null) { + return new ArrayList<>(); + } + return attributes; + } + + public void setAttributes(@NonNull List<LinkCreateSceneFunctionattributesBean> attributes) { + this.attributes = attributes; + } + + public String getSid() { + return sid == null ? "" : sid; + } + + public void setSid(@NonNull String sid) { + this.sid = sid; + } + + public String getCondition_type() { + return condition_type == null ? "" : condition_type; + } + + public void setCondition_type(@NonNull String condition_type) { + this.condition_type = condition_type; + } + + public List<LinkCreateLogicInputConditionBean> getCondition() { + if (condition == null) { + return new ArrayList<>(); + } + return condition; + } + + public void setCondition(@NonNull List<LinkCreateLogicInputConditionBean> condition) { + this.condition = condition; + } +} \ No newline at end of file -- Gitblit v1.8.0