예제 #1
0
def StartPCR():
    global PCR
    if PCR is None:
        print("控制器正在连接中……")
        PCR = PCRInitializer()
        PCR.connect()
    PCR.devices.add_from_config()
    PCR.start()
예제 #2
0
def StartPCR():
    global PCR
    if PCR is None:
        print("控制器正在连接中……")
        os.system(f"cd {adb_dir} & adb kill-server")
        PCR = PCRInitializer()
        PCR.connect()
    PCR.devices.add_from_config()
    PCR.start()
예제 #3
0
def ReconnectPCR():
    global PCR
    if PCR is None:
        PCR = PCRInitializer()
    PCR.connect()
    PCR.start()
예제 #4
0
def CheckQueue():
    global PCR
    if PCR is None:
        PCR = PCRInitializer()
        PCR.connect()
    PCR.show()
예제 #5
0
def CheckDevice():
    global PCR
    if PCR is None:
        PCR = PCRInitializer()
        PCR.connect()
    PCR.devices.show()