初步完成Mqtt后台服务的改造

This commit is contained in:
2025-09-06 15:19:04 +08:00
parent 56130cd92a
commit e4cb38cd1d
18 changed files with 1047 additions and 315 deletions

View File

@@ -81,10 +81,10 @@ public class OpcUaBackgroundService : BackgroundService
_opcUaPollVariablesByDeviceId = new ConcurrentDictionary<int, List<Variable>>();
_opcUaVariablesByDeviceId = new ConcurrentDictionary<int, List<VariableDto>>();
_dataCenterService.DataLoadCompleted += DataLoadCompleted;
_dataCenterService.OnLoadDataCompleted += OnLoadDataCompleted;
}
private void DataLoadCompleted(object? sender, DataLoadCompletedEventArgs e)
private void OnLoadDataCompleted(object? sender, DataLoadCompletedEventArgs e)
{
_reloadSemaphore.Release();
}