public interface IUnityLogicTemplateFunctions
Modifier and Type | Method and Description |
---|---|
void |
writeProgram(String theProgram)
Used to write a part of the user logic application.
|
void |
writeVariable(String theVariable)
Used to write a variable in the dedicated buffer.
|
void writeProgram(String theProgram)
Example:
# Write a part of the program self.thePlugin.writeProgram('''(* Adding a comment to the generated application *)''')
theProgram
- The program to be written.void writeVariable(String theVariable)
Example:
# Write Variables self.thePlugin.writeVariable('''<variables name="$Name$_BL_TRIG" typeName="F_TRIG"></variables> <variables name="$Name$_DL_IOErr" typeName="BOOL"></variables> <variables name="$Name$_DL_IOSim" typeName="BOOL"></variables>''')
theVariable
- The variable to be written.Copyright © 2010–2020 CERN. All rights reserved.