Add missing block property get methods

pull/46/head
Simon Stürz 2022-01-13 12:46:16 +01:00 committed by Michael Zanetti
parent 7663d176c5
commit 51024f7bdc
1 changed files with 4 additions and 0 deletions

View File

@ -949,6 +949,10 @@ def writeTcpSourceFile():
# Property get methods
writePropertyGetSetMethodImplementationsTcp(sourceFile, className, registerJson['registers'])
# Block property get methods
for blockDefinition in registerJson['blocks']:
writePropertyGetSetMethodImplementationsTcp(sourceFile, className, blockDefinition['registers'])
# Write init and update method implementation
writeInitializeMethod(sourceFile, className, registerJson['registers'])
writeUpdateMethod(sourceFile, className, registerJson['registers'])