HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-12-31 fe3b2466c68b5db70d38e78039703add3b8b1dfe
ZigbeeApp/Shared/Phone/UserCenter/Safety/GarrisonAreaExistSensorForm.cs
@@ -99,7 +99,7 @@
        /// <param name="addLine">是否添加底线</param>
        private void AddRowLayout(Safeguard.ZoneDeviceListData sensorInfo, bool addLine)
        {
            CommonDevice device = HdlDeviceCommonLogic.Current.GetDevice(sensorInfo.MacAddr, sensorInfo.Epoint);
            CommonDevice device = Common.LocalDevice.Current.GetDevice(sensorInfo.MacAddr, sensorInfo.Epoint);
            if (device == null)
            {
                return;
@@ -257,7 +257,7 @@
        private List<CommonDevice> GetCanAddSensorDevice()
        {
            List<CommonDevice> listNew = new List<CommonDevice>();
            List<CommonDevice> listDevices = HdlDeviceCommonLogic.Current.listAllDevice;
            List<CommonDevice> listDevices = Common.LocalDevice.Current.listAllDevice;
            foreach (CommonDevice device in listDevices)
            {
                //只要传感器