From 8413f493d6e527c3f71cf704c6b22212e94a6c60 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 24 十二月 2020 16:00:45 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/WJC' into NewFilePath --- 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