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_statusint

Current status of the TWIN model

twin_runtimeTwinRuntime

TwinRuntime instance associated to the TWIN model

method_namestr

Name of the method being executed when the TWIN’s status is evaluated