adds priority for error messages shown to user and adds error status

This commit is contained in:
2025-03-28 11:19:27 +01:00
parent c6dd421768
commit 6bdec5783f
3 changed files with 49 additions and 23 deletions

View File

@ -9,14 +9,14 @@ file "$(sinqSPS_DB)/writebit.db"
file "$(sinqSPS_DB)/readbit.db"
{
pattern
{OFFSET, BIT, BIT_NAME , DESC}
{1 , 0 , "PSYS-OK" , "" }
{1 , 1 , "SHUTTER-READY" , "" }
{1 , 2 , "EMERGENCY-STOP-OFF", "" }
{1 , 3 , "NOT-LOCKED" , "" }
{1 , 4 , "CLOSED" , "" }
{1 , 5 , "OPEN" , "" }
{1 , 6 , "REMOTE-OKAY" , "" }
{OFFSET, BIT, BIT_NAME , ZNAM , ONAM , DESC}
{1 , 0 , "PSYS-OK" , "" , "" , "" }
{1 , 1 , "SHUTTER-READY" , "" , "" , "" }
{1 , 2 , "EMERGENCY-STOP-OFF", "" , "" , "" }
{1 , 3 , "NOT-LOCKED" , "" , "" , "" }
{1 , 4 , "CLOSED" , "Closed" , "Open" , "" }
{1 , 5 , "OPEN" , "Open" , "Closed" , "" }
{1 , 6 , "REMOTE-OKAY" , "" , "" , "" }
}
# The way that the strings are currently implemented in the SPS, the first two