Developers guide
42
• POWER: The status of the roofs power supply. It is either ON, or OFF
• MOVING:Possible values are OPENING, CLOSING, STOPPED, UNKNOWN
These values are obtained by listening on the ROOF Channel, their values can be seen using the Roof
Properties Frame, shown in Figure 5-5. The MOVING and POS are interpreted using the table in Figure 5-4
to create the roof status icon on the main status bar.
MovingState
OPENING CLOSING STOPPED UNKNOWN
OPEN
CLOSED
MIDDLE
RoofPosition
UNKNOWN
Figure 5-4 Roof Status Indicator Truth Table
The sole purpose of the unknown icon is to prompt the user to consult the Roof Properties frame,
shown Figure 5-5, to obtain more accurate information about the roof state. Portions of this frame
were adapted from the original PtcsUi GUI.
Figure 5-5 Roof properties frame










