tanghongbin 4 жил өмнө
parent
commit
3977d78744

+ 4 - 4
Controller/UidSetController.py

@@ -437,6 +437,10 @@ class UidSetView(View):
             try:
                 ucs = {}
                 info = ''
+                info = info + 'start_x=' + str(start_x) + ' '
+                info = info + 'start_y=' + str(start_y) + ' '
+                info = info + 'end_x=' + str(end_x) + ' '
+                info = info + 'end_y=' + str(end_y) + ' '
                 if enter_voice:
                     ucs['voice_prompt_enter'] = enter_voice
 
@@ -450,19 +454,15 @@ class UidSetView(View):
                     ucs['voice_prompt_intelligent_mute'] = intelligent_mute
 
                 if start_x:
-                    info = info + 'start_x=' + str(start_x) + ' '
                     ucs['voice_start_x'] = start_x
 
                 if start_y:
-                    info = info + 'start_x=' + str(start_x) + ' '
                     ucs['voice_start_y'] = start_y
 
                 if end_x:
-                    info = info + 'start_x=' + str(start_x) + ' '
                     ucs['voice_end_x'] = end_x
 
                 if end_y:
-                    info = info + 'start_x=' + str(start_x) + ' '
                     ucs['voice_end_y'] = end_y
 
                 if start_time: