AnsweredAssumed Answered

How to get the StateNo of an Enum Set using AF sdk ?

Question asked by prajakta.gokhale on Jul 25, 2017
Latest reply on Jul 25, 2017 by rdavin


Problem Description :

I have a particular Enumeration Set "XYZ" applied to an AF attribute, enum set as below:

 

StateNo   Value

0               True

1               False

 

The AF attribute value shows as True/false. However, i need to get the state no, how it needs to be done using AF SDK code ?

(Similar functionality is available using PI PE with the help of function "StateNo"-gets the code number of a digital state. How to do this using AF SDK ?)

Outcomes