fixed sql copy routine and mode conv routine for recently added shutdown mode

This commit is contained in:
Infineon\StieberD 2025-02-07 15:03:13 -07:00
parent 843e5cade4
commit 459345d6c3
2 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,7 @@ Declare function SQL_Write, SQL_Write_MV, SQL_Format
Ans = ""
// Parse record into a dimensioned array for speed
Dim Rec(14)
Dim Rec(15)
MatParse Record into Rec
// List of key names and their values
@ -58,3 +58,4 @@ Ans = SQL_Write(Connection, "REACTOR_MODES", Keys, DataFields);
Return Ans

View File

@ -15,7 +15,9 @@ begin case
case DataIo = 'INITIATE_IDLE'
ReturnedValue = DataIo
case DataIo = 'IDLE_STARTUP'
ReturnedValue = DataIo
ReturnedValue = DataIo
Case DataIo = 'SHUTDOWN'
ReturnedValue = DataIo
case DataIo = 'RESPONSE_TIME_MAINTENANCE_UNSCHEDULED'
ReturnedValue = DataIo
case DataIo = 'RESPONSE_TIME_ENGINEER_UNSCHEDULED'