diff --git a/csharp/App/SaliMax/src/Program.cs b/csharp/App/SaliMax/src/Program.cs index 043bcacf1..e9a993bf3 100644 --- a/csharp/App/SaliMax/src/Program.cs +++ b/csharp/App/SaliMax/src/Program.cs @@ -174,18 +174,15 @@ internal static class Program // If control Special Error return true, we must stop the system.(break;) var alarmCondition = record.DetectAlarmStates(); - if (alarmCondition is not null) { - //stop the system - //return alarmCondition.LogInfo(); } record.ControlConstants(); record.ControlSystemState(); - $"{record.StateMachine.State}: {record.StateMachine.Message}".LogInfo(); + $"{DateTime.Now} : {record.StateMachine.State}: {record.StateMachine.Message}".WriteLine().LogInfo(); var essControl = record.ControlEss().WriteLine().LogInfo();