fix in bitwise output
This commit is contained in:
parent
bf3475a796
commit
f6d4218e57
@ -150,6 +150,10 @@ class DiscreteInputDatapoint(ReadOnlyDatapoint):
|
|||||||
self.type = 'discrete input'
|
self.type = 'discrete input'
|
||||||
self.bitCount = bitCount
|
self.bitCount = bitCount
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return ("[{0!s}, bitCount: {1}"
|
||||||
|
.format(super().__str__(), self.bitCount))
|
||||||
|
|
||||||
def process(self, client, pubQueue):
|
def process(self, client, pubQueue):
|
||||||
logger = logging.getLogger('DiscreteInputDatapoint')
|
logger = logging.getLogger('DiscreteInputDatapoint')
|
||||||
# perform read operation
|
# perform read operation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user