[8.1.0][data-center] SSM超时/恢复消息盒子提示功能注释
This commit is contained in:
@@ -1456,29 +1456,29 @@ class MoGoAdasListenerImpl : OnAdasListener {
|
||||
*/
|
||||
override fun onNodeStateInfo(stateInfo: NodeStateInfo) {
|
||||
CallerNodeStateListenerManager.invokeNodeState(stateInfo)
|
||||
if (stateInfo.existState != null) {
|
||||
if (stateInfo.nodeName == AdasConstants.NodeName.SSM) {
|
||||
//域控SSM接口接收是否超时
|
||||
if (stateInfo.existState == NodeExistState.NODE_EXIST_TIMEOUT) {
|
||||
CallerMsgBoxManager.saveMsgBox(
|
||||
MsgBoxBean(
|
||||
MsgBoxType.SSMINFO,
|
||||
SSMMsg(0, "连接超时", "SSM超时无响应", System.currentTimeMillis())
|
||||
)
|
||||
)
|
||||
} else {
|
||||
CallerMsgBoxManager.saveMsgBox(
|
||||
MsgBoxBean(
|
||||
MsgBoxType.SSMINFO,
|
||||
SSMMsg(0, "连接恢复", "SSM连接恢复", System.currentTimeMillis())
|
||||
)
|
||||
)
|
||||
}
|
||||
} else if (stateInfo.nodeName == AdasConstants.NodeName.FSM2024) {
|
||||
//域控FSM接口接收是否超时
|
||||
// (stateInfo.existState == NodeExistState.NODE_EXIST_TIMEOUT)
|
||||
}
|
||||
}
|
||||
// if (stateInfo.existState != null) {
|
||||
// if (stateInfo.nodeName == AdasConstants.NodeName.SSM) {
|
||||
// //域控SSM接口接收是否超时
|
||||
// if (stateInfo.existState == NodeExistState.NODE_EXIST_TIMEOUT) {
|
||||
// CallerMsgBoxManager.saveMsgBox(
|
||||
// MsgBoxBean(
|
||||
// MsgBoxType.SSMINFO,
|
||||
// SSMMsg(0, "连接超时", "SSM超时无响应", System.currentTimeMillis())
|
||||
// )
|
||||
// )
|
||||
// } else {
|
||||
// CallerMsgBoxManager.saveMsgBox(
|
||||
// MsgBoxBean(
|
||||
// MsgBoxType.SSMINFO,
|
||||
// SSMMsg(0, "连接恢复", "SSM连接恢复", System.currentTimeMillis())
|
||||
// )
|
||||
// )
|
||||
// }
|
||||
// } else if (stateInfo.nodeName == AdasConstants.NodeName.FSM2024) {
|
||||
// //域控FSM接口接收是否超时
|
||||
//// (stateInfo.existState == NodeExistState.NODE_EXIST_TIMEOUT)
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user