21 lines
902 B
Python
21 lines
902 B
Python
"""Percentage that the previous pressure can be lower than current one without triggering the hole alarm."""
|
|
PRESSURE_TOLERANCE_PERCENTAGE = 1
|
|
|
|
"""Pressure saturation threshold in V to trigger the saturation alarm."""
|
|
PRESSURE_SATURATION_THRESHOLD = 1.65
|
|
|
|
"""Lower limit of frequency in Hz to be considered inside interest rotation interval. (type: float)"""
|
|
REFERENCE_ROTATION_DOWN_LIMIT = 19.5
|
|
|
|
"""Higher limit of frequency in Hz to be considered inside interest rotation interval. (type: float)"""
|
|
REFERENCE_ROTATION_UPPER_LIMIT = 20.5
|
|
|
|
"""Weather or not the buzzer should be set to an annoying tone (in oder to keep the mental healthness of the developer)."""
|
|
ANNOYING_BUZZER_ENABLED = True
|
|
|
|
"""How many samples of pressure should be used in smoother."""
|
|
PRESSURE_SMOOTH_LENGTH = 15
|
|
|
|
"""Period in seconds to wait when alarm reset button is presset until it starts again."""
|
|
ALARM_PAUSE_PERIOD = 60
|