From baa1b930d9fd6b7c50d79d53d5eac093c64f5fda Mon Sep 17 00:00:00 2001 From: atef Date: Wed, 13 Dec 2023 15:40:27 +0100 Subject: [PATCH] fix a type suppress instead of supress --- csharp/App/SaliMax/src/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {