add the operating mode to the description
This commit is contained in:
parent
ce51af8510
commit
0aae239551
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue