Possibility to Extend a TYPE (struct?) - Mendix Forum

Possibility to Extend a TYPE (struct?)

1

Hi,


A colleague came with a use case where he uses in AX Classes and public variables to define structures. Then I can use this data structure to EXTEND it and have more data.


For example I have a class HmiBaseInterface and then for each application or model I can extend it to have a HmiWinccUnifiedInterface or other classes with more variables.


In this case I do not have any method for my class, so it would be enough for me to only have a Struct instad of Class.


If it were only in AX, it is not a problem for me to have is as a class instead of a struct, but In case I need to export my library to tia using AX2TIA, I cannot have it in the InOut for example. I can have the class in the static variables, but not in a blocks interface for data exchange.

asked
1 answers

Thanks for bringing this idea forward! We really appreciate you taking the time to share it. We'll take it into consideration as we continue evaluating improvements to SIMATIC AX.

Created