From 6a9ad7ec93218913a2ce3b898bb036f18f8f0da4 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 13 八月 2020 17:06:36 +0800 Subject: [PATCH] 20200813 --- HDL_ON/Entity/Function/Curtain.cs | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/HDL_ON/Entity/Function/Curtain.cs b/HDL_ON/Entity/Function/Curtain.cs index 37e9e23..9a1702f 100644 --- a/HDL_ON/Entity/Function/Curtain.cs +++ b/HDL_ON/Entity/Function/Curtain.cs @@ -31,7 +31,7 @@ { if(trait_openLevel==null) { - trait_openLevel = propertList.Find((obj) => obj.attri == "openLevel"); + trait_openLevel = function.Find((obj) => obj.attri == "openLevel"); if (trait_openLevel == null) { trait_openLevel = new Trait() @@ -73,7 +73,6 @@ var sendJob = new JObject(); if (command == CommandType_A.write) { - sendJob = new JObject { { "vendor_code", vendor_code }, { "Command", command.ToString() }, { "Type", "device" } }; JObject data = null; switch (functionType) -- Gitblit v1.8.0