|
@@ -893,7 +893,14 @@ unsigned int CAccessAuthFSM::s2_on_event(FSMEvent* pEvent)
|
|
|
void CAccessAuthFSM::s3_on_entry()
|
|
|
{
|
|
|
LOG_FUNCTION();
|
|
|
- LogWarn(Severity_Low, Error_Debug, AccessAuthorization_UserErrorCode_Start, "终端准入成功");
|
|
|
+ CSystemStaticInfo si;
|
|
|
+ m_pEntity->GetFunction()->GetSystemStaticInfo(si);
|
|
|
+ if (si.InstallVersion.ToString().IsNullOrEmpty()) {
|
|
|
+ LogWarn(Severity_Low, Error_Debug, AccessAuthorization_UserErrorCode_Start, "终端准入成功");
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ LogWarn(Severity_Low, Error_Debug, AccessAuthorization_UserErrorCode_Start, CSimpleStringA::Format("终端准入成功,版本: %s", si.InstallVersion.ToString().GetData()));
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
unsigned int CAccessAuthFSM::s3_on_event(FSMEvent* event)
|