From f748908e5414736eb243ae7ec66a80dc9f5d9d49 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期四, 26 九月 2024 11:37:00 +0800 Subject: [PATCH] 水浸传感器,红外传感器,面板空调 --- HDL_ON/DAL/DriverLayer/Control.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs index 318bd99..0b5a3db 100644 --- a/HDL_ON/DAL/DriverLayer/Control.cs +++ b/HDL_ON/DAL/DriverLayer/Control.cs @@ -276,8 +276,8 @@ public void SearchLoaclGateway() { //2021-01-15 : 浣忓畢娌℃湁缁戝畾缃戝叧鐨勬椂鍊欎笉鐢ㄦ悳绱紝骞朵笖涓嶈兘閾炬帴mqtt - if (DB_ResidenceData.Instance.HomeGateway == null || string.IsNullOrEmpty(DB_ResidenceData.Instance.HomeGateway.gatewayId) || - !UserInfo.Current.IsLogin) + if (DB_ResidenceData.Instance.HomeGateway == null || string.IsNullOrEmpty(DB_ResidenceData.Instance.HomeGateway.gatewayId)) + //|| !UserInfo.Current.IsLogin) { return; } @@ -978,10 +978,10 @@ /// <returns></returns> public void ConvertReceiveData(byte[] receiveBytes, string ip) { - if (!UserInfo.Current.IsLogin) - { - return; - } + //if (!UserInfo.Current.IsLogin) + //{ + // return; + //} var reString = Encoding.UTF8.GetString(receiveBytes); AnalysisReceiveData(reString, receiveBytes, ip); } @@ -1431,7 +1431,7 @@ VenetianBlindsPage.UpdataState(localFunction); break; case SPK.AcStandard: - case SPK.HvacAC: + case SPK.HvacAC:case SPK.HvacAcPanel: case SPK.AcIr: Stan.HdlDeviceStatuPushLogic.Current.UpdateDeviceStatu(updateTemp.sid, updateTemp.status); if (localFunction != null) -- Gitblit v1.8.0