Example #1
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(1)

# -*- 参数面板
try:

    PANEL_VARS = {}

except Exception as e:
    log.error("[%s] %s", "参数面板", str(e))

# -*- 传入的JSON
try:

    update_panel(sys.argv, PANEL_VARS)
Example #2
0
__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)
Example #3
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", "参数面板", e.message)

# -*- 传入的JSON
try:

    update_panel(sys.argv, PANEL_VARS)
Example #4
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(11)

# -*- 参数面板
try:

    PANEL_VARS = {}

except Exception as e:
    log.error("[%s] %s", "参数面板", str(e))

# -*- 传入的JSON
try:

    update_panel(sys.argv, PANEL_VARS)
Example #5
0
__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)
Example #6
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(13)

# -*- 参数面板
try:

    PANEL_VARS = {}

except Exception as e:
    log.error("[%s] %s", "参数面板", e.message)

# -*- 传入的JSON
try:

    update_panel(sys.argv, PANEL_VARS)
Example #7
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(9)

# -*- 参数面板
try:

    PANEL_VARS = {
    }

except Exception as e:
    log.error("[%s] %s", "参数面板", e.message)

# -*- 传入的JSON
try:

    update_panel(sys.argv, PANEL_VARS)
Example #8
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(12)

# -*- 参数面板
try:

    PANEL_VARS = {}

except Exception as e:
    log.error("[%s] %s", "参数面板", e.message)

# -*- 传入的JSON
try:

    update_panel(sys.argv, PANEL_VARS)
Example #9
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(24)

# -*- 参数面板
try:

    PANEL_VARS = {
    }

except Exception as e:
    log.error("[%s] %s", "参数面板", e.message)

# -*- 传入的JSON
try:

    update_panel(sys.argv, PANEL_VARS)
Example #10
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(7)

# -*- 参数面板
try:

    PANEL_VARS = {}

except Exception as e:
    log.error("[%s] %s", "参数面板", str(e))

# -*- 传入的JSON
try:

    update_panel(sys.argv, PANEL_VARS)
Example #11
0
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,
Example #12
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)
Example #13
0
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)