Serial port 1 transmit: "SECUPDATE:"
; ----- Partition Status -----
If
Security: Partition 1 is disarmed
And Security: Partition 1 is not ready to arm
Then
Serial port 1 transmit: "0"
End If
If
Security: Partition 1 is disarmed
And Security: Partition 1 is ready to arm
Then
Serial port 1 transmit: "1"
End If
If
Security: Partition 1 is armed in Home mode
Then
Serial port 1 transmit: "2"
End If
If
Security: Partition 1 is armed in Away mode
Then
Serial port 1 transmit: "3"
End If
; ----- Zone Status -----
If
Security: Zone 1 is not faulted
And Security: Zone 1 is not bypassed
Then
Serial port 1 transmit: "0"
End If
If
Security: Zone 1 is faulted
And Security: Zone 1 is not bypassed
Then
Serial port 1 transmit: "1"
End If
If
Security: Zone 1 is bypassed
Then
Serial port 1 transmit: "2"
End If
Serial port 1 transmit: Carriage return and line feed
|