全局组件通讯研究

This commit is contained in:
2025-05-04 10:22:38 +08:00
parent d9983b0a99
commit 7635174516
5 changed files with 43 additions and 8 deletions

View File

@@ -40,6 +40,8 @@ namespace linesider_screen_bankend.Modules.ModuleName
containerRegistry.RegisterSingleton<IMessageService, MessageService>();
containerRegistry.RegisterSingleton<ILogService, LogService>();
containerRegistry.RegisterSingleton<IPortService, PortService>();
containerRegistry.RegisterSingleton<IPrintService, PrintService>();
containerRegistry.RegisterSingleton<IMqttService, MqttService>();
Debug.WriteLine($"Service方法注册成功");
}