From d3266109e296abd22d65bc240457bebd75b226bc Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 14 七月 2020 11:05:47 +0800 Subject: [PATCH] 2020-7-14-1 --- ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs b/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs index 32005f1..cb02f21 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs @@ -1275,7 +1275,15 @@ var nightlight = new Nightlight(); UserView.HomePage.Instance.AddChidren(nightlight); UserView.HomePage.Instance.PageIndex += 1; - nightlight.Show(common, false, _if[1]); + if (edit) + { + nightlight.Show(common, edit, _if[1], Common.Logic.CurrentLogic.Actions[intValue]); + } + else + { + nightlight.Show(common, edit, _if[1]); + } + } break; } -- Gitblit v1.8.0