diff --git a/csharp/App/SaliMax/src/Program.cs b/csharp/App/SaliMax/src/Program.cs index 1dd643d36..513e07140 100644 --- a/csharp/App/SaliMax/src/Program.cs +++ b/csharp/App/SaliMax/src/Program.cs @@ -19,6 +19,7 @@ using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc.Control; using InnovEnergy.Lib.Protocols.Modbus.Channels; using InnovEnergy.Lib.Units; using InnovEnergy.Lib.Utils; +using System.Text.Json; using InnovEnergy.App.SaliMax.AggregationService; using InnovEnergy.App.SaliMax.DataTypes; using static InnovEnergy.Lib.Devices.Trumpf.SystemControl.DataTypes.SystemConfig; @@ -80,7 +81,7 @@ internal static class Program public static async Task Main(String[] args) { //Do not await - Aggregator.HourlyDataAggregationManager().ContinueWith(t=>t.Exception.WriteLine(), TaskContinuationOptions.OnlyOnFaulted).SuppressAwaitWarning(); + Aggregator.HourlyDataAggregationManager().ContinueWith(t=>t.Exception.WriteLine(), TaskContinuationOptions.OnlyOnFaulted).SupressAwaitWarning(); MiddlewareAgent.InitializeCommunicationToMiddleware(); while (true) {