[8.1.0][data-center] SSM超时/恢复消息盒子提示功能注释

This commit is contained in:
xinfengkun
2025-06-20 14:50:23 +08:00
parent 53508bd265
commit d1c934b216

View File

@@ -1456,29 +1456,29 @@ class MoGoAdasListenerImpl : OnAdasListener {
*/ */
override fun onNodeStateInfo(stateInfo: NodeStateInfo) { override fun onNodeStateInfo(stateInfo: NodeStateInfo) {
CallerNodeStateListenerManager.invokeNodeState(stateInfo) CallerNodeStateListenerManager.invokeNodeState(stateInfo)
if (stateInfo.existState != null) { // if (stateInfo.existState != null) {
if (stateInfo.nodeName == AdasConstants.NodeName.SSM) { // if (stateInfo.nodeName == AdasConstants.NodeName.SSM) {
//域控SSM接口接收是否超时 // //域控SSM接口接收是否超时
if (stateInfo.existState == NodeExistState.NODE_EXIST_TIMEOUT) { // if (stateInfo.existState == NodeExistState.NODE_EXIST_TIMEOUT) {
CallerMsgBoxManager.saveMsgBox( // CallerMsgBoxManager.saveMsgBox(
MsgBoxBean( // MsgBoxBean(
MsgBoxType.SSMINFO, // MsgBoxType.SSMINFO,
SSMMsg(0, "连接超时", "SSM超时无响应", System.currentTimeMillis()) // SSMMsg(0, "连接超时", "SSM超时无响应", System.currentTimeMillis())
) // )
) // )
} else { // } else {
CallerMsgBoxManager.saveMsgBox( // CallerMsgBoxManager.saveMsgBox(
MsgBoxBean( // MsgBoxBean(
MsgBoxType.SSMINFO, // MsgBoxType.SSMINFO,
SSMMsg(0, "连接恢复", "SSM连接恢复", System.currentTimeMillis()) // SSMMsg(0, "连接恢复", "SSM连接恢复", System.currentTimeMillis())
) // )
) // )
} // }
} else if (stateInfo.nodeName == AdasConstants.NodeName.FSM2024) { // } else if (stateInfo.nodeName == AdasConstants.NodeName.FSM2024) {
//域控FSM接口接收是否超时 // //域控FSM接口接收是否超时
// (stateInfo.existState == NodeExistState.NODE_EXIST_TIMEOUT) //// (stateInfo.existState == NodeExistState.NODE_EXIST_TIMEOUT)
} // }
} // }
} }
/** /**