Index: suite_leahi/shared/scripts/configuration/config.py =================================================================== diff -u -re74e550d3abff8c854a63ed41d5b01d78b110094 -r1e21f896ce2a5556dee960920f041a81f6471f1e --- suite_leahi/shared/scripts/configuration/config.py (.../config.py) (revision e74e550d3abff8c854a63ed41d5b01d78b110094) +++ suite_leahi/shared/scripts/configuration/config.py (.../config.py) (revision 1e21f896ce2a5556dee960920f041a81f6471f1e) @@ -1,14 +1,38 @@ -from configuration.strings import * - # -S, --disable-sd-card-fail-log-stop disable-sd-card-fail-log-stop # -k, --enable-check-in-log Enables Check-In Log # -K, --enable-acknow-log Enables Acknowledgment Log AUT_NAME = "leahi -k -K -S -q" -AUT_NAME_ONLY = "leahi" # Need only the AUT name for tst_ui_logs, do not add options -HOME_DIR_PATH = "/home/denali" +AUT_NAME_ONLY = "leahi" + +# Configuration application_init.py TMP_DIR = "/tmp/" +APP_POST_LOG_LOCATION = "".join([str(TMP_DIR),'/post.log']) +#Service Export Logs ENABLED = True +DEVICE_SETTINGS_SCREEN_TITLE_TEXT = "Device Settings" +EXPORT_LOG_TEXT = "Export Logs" +EXPORT_LOGS_OPTIONS = ["Application", "Service", "Treatment"] +EXPORT_LOG_STATUS = "Application log export to USB is complete" +EXPORT_LOG_PROGRESS_STATUS = "Service log export to USB in progress ... " +SERVICE_SCREEN_TITLE_TEXT = "Service" -APP_POST_LOG_LOCATION = "".join([str(TMP_DIR),'/post.log']) +# General Alarm Requirements Instruction +NUM_OF_ALARM_PRIORITIES = 4 # Total number of alarm priorities +ALARM_MUTE_FLAG = 0B0000001000000000 +ALARM_UNMUTE_FLAG = 0B0000000000000000 +ALARM_PRIORITY_OPTIONS = { + 0 : 'ALARM_PRIORITY_NONE' , + 1 : 'ALARM_PRIORITY_LOW' , + 2 : 'ALARM_PRIORITY_MEDIUM', + 3 : 'ALARM_PRIORITY_HIGH', +} + +ALARMS_COLORS_HEADER = { + "ALARM_PRIORITY_NONE" : "#438feb", + "ALARM_PRIORITY_LOW" : "#db8f00", + "ALARM_PRIORITY_MEDIUM" : "#db8f00", + "ALARM_PRIORITY_HIGH" : "#c53b33" +} +ALARM_REJECT_NOTIFICATION_TEMPLATE = "No Active Alarm List [{}]"