临时提交

This commit is contained in:
2025-07-24 22:18:22 +08:00
parent 58cb05645e
commit 3a3ed7a264
6 changed files with 5 additions and 1363 deletions

View File

@@ -117,10 +117,8 @@ public partial class App : System.Windows.Application
services.AddSingleton<GrowlNotificationService>();
services.AddHostedService<S7BackgroundService>();
services.AddHostedService<OpcUaBackgroundService>();
services.AddSingleton<MqttBackgroundService>();
services.AddSingleton<ChannelBusService>();
services.AddHostedService(provider => provider.GetRequiredService<MqttBackgroundService>());
services.AddSingleton<OpcUaBackgroundService>();
services.AddHostedService<DMS.Infrastructure.Services.MqttBackgroundService>();
// 注册 AutoMapper
services.AddAutoMapper(typeof(App).Assembly);