Index: shared/scripts/configuration/config.py =================================================================== diff -u -ra1c417ea9244cc6e3d3f34d8ffb5411ad126c83f -rd265c618344b60c26e182732b93287a72ab24213 --- shared/scripts/configuration/config.py (.../config.py) (revision a1c417ea9244cc6e3d3f34d8ffb5411ad126c83f) +++ shared/scripts/configuration/config.py (.../config.py) (revision d265c618344b60c26e182732b93287a72ab24213) @@ -379,13 +379,6 @@ VALID = True INVALID = False - -#post treatment review -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"], @@ -443,9 +436,15 @@ HD_OPMODES_MSG_PARAMETER_LEN = 7 HD_OPMODES_CREDENTIAL_PARAMETER_LEN = 6 -DEVICE_SETTINGS_TEXT = "Device Settings" -SERVICE_TEXT = "Service" +#settings information +BRIGHTNESS_MIN_VAL = 20 +BRIGHTNESS_MAX_VAL = 100 +VOLUME_MIN_VAL = 20 +VOLUME_MAX_VAL = 100 PASSWORD = 123 -CONFIRM_TEXT = "CONFIRM" -SERVICE_BACK_BTN = "BACK" +IP_ADDRESS = "192.168.1.1" +GATEWAY = "255.255.255.0" +SUBNET_MASK = "255.255.255.0" +DNS = "0.0.0.0" + Index: shared/scripts/configuration/utility.py =================================================================== diff -u -rcaa3a3b0aa0d77b4a05b7ccbbd1110e3c801af0f -rd265c618344b60c26e182732b93287a72ab24213 --- shared/scripts/configuration/utility.py (.../utility.py) (revision caa3a3b0aa0d77b4a05b7ccbbd1110e3c801af0f) +++ shared/scripts/configuration/utility.py (.../utility.py) (revision d265c618344b60c26e182732b93287a72ab24213) @@ -106,32 +106,6 @@ return False - -def scroll_to_value_on_pop_up(value=None, container=None): - """ - scroll to the to the value if object is hidden - @param value - (obj) value object - @param container - (obj) Container of the value - @return boolean true and false - """ - counter = 0 - while counter <= 100: - try: - counter += 1 - squish.findObject(value) - squish.snooze(0.5) - if check_if_object_is_within_the_container(obj=value, container=container): - return True - else: - raise RuntimeError - except RuntimeError: - ScreenObj = squish.waitForObject(container) - screenHeight = pyInt(ScreenObj.height) - screenWidth = pyInt(ScreenObj.width) - squish.mouseWheel(ScreenObj, screenWidth//2, screenHeight//2, 0, -50, squish.Qt.NoModifier) - raise LookupError("value object is not in view to the user after trying 100 times") - - def pressure_pop_up_text_obj(text): names.o_pop_up_pressure_text_obj["text"] = text return names.o_pop_up_pressure_text_obj @@ -1112,7 +1086,7 @@ def keyboard_input(key_value): names.o_keyboard_object["text"] = key_value return names.o_keyboard_object - + def enter_keyboard_numeric_value(entry): """ Method to enter user desired