From 0ebc1d3ca4e879a47adefe587d281b50e82ef8b6 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 26 九月 2023 14:54:00 +0800 Subject: [PATCH] 海信电视支持场景 --- HDL_ON/UI/UI2/FuntionControlView/Aks/SxqPage.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/SxqPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/SxqPage.cs index 1f0ce23..4015f81 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Aks/SxqPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/SxqPage.cs @@ -108,7 +108,7 @@ } buttonFram.SetONClickListener((fl, btn) => { - if (buttonFram.Tag != null || buttonFram.Tag is SequencerEntity) + if (buttonFram.Tag != null && buttonFram.Tag is SequencerEntity) { var sequ = (SequencerEntity)buttonFram.Tag; @@ -118,7 +118,7 @@ }); buttonFram.SetOFFClickListener((fl, btn) => { - if (buttonFram.Tag != null || buttonFram.Tag is SequencerEntity) + if (buttonFram.Tag != null && buttonFram.Tag is SequencerEntity) { var sequ = (SequencerEntity)buttonFram.Tag; SequencerControlExecute(sequ.seqId, "off"); @@ -151,7 +151,7 @@ btnName.MouseDownEventHandler += (sen, e) => { btnName.IsSelected = true; - if (btnName.Tag != null || btnName.Tag is SequencerEntity) + if (btnName.Tag != null && btnName.Tag is SequencerEntity) { var sequ = (SequencerEntity)btnName.Tag; SequencerControlExecute(sequ.seqId, "on"); -- Gitblit v1.8.0