Files
sinqSPS/templates/shutter.substitutions
2025-06-17 14:13:53 +02:00

39 lines
1.4 KiB
Plaintext

file "$(sinqSPS_DB)/writebit.db"
{
pattern
{OFFSET, BIT, BIT_NAME , DESC }
{0 , 0 , "OPEN-SHUTTER" , "Opens the Shutter" }
{0 , 1 , "CLOSE-SHUTTER", "Closes the Shutter"}
}
file "$(sinqSPS_DB)/readbit.db"
{
pattern
{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" , "" , "" , "" }
{1 , 7 , "MOVES" , "" , "" , "" }
}
# The way that the strings are currently implemented in the SPS, the first two
# bytes are the maximum length of the string and the size of the current string
# in the register.
file "$(sinqSPS_DB)/readstring.db"
{
pattern
{OFFSET, LENGTH, STRING_NAME }
{4 , 14 , "PSYS-OK" }
{20 , 17 , "SHUTTER-READY" }
{40 , 17 , "EMERGENCY-STOP" }
{60 , 19 , "BLOCKED" }
{82 , 24 , "BLOCKED-REASON" }
{108 , 14 , "OPEN" }
{124 , 27 , "REMOTE" }
}