From eb3a71699bcf371db801165e3af65951b1292706 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 24 十二月 2020 15:10:05 +0800 Subject: [PATCH] 20201224-3 --- HDL_ON/DAL/DriverLayer/Control_Udp.cs | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Control_Udp.cs b/HDL_ON/DAL/DriverLayer/Control_Udp.cs index e5bda32..d3e11b0 100644 --- a/HDL_ON/DAL/DriverLayer/Control_Udp.cs +++ b/HDL_ON/DAL/DriverLayer/Control_Udp.cs @@ -158,6 +158,10 @@ { foreach (var f in scene.functions) { + if(f.localFunction == null) + { + continue; + } switch (f.localFunction.functionType) { case FunctionType.Curtain: -- Gitblit v1.8.0