From f696424a712849ba6aae3ea10585f7099f053508 Mon Sep 17 00:00:00 2001 From: atef Date: Fri, 13 Feb 2026 09:45:28 +0100 Subject: [PATCH] Update the version number for SodiStoremax --- csharp/App/SodiStoreMax/src/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/csharp/App/SodiStoreMax/src/Program.cs b/csharp/App/SodiStoreMax/src/Program.cs index d206362a1..e4a6c2700 100644 --- a/csharp/App/SodiStoreMax/src/Program.cs +++ b/csharp/App/SodiStoreMax/src/Program.cs @@ -58,7 +58,7 @@ internal static class Program // - private const String SwVersionNumber =" V1.35.220925 beta"; + private static readonly String SwVersionNumber = " V1.00." + DateTime.Today; private static Boolean _curtailFlag = false; private const String VpnServerIp = "10.2.0.11"; private static Boolean _subscribedToQueue = false; @@ -281,10 +281,10 @@ internal static class Program //record.PerformLed(); WriteControl(record); - record.Battery.Eoc.WriteLine(" Total EOC"); + record.Battery?.Eoc.WriteLine(" Total EOC"); $"{record.StateMachine.State}: {record.StateMachine.Message}".WriteLine(); - $"{DateTime.Now.Round(UpdateInterval).ToUnixTime()} : {DateTime.Now.Round(UpdateInterval):dd/MM/yyyy HH:mm:ss} : {SwVersionNumber}".WriteLine(); + $"{DateTime.Now.Round(UpdateInterval).ToUnixTime()} : {DateTime.Now.Round(UpdateInterval):dd/MM/yyyy HH:mm:ss} : { SwVersionNumber}".WriteLine(); record.CreateTopologyTextBlock().WriteLine();