constructor cr state setup head desc add support decis uml decis state machin set threshold state threshold add trigger substat 