Index: shared/scripts/configuration/config.py =================================================================== diff -u -rc1870f6c47b476330fe930d81bf0a13cab62a86f -r9f356820bd80a1b81b55dd5a1221a77a8cd6d27a --- shared/scripts/configuration/config.py (.../config.py) (revision c1870f6c47b476330fe930d81bf0a13cab62a86f) +++ shared/scripts/configuration/config.py (.../config.py) (revision 9f356820bd80a1b81b55dd5a1221a77a8cd6d27a) @@ -334,7 +334,6 @@ REJECTED = False ALARM_LIST_TITLE = "Alarm list" - NUM_OF_REQUEST_REJECT_REASONS = 43 NUM_OF_MSG_ID = 289 UNDEFINED_ALARM_ID_MSG = "ALARM_ID_UNDEFINED" @@ -1658,7 +1657,14 @@ VISIBLE = True ACID_CONCENTRATE_POST = ["Fres. Naturalyte", "08-1251-1", "08-2251-0", "08-3251-9", "08-3251-9"] +ENABLED = True +DISABLED = False +BRIGHTNESS_MIN_VAL = 20 +BRIGHTNESS_MAX_VAL = 100 +VOLUME_MIN_VAL = 20 +VOLUME_MAX_VAL = 100 + #dictionary consist of review parameters values of post treatment POST_TREATMENT_REVIEW_PARAMETER_RANGE = { "Patient ID": ["abcd", "xyz", "qwerty", "dghjf", "cdtys"], Index: shared/scripts/configuration/strings.py =================================================================== diff -u -rc1870f6c47b476330fe930d81bf0a13cab62a86f -r9f356820bd80a1b81b55dd5a1221a77a8cd6d27a --- shared/scripts/configuration/strings.py (.../strings.py) (revision c1870f6c47b476330fe930d81bf0a13cab62a86f) +++ shared/scripts/configuration/strings.py (.../strings.py) (revision 9f356820bd80a1b81b55dd5a1221a77a8cd6d27a) @@ -301,3 +301,34 @@ "Average Venous Pressure" : "mmHg", } +BLOOD_PRIMING_TEXT = "Blood Priming" +SALINE_UNIT = "mL" +BLOOD_PRIMING_DEFAULT_VALUE = "0 mL" +RESET_BINARY = "0" +SET_BINARY = "1" #Message binaries appending with for easy identification +ACK_REQ_STATUS = 'Ack Req' +ACK_BAK_STATUS = 'Ack Bak' + + +#Setting +CLEAR_ALARM_CONDITION_TEXT = "Clear Alarm Condition" +EXPORT_TEXT ="Export" +DEVICE_SETTINGS_TEXT = "Device Settings" +DEVICE_SETTINGS_SCREEN_PARAMETER = ["Information", "Volume And Brightness", "Wi-Fi", "Bluetooth Cuff", "Dialysate Generator Settings", "Services"] +SettingsHome_Treatment_Text = "Treatment" +SettingsHome_Manager_Text = "Manager" +SettingsHome_Settings_Text = "Settings" + +#Information + +INFORMATION_TITLES = ["Information", "Versions"] +INFORMATION_PARAMETERS = ["Information", "UI Version", "HD Version", "HD FPGA Version", "HD Serial Number", "DG Version", "DG FPGA Version", "DG Serial Number"] +SERIVCES_TITLE = "Services" +SERVICES_PARAMETERS = ["HD Last Service Date", "HD Next Service Date", "DG Last Service Date", "DG Next Service Date"] + +#volume and brightness +VOLUME_AND_BRIGHTNESS_TEXT = "Volume And Brightness" +BRIGHTNESS_TEXT = "Brightness" +ALARM_VOLUME_TEXT = "Alarm Volume" +BACK_TEXT = "BACK" +UNIT_OF_VOLUME_AND_BRIGHTNESS = "%" Index: shared/scripts/names.py =================================================================== diff -u -r9b3e2170cacd0aab59984e93aea8d054d67279d7 -r9f356820bd80a1b81b55dd5a1221a77a8cd6d27a --- shared/scripts/names.py (.../names.py) (revision 9b3e2170cacd0aab59984e93aea8d054d67279d7) +++ shared/scripts/names.py (.../names.py) (revision 9f356820bd80a1b81b55dd5a1221a77a8cd6d27a) @@ -8,11 +8,12 @@ o_Overlay = {"container": o_QQuickView, "type": "Overlay"} o_Gui_MainView = { "type": "Gui::MainView" } - # Modal Dialog o_modalDialog = {"container": o_Overlay , "id": "_backgroundRect", "type": "Rectangle", "unnamed": 1, "visible": True} - +# Top Parents +o_QQuickView = { "type": "QQuickView"} +o_Overlay = {"container": o_QQuickView, "type": "Overlay"} o_treatmentHome = {"container": o_QQuickView , "id": "_treatmentHome" , "type": "TreatmentHome", "unnamed": 1, "visible": True} o_treatmentHome_backgroung = {"container": o_treatmentHome, "id": "_backgroundRect" , "type": "Rectangle" , "unnamed": 1, "visible": True} o_treatmentHome_startTreatment = {"container": o_treatmentHome, "id": "_startTreatmentRect" , "type": "TouchRect" , "unnamed": 1, "visible": True} @@ -24,6 +25,8 @@ o_mainMenu_treatment = {"container": o_mainMenu , "id": "_touchRect", "type": "TouchRect", "objectName": "_touchRect0", "visible": True} o_mainMenu_manager = {"container": o_mainMenu , "id": "_touchRect", "type": "TouchRect", "objectName": "_touchRect1", "visible": True} o_mainMenu_settings = {"container": o_mainMenu , "id": "_touchRect", "type": "TouchRect", "objectName": "_touchRect2", "visible": True} +o_Gui_MainView = {"type": "Gui::MainView", "unnamed": 1, "visible": True} +o_Overlay = {"container": o_Gui_MainView, "type": "Overlay", "unnamed": 1, "visible": True} o_borderRect_Rectangle = {"container": o_Overlay, "gradient": 0, "id": "_borderRect", "type": "Rectangle", "unnamed": 1, "visible": True} o_minimizeButton_UpDownButton = {"container": o_Overlay, "gradient": 0, "id": "_minimizeButton", "type": "UpDownButton", "unnamed": 1, "visible": True} o_shape_Shape = {"container": o_Gui_MainView, "id": "_shape", "type": "Shape", "unnamed": 1, "visible": True} @@ -661,7 +664,14 @@ o_arrow_btn = {"container": o_SettingsHome_SettingsHome, "id": "_image", "source": "qrc:/images/iArrowRight", "type": "Image", "unnamed": 1, "visible": True} o_SettingsBase_SettingsBase = {"container": o_Gui_MainView, "objectName": "_SettingsBase", "type": "SettingsBase", "visible": True} o_settings_base_text_obj = {"container": o_SettingsBase_SettingsBase, "type": "Text", "unnamed": 1, "visible": True} +o_service_date_obj = {"container": o_SettingsBase_SettingsBase, "type": "Text", "unnamed": 1, "visible": True} +#volume and brightness +o_SettingsBase_SettingsVolumeBrightness = {"container": o_Gui_MainView, "objectName": "_SettingsBase", "type": "SettingsVolumeBrightness", "visible": True} +o_SettingsBase_Volume_And_Brightness_Text = {"container": o_SettingsBase_SettingsVolumeBrightness, "type": "Text", "unnamed": 1, "visible": True} +o_brightness_parent_obj = {"container": o_SettingsBase_SettingsVolumeBrightness, "gradient": 0, "id": "_brightness", "type": "Slider", "unnamed": 1, "visible": True} + + #heparin syringe disposables o_preTreatmentDisposablesStack_preTreatmentDisposablesHeparinSyringe_TreatmentFlowBase = {"container": o_PreTreatmentStack_preTreatmentDisposablesStack_PreTreatmentDisposablesStack, "objectName": "_preTreatmentDisposablesHeparinSyringe", "type": "TreatmentFlowBase", "visible": True} o_cumulative_fluid_text = {"container": o_treatmentStack_treatmentHome_TreatmentHome, "text": "Cumulative Delivered", "type": "Text", "unnamed": 1, "visible": True}