...
In order for your modules to accept the parameters, you will need to define the module to have input parameters. In addition, you would need to set the refParm property to to the variables that are getting being passed in.
An example is below:
...
You will also need to export the parameters and their definitions definitions when you export exporting your module:
An example is below:
...