From b271bcceb1c4e718377ca86b6213816abcf7482a Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期一, 11 一月 2021 13:57:18 +0800 Subject: [PATCH] 20210111-删除功能类别,统一使用spk去设备功能 --- HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs index 51aa5fc..7ccf347 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneAddPage.cs @@ -276,7 +276,12 @@ scene.delay = obj; btnSceneDelayInfo.Text = FunctionList.List.GetDelayText(obj); }; - new PublicAssmebly().SetSceneDelayDialog(action ,scene.delay); + Dictionary<string, string> items = new Dictionary<string, string>(); + items.Add("30", "30s"); + items.Add("60", "1min"); + items.Add("120", "2min"); + items.Add("300", "5min"); + new PublicAssmebly().SetSceneDelayDialog(items, action ,scene.delay); }; contentView.AddChidren(new Button() -- Gitblit v1.8.0