How to locate the number 'value' of a Tag's Data Quality

I’m not sure if this has been added to the SDK since this thread was started, but the QualityCode object now has a getCode method that returns the integer value.

You can do things like this in the scripting console:

>>> from com.inductiveautomation.ignition.common.model.values import QualityCode
>>> QualityCode.Error_TimeoutExpired.getCode()
-1073741049
>>> QualityCode.Error_Exception.getCode()
-1073741048

Very handy to us as developers of a custom SparkPlug edge device since we can only push quality codes in integer form and want them to be meaningful in Ignition.