forgotten reset of processCount
This commit is contained in:
@ -176,6 +176,7 @@ def checkRegisterList(registers):
|
|||||||
raise ValueError('Entry in register list {0!s} is not derived from class AbstractModbusDatapoint'.format(r))
|
raise ValueError('Entry in register list {0!s} is not derived from class AbstractModbusDatapoint'.format(r))
|
||||||
else:
|
else:
|
||||||
r.errorCount = 0
|
r.errorCount = 0
|
||||||
|
r.processCount = 0
|
||||||
print("Datapoint loaded: {0!s}".format(r))
|
print("Datapoint loaded: {0!s}".format(r))
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user