setmodelname
This commit is contained in:
@@ -61,8 +61,6 @@ class CommandError(Error):
|
|||||||
# setwireless
|
# setwireless
|
||||||
# setwflisten
|
# setwflisten
|
||||||
|
|
||||||
# setmodelname
|
|
||||||
|
|
||||||
|
|
||||||
class ILT1000(object):
|
class ILT1000(object):
|
||||||
|
|
||||||
@@ -142,6 +140,9 @@ class ILT1000(object):
|
|||||||
if int(ret) != 0:
|
if int(ret) != 0:
|
||||||
raise CommandError
|
raise CommandError
|
||||||
|
|
||||||
|
def SetModelName(self, name):
|
||||||
|
self._SendCommandOrDie('setmodelname %s' % name)
|
||||||
|
|
||||||
def GetModelName(self):
|
def GetModelName(self):
|
||||||
return self._SendCommand('getmodelname')
|
return self._SendCommand('getmodelname')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user