FIC_Solar/solarService/Program.cs
2022-11-15 14:08:34 +08:00

11 lines
197 B
C#

using solarService;
IHost host = Host.CreateDefaultBuilder(args)
.ConfigureServices(services =>
{
services.AddHostedService<Worker>();
})
.Build();
await host.RunAsync();