@staticmethod
def getScreenPhoto():
    adb = Adb(device='d5c42b2a')
    for x in range(100):
        adb.screenCap()
        adb.pullBackScreenCap(os.path.join('.', 'photo', time.strftime('%Y-%m-%d_%H-%M-%S.png', time.localtime())))
        print('截图', time.asctime(time.localtime()))
        time.sleep(3)
@staticmethod
def getScreenPhoto():
    adb = Adb(device='d5c42b2a')
    for x in range(100):
        adb.screenCap()
        adb.pullBackScreenCap(os.path.join('.', 'photo', time.strftime('%Y-%m-%d_%H-%M-%S.png', time.localtime())))
        print('截图', time.asctime(time.localtime()))
        time.sleep(3)