|
|
@@ -72,6 +72,10 @@ namespace BPASmartClient.IoT |
|
|
|
/// key值 |
|
|
|
/// </summary> |
|
|
|
public Dictionary<string, string> keyValues = new Dictionary<string, string>(); |
|
|
|
/// <summary> |
|
|
|
/// 维保通知 |
|
|
|
/// </summary> |
|
|
|
public List<MaintainTable> maintainTables = new List<MaintainTable>(); |
|
|
|
#endregion |
|
|
|
|
|
|
|
#region API调用 |
|
|
@@ -239,6 +243,7 @@ namespace BPASmartClient.IoT |
|
|
|
}); |
|
|
|
if (dataVNode.Count > 0) |
|
|
|
{ |
|
|
|
iOTDevSXModel.Maintain= Tools.JsonConvertTools(maintainTables); |
|
|
|
iOTDevSXModel.NodeStatus = Tools.JsonConvertTools(new { data = dataVNode }); |
|
|
|
DeviceDataV.IOT_Publish(DeviceDataV.PubTopic, iOTDevSXModel.Tojson()); |
|
|
|
} |
|
|
|