fix compilation
This commit is contained in:
@@ -18,7 +18,7 @@ public class HeartbeatMonitorJob : IJob
|
||||
foreach (var node in offlineNodes)
|
||||
{
|
||||
node.IsOnline = "离线";
|
||||
await gwSvc.UpdateAsync(node);
|
||||
gwSvc.Update(node);
|
||||
await devSvc.UpdateAsync(x => x.GatewayNodeId == node.NodeId,
|
||||
x => new base_device { IsOnline = "离线" });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user