Create and use "enum" type properties
Hello,
I would like to have something like 'enum' (similar to ones in C/C++) in Thingworx. And then to create a 'property' of that 'enum' type, which can hold only one of the 'enum constants' defined for that 'enum', at a particular time.
Is that possible to achieve something like that?
My basic requirement is to create a 'stateDefination' variable, which supposedly would be the created 'enum' type property, and on running various services on the Thing, this variable would change its state.
Any suggestions or ideas are welcome.
I also found a similar post with same requirement, but since it was very old, I am looking if any new provisions are introduced in Thingworx to achieve this.
I am looking for something similar to technique used for defining BaseTypes in Thingworx.
Thanks in advance
Regards
Aditya Mittal

