| | |
| | | lock (this.hsGetHardInfoDevice)
|
| | | {
|
| | | //先移除
|
| | | this.RemoveDeviceHardInfoThread(device);
|
| | |
|
| | | string mainkeys = Common.LocalDevice.Current.GetDeviceMainKeys(device);
|
| | | this.hsGetHardInfoDevice.Add(mainkeys);
|
| | |
|
| | | string mainKeys = Common.LocalDevice.Current.GetDeviceMainKeys(device);
|
| | | if (this.hsGetHardInfoDevice.Contains(mainKeys) == true)
|
| | | {
|
| | | this.hsGetHardInfoDevice.Remove(mainKeys);
|
| | | }
|
| | | if (HdlGatewayReceiveLogic.Current.IsEsixt("DeviceGetFixedAttribute") == false)
|
| | | {
|
| | | //添加事件
|
| | |
| | | //不需要发送
|
| | | return;
|
| | | }
|
| | | string mainkeys = Common.LocalDevice.Current.GetDeviceMainKeys(device);
|
| | | this.hsGetHardInfoDevice.Add(mainkeys);
|
| | | //发送
|
| | | var data = new Newtonsoft.Json.Linq.JObject { { "AttriBute", attriBute } };
|
| | | jObject.Add("Data", data);
|