From d02fc6fdc84ba623806f913c4911876a3abe35a9 Mon Sep 17 00:00:00 2001 From: atef Date: Wed, 11 Jun 2025 15:59:56 +0200 Subject: [PATCH] Add the downwardcalibration to the middelware --- .../SodiStoreMax/src/MiddlewareClasses/MiddlewareAgent.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/csharp/App/SodiStoreMax/src/MiddlewareClasses/MiddlewareAgent.cs b/csharp/App/SodiStoreMax/src/MiddlewareClasses/MiddlewareAgent.cs index 6e1bd8c36..8f225a1a8 100644 --- a/csharp/App/SodiStoreMax/src/MiddlewareClasses/MiddlewareAgent.cs +++ b/csharp/App/SodiStoreMax/src/MiddlewareClasses/MiddlewareAgent.cs @@ -69,9 +69,11 @@ public static class MiddlewareAgent if (config != null) { Console.WriteLine($"Received a configuration message: GridSetPoint is " + config.GridSetPoint + - ", MinimumSoC is " + config.MinimumSoC + " and ForceCalibrationCharge is " + + ", MinimumSoC is " + config.MinimumSoC + " and CalibrationCharge is " + config.CalibrationChargeState + " and CalibrationChargeDate is " + - config.CalibrationChargeDate); + config.CalibrationChargeDate + " and CalibrationDischarge is " + + config.CalibrationDischargeState + " and CalibrationDischargeDate is " + + config.CalibrationDischargeDate); // Send the reply to the sender's endpoint _udpListener.Send(replyData, replyData.Length, serverEndpoint); @@ -85,8 +87,6 @@ public static class MiddlewareAgent Console.WriteLine("UDP address has changed, rebinding..."); InitializeCommunicationToMiddleware(); } - - return null; }