コード例 #1
0
    def __init__(self, device, modem_path, com_path):
        self.modem_path = modem_path
        self.com_path   = com_path
        self.device     = device

        self.task_pool     = TaskPool(device)
        self.modem         = ModemPort(modem_path, self.task_pool)
        self.com           = CommunicationPort(com_path, self.task_pool)
        self.modem_is_open = False