def setCurrentSensorSelector(self, value, portnumber): guid = 10197 moduleID = 'P1' valDef = self._guidTable[guid] value, count = convert.values2bin(value, valDef) data = self._parent.client.setAttribute(moduleID, guid, value, portnumber, count=count) return self._parent.getObjectFromData(data, valDef, setter=True)
def setCurrentSensorSelector(self, moduleID, value, portnumber): guid = 10197 valDef = self._guidTable[guid] value, count = convert.values2bin(value, valDef) data = self._parent.client.setAttribute(moduleID, guid, value, portnumber, count=count) return self._parent.getObjectFromData(data, valDef, setter=True)
def setPhaseLink(self, value, portnumber): guid = 10196 moduleID = 'P1' valDef = self._guidTable[guid] value, count = convert.values2bin(value, valDef) data = self._parent.client.setAttribute(moduleID, guid, value, portnumber, count=count) return self._parent.getObjectFromData(data, valDef, setter=True)