From 84396f60e368a5f5261ba21121d013ef8bfbf523 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 21 二月 2023 15:42:35 +0800
Subject: [PATCH] 广播绑定状态

---
 AndroidOpenDemo/app/src/main/java/com/utils/HdlToLcUtils.java |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/AndroidOpenDemo/app/src/main/java/com/utils/HdlToLcUtils.java b/AndroidOpenDemo/app/src/main/java/com/utils/HdlToLcUtils.java
index 25e2f0b..09ffed0 100644
--- a/AndroidOpenDemo/app/src/main/java/com/utils/HdlToLcUtils.java
+++ b/AndroidOpenDemo/app/src/main/java/com/utils/HdlToLcUtils.java
@@ -16,6 +16,7 @@
 import com.mm.android.deviceaddmodule.LCDeviceEngine;
 import com.mm.android.deviceaddmodule.mobilecommon.AppConsume.ProviderManager;
 import com.mm.android.deviceaddmodule.openapi.CONST;
+import com.mm.android.deviceaddmodule.openapi.HttpClient;
 import com.usermodule.net.IUserDataCallBack;
 import com.usermodule.net.UserNetManager;
 
@@ -30,6 +31,7 @@
     private String token;
     private String subAccessToken;
     private IAddCamera iAddCamera;
+    private String productBrandldentity;
 
     public Activity getActivity() {
         return activity;
@@ -100,10 +102,15 @@
         if(!EventBus.getDefault().isRegistered(this)){
             EventBus.getDefault().register(this);
         }
+        this.iAddCamera = iAddCamera;
         //寮�鍚坊鍔犻〉闈�
         activity.startActivity(new Intent(activity.getApplication(), DeviceAddActivity.class));
         HdlToLcUtils.getInstance().requestCameraPermissions();
 
+    }
+
+    public void ShowErrorInfo(boolean isShow){
+        HttpClient.SetShowErrorInfo(isShow);
     }
 
     @Subscribe(threadMode = ThreadMode.MAIN)
@@ -136,6 +143,14 @@
         LCDeviceEngine.newInstance().setHomeId(homeId);
     }
 
+    public String getProductBrandldentity() { return productBrandldentity;}
+
+    public void setProductBrandldentity(String productBrandldentity){
+        this.productBrandldentity = productBrandldentity;
+        LCDeviceEngine.newInstance().setProductBrandldentity(productBrandldentity);
+
+    }
+
     public String getToken() {
         return token;
     }

--
Gitblit v1.8.0