wei
2020-12-12 9ed4d6675aa1f0abe20e3f84e92f5ac2da8ab4f4
HDL_ON/DAL/DriverLayer/Control.cs
@@ -85,7 +85,7 @@
        /// <summary>
        /// 网关通讯ID
        /// </summary>
        public string GatewayId;
        public string GatewayId ="";
        bool _isRemote = false;
        /// <summary>
@@ -279,6 +279,12 @@
            }
        }
        public void SendApiReadCommand(List<string> functionIds)
        {
            var pm = new DAL.Server.HttpServerRequest();
            var pack = pm.RefreshDeviceStatus(functionIds);
        }
        /// <summary>
        /// 发送读取命令
        /// 自动判断是否为A协议设备
@@ -453,7 +459,7 @@
            var temp = Newtonsoft.Json.JsonConvert.DeserializeObject<AlinkFunctionStatusObj>(revString);
            if (temp != null)
            {
                var allLocalFuntion = FunctionList.List.GetAllDeviceFunctionList();
                var allLocalFuntion = FunctionList.List.GetDeviceFunctionList();
                foreach (var updateTemp in temp.objects)
                {
                    try