Esempio n. 1
0
def StartPCR():
    global PCR
    if PCR is None:
        print("控制器正在连接中……")
        PCR = PCRInitializer()
        PCR.connect()
    PCR.devices.add_from_config()
    PCR.start()
Esempio n. 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()
Esempio n. 3
0
def ReconnectPCR():
    global PCR
    if PCR is None:
        PCR = PCRInitializer()
    PCR.connect()
    PCR.start()
Esempio n. 4
0
def CheckQueue():
    global PCR
    if PCR is None:
        PCR = PCRInitializer()
        PCR.connect()
    PCR.show()
Esempio n. 5
0
def CheckDevice():
    global PCR
    if PCR is None:
        PCR = PCRInitializer()
        PCR.connect()
    PCR.devices.show()