mirror of
https://gitee.com/qpy-solutions/tracker-v2.git
synced 2025-05-19 02:58:25 +08:00
add: alert.py alertcode
This commit is contained in:
parent
fc3f549fa9
commit
54ee755183
@ -6,9 +6,11 @@ from usr.logging import getLogger
|
|||||||
|
|
||||||
log = getLogger(__name__)
|
log = getLogger(__name__)
|
||||||
|
|
||||||
|
# TODO: Use objec model code?
|
||||||
ALERTCODE = {
|
ALERTCODE = {
|
||||||
30001: 'fault_alert',
|
30001: 'fault_alert',
|
||||||
30002: 'low_power_alert',
|
30002: 'low_power_alert',
|
||||||
|
30003: 'over_speed_alert',
|
||||||
30004: 'sim_out_alert',
|
30004: 'sim_out_alert',
|
||||||
30005: 'disassemble_alert',
|
30005: 'disassemble_alert',
|
||||||
# 30006: 'shock_alert', # TODO: NOT USED
|
# 30006: 'shock_alert', # TODO: NOT USED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user