[6.7.0][FSM] refactor: 调整逻辑;

This commit is contained in:
aibingbing
2024-09-13 19:13:31 +08:00
parent 109a5d5e0d
commit b64fc97129
3 changed files with 36 additions and 24 deletions

View File

@@ -167,7 +167,10 @@ class FSMStatus(var state: FSMStateCode, var desc: String = ""): Status(), IAuto
override fun isException(): Boolean = state == FSMStateCode.ExistError
fun hasFSMModule(): Boolean = (state == FSMStateCode.ExistNormal) || (state == FSMStateCode.ExistError)
/**
* 是否有 FSM 模块Unknown展示 FSM 样式,算存在
*/
fun hasFSMModule(): Boolean = (state == FSMStateCode.UnKnown) || (state == FSMStateCode.ExistNormal) || (state == FSMStateCode.ExistError)
}
/**