黄学彪
2020-12-16 0d9f64668fd7350d6a21fd157e32009a96d98134
ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelSimpleMutilfunctionTargetsForm.cs
@@ -443,7 +443,7 @@
                {
                    //被绑定设备图片【可能和外面设备等图片不同,因为这里是以功能来绑定的】
                    //devicePic.UnSelectedImagePath = tempDev.IconPath;
                    var device = LocalDevice.Current.GetDevice(bindObj.BindMacAddr, bindObj.BindEpoint);
                    var device = HdlDeviceCommonLogic.Current.GetDevice(bindObj.BindMacAddr, bindObj.BindEpoint);
                    switch (curBindType)
                    {
                        case 1:
@@ -483,7 +483,7 @@
                    if (device != null)
                    {
                        //设备名字
                        btnBindNameText = Common.LocalDevice.Current.GetDeviceEpointName(device);
                        btnBindNameText = HdlDeviceCommonLogic.Current.GetDeviceEpointName(device);
                        //获取设备所属房间
                        var tempDevRoom = HdlRoomLogic.Current.GetRoomByDevice(device);
@@ -571,7 +571,7 @@
            localDeviceList.Clear();
            scList.Clear();
            //设备
            foreach (var dev in Shared.Common.LocalDevice.Current.listAllDevice)
            foreach (var dev in HdlDeviceCommonLogic.Current.listAllDevice)
            {
                localDeviceList.Add(dev);
            }
@@ -715,7 +715,7 @@
                switch (curBindType)
                {
                    case 3:
                        var device = LocalDevice.Current.GetDevice(bindDevice.BindMacAddr, bindDevice.BindEpoint);
                        var device = HdlDeviceCommonLogic.Current.GetDevice(bindDevice.BindMacAddr, bindDevice.BindEpoint);
                        if (device != null)
                        {
                            if (device.Type == DeviceType.DimmableLight)