File: panels.py

package info (click to toggle)
python-alarmdecoder 1.13.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,036 kB
  • sloc: python: 3,719; javascript: 1,370; makefile: 147
file content (23 lines) | stat: -rw-r--r-- 356 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""
Representations of Panels and their templates.

.. moduleauthor:: Scott Petersen <scott@nutech.com>
"""

ADEMCO = 0
DSC = 1

PANEL_TYPES = {
    'A': ADEMCO,
    'D': DSC,
}

VISTA20 = 0

TEMPLATES = {
    VISTA20: {
        'name': 'Vista 20',
        # number of expanders, starting_address, number of channels
        'expanders': (5, 7, 7)
    }
}