add the operating mode to the description

This commit is contained in:
atef 2025-09-18 12:40:03 +02:00
parent ce51af8510
commit 0aae239551
1 changed files with 3 additions and 4 deletions

View File

@ -55,7 +55,6 @@ public static class MiddlewareAgent
{ {
if (_udpListener.Available > 0) if (_udpListener.Available > 0)
{ {
IPEndPoint? serverEndpoint = null; IPEndPoint? serverEndpoint = null;
var replyMessage = "ACK"; var replyMessage = "ACK";
@ -69,7 +68,7 @@ public static class MiddlewareAgent
if (config != null) if (config != null)
{ {
Console.WriteLine($"Received a configuration message: GridSetPoint is " + config.GridSetPoint + Console.WriteLine($"Received a configuration message: GridSetPoint is " + config.GridSetPoint +
", MinimumSoC is " + config.MinimumSoC ); ", MinimumSoC is " + config.MinimumSoC, " and operating priorty is " +config.OperatingPriority );
// Send the reply to the sender's endpoint // Send the reply to the sender's endpoint
_udpListener.Send(replyData, replyData.Length, serverEndpoint); _udpListener.Send(replyData, replyData.Length, serverEndpoint);