fix in bitwise output

This commit is contained in:
Wolfgang Hottgenroth 2019-07-17 11:22:50 +01:00
parent bf3475a796
commit f6d4218e57

View File

@ -150,6 +150,10 @@ class DiscreteInputDatapoint(ReadOnlyDatapoint):
self.type = 'discrete input'
self.bitCount = bitCount
def __str__(self):
return ("[{0!s}, bitCount: {1}"
.format(super().__str__(), self.bitCount))
def process(self, client, pubQueue):
logger = logging.getLogger('DiscreteInputDatapoint')
# perform read operation