evaluate_twin_status#
- static TwinRuntime.evaluate_twin_status(twin_status, twin_runtime, method_name)#
Returns the current status message associated to the TWIN if its status is TWIN_STATUS_WARNING. Raises a TwinRuntimeError if the TWIN’s status is TWIN_STATUS_ERROR or TWIN_STATUS_FATAL.
- Parameters:
- twin_status
int
Current status of the TWIN model
- twin_runtime
TwinRuntime
TwinRuntime instance associated to the TWIN model
- method_name
str
Name of the method being executed when the TWIN’s status is evaluated
- twin_status