コード例 #1
0
ファイル: wifidog_business.py プロジェクト: zeewii/BHU
def default_general(self):
    general_control.set_wifidog_enable(self, True)
    general_control.set_gatewayId(self, "44060430603381")
    general_control.set_checkInterval(self, 300)
    general_control.set_clientTimeout(self, 50)
    general_control.set_wifidog_hostname(self, "wifi.100msh.com")
    general_control.set_wifidog_url(self, "/index/")
    general_control.apply(self)
    time.sleep(40)
コード例 #2
0
ファイル: wifidog_business.py プロジェクト: zeewii/BHU
def edit_gatewayid(self, id):
    general_control.set_gatewayId(self, id)
    general_control.apply(self)
    time.sleep(40)