From c22dd59b10c482b9245034c6a0bd3b645c427d31 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 14 一月 2022 13:39:25 +0800 Subject: [PATCH] 去掉禁止删除本地音乐文件权限 --- HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs index cbd525d..e683de0 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs @@ -1012,6 +1012,13 @@ arcBar.IsClickable = false; arcBar.ThumbImagePath = "FunctionIcon/AC/DiyThumbIcon.png"; } + + if(device.GetAttrState(FunctionAttributeKey.Mode) == "dry") + { + arcBar.IsOffline = true; + arcBar.IsClickable = false; + + } } }); -- Gitblit v1.8.0