當前位置: 首頁>>代碼示例>>Python>>正文


Python MobileDevice.__init__方法代碼示例

本文整理匯總了Python中MobileDevice.MobileDevice.__init__方法的典型用法代碼示例。如果您正苦於以下問題:Python MobileDevice.__init__方法的具體用法?Python MobileDevice.__init__怎麽用?Python MobileDevice.__init__使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在MobileDevice.MobileDevice的用法示例。


在下文中一共展示了MobileDevice.__init__方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: __init__

# 需要導入模塊: from MobileDevice import MobileDevice [as 別名]
# 或者: from MobileDevice.MobileDevice import __init__ [as 別名]
 def __init__(self, mcontroller, dev_props):
     self.capabilities = [AT_COMM_CAPABILITY, X_ZONE_CAPABILITY]
     
     #Device list with tuplas representating the device (product_id, vendor_id)
     self.device_list = [(0xc, 0x1931)]
     
     MobileDevice.__init__(self, mcontroller, dev_props)
開發者ID:guadalinex-archive,項目名稱:guadalinex-v5,代碼行數:9,代碼來源:MobileDeviceNozomi.py

示例2: __init__

# 需要導入模塊: from MobileDevice import MobileDevice [as 別名]
# 或者: from MobileDevice.MobileDevice import __init__ [as 別名]
 def __init__(self, mcontroller, dev_props):
     self.capabilities = [AT_COMM_CAPABILITY, X_ZONE_CAPABILITY, SMS_CAPABILITY, ADDRESSBOOK_CAPABILITY]
     
     #Device list with tuplas representating the device (product_id, vendor_id)
     self.device_list = [(0x4400,0x1410),(0x7001, 0x1410)]
     
     MobileDevice.__init__(self, mcontroller, dev_props)
開發者ID:oier,項目名稱:mobile-manager,代碼行數:9,代碼來源:MobileDeviceNovatel.py

示例3: __init__

# 需要導入模塊: from MobileDevice import MobileDevice [as 別名]
# 或者: from MobileDevice.MobileDevice import __init__ [as 別名]
 def __init__(self, mcontroller, dev_props):
     self.capabilities = []
     self.device_port = None
     
     MobileDevice.__init__(self, mcontroller, dev_props)
開發者ID:guadalinex-archive,項目名稱:guadalinex-v5,代碼行數:7,代碼來源:MobileDeviceUSB.py

示例4: __init__

# 需要導入模塊: from MobileDevice import MobileDevice [as 別名]
# 或者: from MobileDevice.MobileDevice import __init__ [as 別名]
 def __init__(self, mcontroller, dev_props):
     self.capabilities = []
     
     MobileDevice.__init__(self, mcontroller, dev_props)
開發者ID:oier,項目名稱:mobile-manager,代碼行數:6,代碼來源:MobileDeviceIR.py

示例5: __init__

# 需要導入模塊: from MobileDevice import MobileDevice [as 別名]
# 或者: from MobileDevice.MobileDevice import __init__ [as 別名]
 def __init__(self, mcontroller):
     self.capabilities = []        
     MobileDevice.__init__(self, mcontroller, {"info.udi" : "NoneDevice"})
     self.pretty_name="NoneDevice"
開發者ID:oier,項目名稱:mobile-manager,代碼行數:6,代碼來源:MobileDeviceNone.py

示例6: __init__

# 需要導入模塊: from MobileDevice import MobileDevice [as 別名]
# 或者: from MobileDevice.MobileDevice import __init__ [as 別名]
 def __init__(self, mcontroller, dev_props):
     self.capabilities = [AT_COMM_CAPABILITY, X_ZONE_CAPABILITY, SMS_CAPABILITY, ADDRESSBOOK_CAPABILITY, NO_OPTIONS_MENU]
     self.device_port = None
     
     MobileDevice.__init__(self, mcontroller, dev_props)
開發者ID:oier,項目名稱:mobile-manager,代碼行數:7,代碼來源:MobileDeviceUSB.py


注:本文中的MobileDevice.MobileDevice.__init__方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。