Пример #1
0
def openDevice(device):
    """
    """
    d = VStrokerDevice()
    if not d.open(device["path"]):
        return None
    return d
Пример #2
0
def openDevice(device):
    """
    """
    d = VStrokerDevice()
    if not d.open(device["path"]):
        return None
    return d
Пример #3
0
def getDeviceList():
    """
    """
    return [{
        "name": plugin_info["name"],
        "path": dev
    } for dev in VStrokerDevice.getDeviceList()]
Пример #4
0
def getDeviceList():
    """
    """
    return [{ "name" : plugin_info["name"], "path" : dev } for dev in VStrokerDevice.getDeviceList()]