[6.7.0][FSM] feat:完善 FSM 相关状态逻辑;

This commit is contained in:
aibingbing
2024-09-12 19:12:44 +08:00
parent 2a80dca6fd
commit b40b74dbf4
11 changed files with 316 additions and 19 deletions

View File

@@ -166,6 +166,8 @@ 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)
}
/**