From ce88de4891b87c3b7b2750575e15d6e48d518852 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期四, 24 十月 2024 10:39:12 +0800
Subject: [PATCH] 增加云端库

---
 HDLLinkPMSdk/src/main/java/com/hdl/linkpm/sdk/home/bean/logic/SecurityInfoBean.java |  177 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 177 insertions(+), 0 deletions(-)

diff --git a/HDLLinkPMSdk/src/main/java/com/hdl/linkpm/sdk/home/bean/logic/SecurityInfoBean.java b/HDLLinkPMSdk/src/main/java/com/hdl/linkpm/sdk/home/bean/logic/SecurityInfoBean.java
new file mode 100644
index 0000000..20aac71
--- /dev/null
+++ b/HDLLinkPMSdk/src/main/java/com/hdl/linkpm/sdk/home/bean/logic/SecurityInfoBean.java
@@ -0,0 +1,177 @@
+package com.hdl.linkpm.sdk.home.bean.logic;
+
+import androidx.annotation.NonNull;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Created by jlchen on 12/10/21.
+ * 瀹夐槻 璇︽儏瀵硅薄
+ */
+public class SecurityInfoBean implements Serializable {
+
+    private String sid;//瀹夐槻id
+    private String name;//瀹夐槻鍚嶇О
+    private String delay;//寤舵椂(姣)
+    private String status;//鐘舵�� enable甯冮槻銆乨isable鎾掗槻
+    private String type;//绫诲瀷 "all"--鍏ㄥ畢甯冮槻锛�"normal"--鏅�氭ā寮�,"all_day":24灏忔椂,"mute"锛氶潤闊�
+    private List<InPutBean> input = new ArrayList<>();//杈撳叆鏉′欢 浼犳劅鍣�
+    private List<OutputBean> output = new ArrayList<>();//鎺у埗鐩爣
+//    private NoticeConfigBean noticeConfig;//閫氱煡閰嶇疆
+//    private List<PushConfigsBean> pushConfigs;//鎺ㄩ�侀厤缃�
+
+
+    @NonNull
+    public String getSid() {
+        return sid == null ? "" : sid;
+    }
+
+    public void setSid(@NonNull String sid) {
+        this.sid = sid;
+    }
+
+    @NonNull
+    public String getName() {
+        return name == null ? "" : name;
+    }
+
+    public void setName(@NonNull String name) {
+        this.name = name;
+    }
+
+    @NonNull
+    public String getDelay() {
+        return delay == null ? "" : delay;
+    }
+
+    public void setDelay(@NonNull String delay) {
+        this.delay = delay;
+    }
+
+    @NonNull
+    public String getStatus() {
+        return status == null ? "" : status;
+    }
+
+    public void setStatus(@NonNull String status) {
+        this.status = status;
+    }
+
+    @NonNull
+    public String getType() {
+        return type == null ? "" : type;
+    }
+
+    public void setType(@NonNull String type) {
+        this.type = type;
+    }
+
+    @NonNull
+    public List<InPutBean> getInput() {
+        if (input == null) {
+            return new ArrayList<>();
+        }
+        return input;
+    }
+
+    public void setInput(@NonNull List<InPutBean> input) {
+        this.input = input;
+    }
+
+    @NonNull
+    public List<OutputBean> getOutput() {
+        if (output == null) {
+            return new ArrayList<>();
+        }
+        return output;
+    }
+
+    public void setOutput(@NonNull List<OutputBean> output) {
+        this.output = output;
+    }
+
+    /**
+     * 瑙﹀彂鏉′欢
+     */
+    public static class InPutBean implements Serializable{
+        private String sid;////璁惧sid 浠呭湪condition_type:3 璁惧瑙﹀彂蹇呭~
+        private String bypass;//#Bypass璁剧疆 true:鍚敤涓�乫alse:涓存椂bypass涓�
+        private List<ConditionBean> condition;//鏉′欢
+
+        @NonNull
+        public String getSid() {
+            return sid == null ? "" : sid;
+        }
+
+        public void setSid(@NonNull String sid) {
+            this.sid = sid;
+        }
+
+        @NonNull
+        public String getBypass() {
+            return bypass == null ? "" : bypass;
+        }
+
+        public void setBypass(@NonNull String bypass) {
+            this.bypass = bypass;
+        }
+
+        @NonNull
+        public List<ConditionBean> getCondition() {
+            if (condition == null) {
+                return new ArrayList<>();
+            }
+            return condition;
+        }
+
+        public void setCondition(@NonNull List<ConditionBean> condition) {
+            this.condition = condition;
+        }
+    }
+
+
+
+//    public static class NoticeConfigBean implements Serializable{
+//        private boolean enable;
+//        private String noticeContent;
+//
+//        public boolean isEnable() {
+//            return enable;
+//        }
+//
+//        public void setEnable(boolean enable) {
+//            this.enable = enable;
+//        }
+//
+//        public String getNoticeContent() {
+//            return noticeContent;
+//        }
+//
+//        public void setNoticeContent(String noticeContent) {
+//            this.noticeContent = noticeContent;
+//        }
+//    }
+
+//    public static class PushConfigsBean implements Serializable{
+//        private String pushMethod;
+//        private List<String> pushTarget;
+//
+//        public String getPushMethod() {
+//            return pushMethod;
+//        }
+//
+//        public void setPushMethod(String pushMethod) {
+//            this.pushMethod = pushMethod;
+//        }
+//
+//        public List<String> getPushTarget() {
+//            return pushTarget;
+//        }
+//
+//        public void setPushTarget(List<String> pushTarget) {
+//            this.pushTarget = pushTarget;
+//        }
+//    }
+}

--
Gitblit v1.8.0