From 9bb130c33dabc1e33a1264d0723bf4fab52623d7 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期二, 05 九月 2023 10:30:24 +0800 Subject: [PATCH] 2023年09月05日10:29:37 --- HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs index 1c14381..fa26fd2 100644 --- a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs +++ b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs @@ -566,6 +566,7 @@ btnSwitch.IsSelected = !btnSwitch.IsSelected; }); } + function.trait_on_off.curValue = btnSwitch.IsSelected ? "on" : "off"; Dictionary<string, string> d = new Dictionary<string, string>(); if (function.spk == SPK.LightDimming || function.spk == SPK.LightRGB) -- Gitblit v1.8.0