__taskId = None try: import getopt opts, _ = getopt.getopt(sys.argv[2:], '-h-t:', ['help', 'taskId=']) for k, v in opts: if k in ('-t', '--taskId'): __taskId = v except Exception as e: pass try: import pywinauto except: pass visual_block = VisualBlock(taskId=__taskId) visual_block.Visual_Block_Total_Block(1) # -*- 参数面板 try: PANEL_VARS = {} except Exception as e: log.error("[%s] %s", "参数面板", str(e)) # -*- 传入的JSON try: update_panel(sys.argv, PANEL_VARS)
__errorCapturePath = None try: import getopt opts, _ = getopt.getopt(sys.argv[2:], '-h-t:-p:', ['help', 'taskId=']) for k, v in opts: if k in ('-t', '--taskId'): __taskId = v elif k == '-p' and v and v.strip() != '0': __errorCapturePath = v.strip() except Exception as e: pass try: import pywinauto except: pass visual_block = VisualBlock(taskId=__taskId) visual_block.Visual_Block_Total_Block(5) # -*- 参数面板 try: PANEL_VARS = {} except Exception as e: log.error("[%s] %s", "参数面板", str(e)) # -*- 传入的JSON try: update_panel(sys.argv, PANEL_VARS)
__taskId = None try: import getopt opts, _ = getopt.getopt(sys.argv[2:], '-h-t:', ['help', 'taskId=']) for k, v in opts: if k in ('-t', '--taskId'): __taskId = v except Exception as e: pass try: import pywinauto except: pass visual_block = VisualBlock(taskId=__taskId) visual_block.Visual_Block_Total_Block(14) # -*- 参数面板 try: PANEL_VARS = {} except Exception as e: log.error("[%s] %s", "参数面板", e.message) # -*- 传入的JSON try: update_panel(sys.argv, PANEL_VARS)
__taskId = None try: import getopt opts, _ = getopt.getopt(sys.argv[2:], '-h-t:', ['help', 'taskId=']) for k, v in opts: if k in ('-t', '--taskId'): __taskId = v except Exception as e: pass try: import pywinauto except: pass visual_block = VisualBlock(taskId=__taskId) visual_block.Visual_Block_Total_Block(11) # -*- 参数面板 try: PANEL_VARS = {} except Exception as e: log.error("[%s] %s", "参数面板", str(e)) # -*- 传入的JSON try: update_panel(sys.argv, PANEL_VARS)
__errorCapturePath = None try: import getopt opts, _ = getopt.getopt(sys.argv[2:], '-h-t:-p:', ['help', 'taskId=']) for k, v in opts: if k in ('-t', '--taskId'): __taskId = v elif k == '-p' and v and v.strip() != '0': __errorCapturePath = v.strip() except Exception as e: pass try: import pywinauto except: pass visual_block = VisualBlock(taskId=__taskId) visual_block.Visual_Block_Total_Block(44) # -*- 参数面板 try: PANEL_VARS = {} except Exception as e: log.error("[%s] %s", "参数面板", str(e)) # -*- 传入的JSON try: update_panel(sys.argv, PANEL_VARS)
__taskId = None try: import getopt opts, _ = getopt.getopt(sys.argv[2:], '-h-t:', ['help', 'taskId=']) for k, v in opts: if k in ('-t', '--taskId'): __taskId = v except Exception as e: pass try: import pywinauto except: pass visual_block = VisualBlock(taskId=__taskId) visual_block.Visual_Block_Total_Block(13) # -*- 参数面板 try: PANEL_VARS = {} except Exception as e: log.error("[%s] %s", "参数面板", e.message) # -*- 传入的JSON try: update_panel(sys.argv, PANEL_VARS)
__taskId = None try: import getopt opts, _ = getopt.getopt(sys.argv[2:], '-h-t:', ['help', 'taskId=']) for k, v in opts: if k in ('-t', '--taskId'): __taskId = v except Exception as e: pass try: import pywinauto except: pass visual_block = VisualBlock(taskId=__taskId) visual_block.Visual_Block_Total_Block(9) # -*- 参数面板 try: PANEL_VARS = { } except Exception as e: log.error("[%s] %s", "参数面板", e.message) # -*- 传入的JSON try: update_panel(sys.argv, PANEL_VARS)
__taskId = None try: import getopt opts, _ = getopt.getopt(sys.argv[2:], '-h-t:', ['help', 'taskId=']) for k, v in opts: if k in ('-t', '--taskId'): __taskId = v except Exception as e: pass try: import pywinauto except: pass visual_block = VisualBlock(taskId=__taskId) visual_block.Visual_Block_Total_Block(12) # -*- 参数面板 try: PANEL_VARS = {} except Exception as e: log.error("[%s] %s", "参数面板", e.message) # -*- 传入的JSON try: update_panel(sys.argv, PANEL_VARS)
__taskId = None try: import getopt opts, _ = getopt.getopt(sys.argv[2:], '-h-t:', ['help', 'taskId=']) for k, v in opts: if k in ('-t', '--taskId'): __taskId = v except Exception as e: pass try: import pywinauto except: pass visual_block = VisualBlock(taskId=__taskId) visual_block.Visual_Block_Total_Block(24) # -*- 参数面板 try: PANEL_VARS = { } except Exception as e: log.error("[%s] %s", "参数面板", e.message) # -*- 传入的JSON try: update_panel(sys.argv, PANEL_VARS)
__taskId = None try: import getopt opts, _ = getopt.getopt(sys.argv[2:], '-h-t:', ['help', 'taskId=']) for k, v in opts: if k in ('-t', '--taskId'): __taskId = v except Exception as e: pass try: import pywinauto except: pass visual_block = VisualBlock(taskId=__taskId) visual_block.Visual_Block_Total_Block(7) # -*- 参数面板 try: PANEL_VARS = {} except Exception as e: log.error("[%s] %s", "参数面板", str(e)) # -*- 传入的JSON try: update_panel(sys.argv, PANEL_VARS)
try: import getopt opts, _ = getopt.getopt(sys.argv[2:], '-h-t:-p:', ['help', 'taskId=']) for k, v in opts: if k in ('-t', '--taskId'): __taskId = v elif k == '-p' and v and v.strip() != '0': __errorCapturePath = v.strip() except Exception as e: pass try: import pywinauto except: pass visual_block = VisualBlock(taskId=__taskId) visual_block.Visual_Block_Total_Block(50) # -*- 参数面板 try: PANEL_VARS = { "tb_qs": [], "ts_one": [], "ts_two": [], "p_true": [], "p_false": [], "mx_true": [], "mx_false": [], "count": 0, "cny_sum": 0.0,
__taskId = None try: import getopt opts, _ = getopt.getopt(sys.argv[2:], '-h-t:', ['help', 'taskId=']) for k, v in opts: if k in ('-t', '--taskId'): __taskId = v except Exception as e: pass try: import pywinauto except: pass visual_block = VisualBlock(taskId=__taskId) visual_block.Visual_Block_Total_Block(14) # -*- 参数面板 try: PANEL_VARS = {} except Exception as e: log.error("[%s] %s", "参数面板", str(e)) # -*- 传入的JSON try: update_panel(sys.argv, PANEL_VARS)
try: import getopt opts, _ = getopt.getopt(sys.argv[2:], '-h-t:-p:', ['help', 'taskId=']) for k, v in opts: if k in ('-t', '--taskId'): __taskId = v elif k == '-p' and v and v.strip() != '0': __errorCapturePath = v.strip() except Exception as e: pass try: import pywinauto except: pass visual_block = VisualBlock(taskId=__taskId) visual_block.Visual_Block_Total_Block(3) # -*- 参数面板 try: PANEL_VARS = {} except Exception as e: log.error("[%s] %s", "参数面板", str(e)) # -*- 传入的JSON try: update_panel(sys.argv, PANEL_VARS)