| | |
| | | } |
| | | if (isExistScene) |
| | | { |
| | | curSceneUI = Room.CurrentRoom.GetSceneUIBySceneId(bindDevice.BindScenesId); |
| | | curSceneUI = Room.CurrentRoom.GetSceneUIBySceneId(bindDevice.BindScenesId);
|
| | | devicePic.UnSelectedImagePath = "Scene/SceneIcon.png"; |
| | | if (curSceneUI == null) |
| | | { |
| | | devicePic.UnSelectedImagePath = "Scene/SceneIcon.png"; |
| | | if (string.IsNullOrEmpty(bindDevice.ESName)) |
| | | { |
| | | btnBindName.Text = Language.StringByID(R.MyInternationalizationString.OffLineScene) + "_" + "ID" + "_" + bindDevice.BindScenesId.ToString(); |
| | |
| | | } |
| | | else |
| | | { |
| | | devicePic.UnSelectedImagePath = curSceneUI.IconPath; |
| | | btnBindName.Text = curSceneUI.Name; |
| | | if (curSceneUI.GetZone() != null) |
| | | { |