From 4a5e9d0447aae9b264a98ea1f4c95417d0f4aa91 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 01 十二月 2020 17:20:01 +0800
Subject: [PATCH] Merge branch 'master' into WJC

---
 HDL_ON/Entity/Function/Fan.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/Entity/Function/Fan.cs b/HDL_ON/Entity/Function/Fan.cs
index 6a0bc56..4b5abac 100644
--- a/HDL_ON/Entity/Function/Fan.cs
+++ b/HDL_ON/Entity/Function/Fan.cs
@@ -23,7 +23,7 @@
                 {
                     if (trait_openLevel == null)
                     {
-                        trait_openLevel = function.Find((obj) => obj.key == "openLevel");
+                        trait_openLevel = attributes.Find((obj) => obj.key == "openLevel");
                         if (trait_openLevel == null)
                         {
                             trait_openLevel = new FunctionAttributes()

--
Gitblit v1.8.0