|
@@ -23,9 +23,7 @@ public:
|
|
|
virtual void Handle_UpdateWK(SpOnewayCallContext<AccessAuthService_UpdateWK_Info>::Pointer ctx);
|
|
|
virtual void Handle_InitializeNew(SpReqAnsContext<AccessAuthService_InitializeNew_Req, AccessAuthService_InitializeNew_Ans>::Pointer ctx);
|
|
|
virtual void Handle_InitDev(SpReqAnsContext<AccessAuthService_InitDev_Req, AccessAuthService_InitDev_Ans>::Pointer ctx);
|
|
|
-#ifdef RVC_OS_WIN
|
|
|
virtual void Handle_GetNetMsg(SpReqAnsContext<AccessAuthService_GetNetMsg_Req, AccessAuthService_GetNetMsg_Ans>::Pointer ctx);
|
|
|
-#endif // RVC_OS_WIN
|
|
|
private:
|
|
|
CAccessAuthEntity *m_pEntity;
|
|
|
};
|
|
@@ -60,7 +58,54 @@ public:
|
|
|
{
|
|
|
LOG_FUNCTION();
|
|
|
|
|
|
- ErrorCodeEnum result(Error_Succeed);
|
|
|
+ ErrorCodeEnum result(Error_DataCheck);
|
|
|
+ do
|
|
|
+ {
|
|
|
+ if (m_FSM.RtsMapToUserCode("RTS1705", 0) != m_FSM.RtsMapToUserCodeBakup("RTS1705", 0)) {
|
|
|
+ DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM)("%d", __LINE__);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ if (m_FSM.RtsMapToUserCode("RTS1707", 0) != m_FSM.RtsMapToUserCodeBakup("RTS1707", 0)) {
|
|
|
+ DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM)("%d", __LINE__);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ if (m_FSM.RtsMapToUserCode("RTS1711", 0) != m_FSM.RtsMapToUserCodeBakup("RTS1711", 0)) {
|
|
|
+ DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM)("%d", __LINE__);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ if (m_FSM.RtsMapToUserCode("RTS1712", 0) != m_FSM.RtsMapToUserCodeBakup("RTS1712", 0)) {
|
|
|
+ DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM)("%d", __LINE__);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ if (m_FSM.RtsMapToUserCode("RTS1713", 0) != m_FSM.RtsMapToUserCodeBakup("RTS1713", 0)) {
|
|
|
+ DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM)("%d", __LINE__);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ if (m_FSM.RtsMapToUserCode("RTS1714", 0) != m_FSM.RtsMapToUserCodeBakup("RTS1714", 0)) {
|
|
|
+ DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM)("%d", __LINE__);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ if (m_FSM.RtsMapToUserCode("RTS1715", 0) != m_FSM.RtsMapToUserCodeBakup("RTS1715", 0)) {
|
|
|
+ DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM)("%d", __LINE__);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ if (m_FSM.RtsMapToUserCode("RTS1716", 0) != m_FSM.RtsMapToUserCodeBakup("RTS1716", 0)) {
|
|
|
+ DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM)("%d", __LINE__);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ if (m_FSM.RtsMapToUserCode("RTS1717", 1) == m_FSM.RtsMapToUserCodeBakup("RTS1717", 0)) {
|
|
|
+ DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM)("%d", __LINE__);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ if (m_FSM.RtsMapToUserCode("RTS1715", 0) == m_FSM.RtsMapToUserCodeBakup("RTS1707", 0)) {
|
|
|
+ DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM)("%d", __LINE__);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ result = Error_Succeed;
|
|
|
+
|
|
|
+ } while (false);
|
|
|
+
|
|
|
pTransactionContext->SendAnswer(result);
|
|
|
}
|
|
|
|