Index: shared/scripts/configuration/utility.py =================================================================== diff -u -ra4e7b51ba139070ff5708b1a1d732bc8a937b7b6 -reb8d2a1024d7639201b600eefb85a410761d7e55 --- shared/scripts/configuration/utility.py (.../utility.py) (revision a4e7b51ba139070ff5708b1a1d732bc8a937b7b6) +++ shared/scripts/configuration/utility.py (.../utility.py) (revision eb8d2a1024d7639201b600eefb85a410761d7e55) @@ -70,7 +70,15 @@ squish.mouseWheel(ScreenObj, screenWidth-1000, screenHeight-10, 0, -50, squish.Qt.NoModifier) raise LookupError("zone object is not in view to the user after trying 100 times") + +def get_alarm_id_obj(id): + names.o_alarm_id["text"] = id + return names.o_alarm_id +def get_alarm_msg_obj(msg): + names.o_alarm_message["text"] = msg + return names.o_alarm_message + def scroll_to_value_on_pop_up(value=None, container=None): """ scroll to the to the value if object is hidden @@ -94,13 +102,4 @@ 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 get_alarm_id_obj(id): - names.o_alarm_id["text"] = id - return names.o_alarm_id - -def get_alarm_msg_obj(msg): - names.o_alarm_message["text"] = msg - return names.o_alarm_message - \ No newline at end of file