wxr
2020-06-09 77e7b5223dd04a6e036dc952efb38f2b770a6828
HDL_ON/Entity/Function/AC.cs
@@ -309,7 +309,6 @@
            {
                try
                {
                    return trait_swting.value;
                }
                catch (Exception ex)
@@ -412,8 +411,17 @@
            if (command == CommandType_A.write)
            {
                sendJob = new JObject { { "Namespace", vendor_code }, { "Command", command.ToString() }, { "Type", "device" } };
                JObject data = new JObject {{ "sid", sid } };
                JObject data = new JObject { { "sid", sid } };
                sendJob.Add("objects", data);
                List<ControlData> controlData = new List<ControlData>();
                controlData.Add(new ControlData()
                {
                    name = "on_off",
                    data_type = "Bool",
                    value = on_off
                });
            }
            else if (command == CommandType_A.read)
            {