File: control_common.py

package info (click to toggle)
extra-data 1.20.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 952 kB
  • sloc: python: 10,421; makefile: 4
file content (24 lines) | stat: -rw-r--r-- 814 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
interlock_keys = [
    ('interlock/AActCommand', 'u4', ()),
    ('interlock/AActionState', 'u4', ()),
    ('interlock/ACndAriOp', 'i2', ()),
    ('interlock/ACndComOp', 'i2', ()),
    ('interlock/ACndEnable', 'u1', ()),
    ('interlock/ACndFiltertime', 'i2', ()),
    ('interlock/ACndHysteresis', 'u1', ()),
    ('interlock/ACndSrc1Detail', 'i2', ()),
    ('interlock/ACndSrc2Detail', 'i2', ()),
    ('interlock/ACndThreshold', 'u1', ()),
    ('interlock/ACndValue1', 'u1', ()),
    ('interlock/ACndValue2', 'u1', ()),
    ('interlock/AConditionState', 'u4', ()),
    ('interlockOk', 'u1', ()),
    ('interlockOn', 'u1', ()),
]

triggers_keys = [
    ('trigger', 'u4', (1000,)),
] + sum(([
    ('triggers/trig%d/enable' % n, 'u1', ()),
    ('triggers/trig%d/interval' % n, 'f8', ()),
] for n in range(1, 11)), [])