Parcourir la source

#IQRV #comment [Module]更新资源监控实体的部分返回错误码

gifur il y a 4 ans
Parent
commit
bd846532da
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      Module/mod_ResourceWatcher/ResourceWatcherFSM.cpp

+ 3 - 3
Module/mod_ResourceWatcher/ResourceWatcherFSM.cpp

@@ -221,7 +221,7 @@ unsigned int ResourceWatcherFSM::s1_on_event(FSMEvent* e)
 			else
 			{
 				Dbg("In Not Pad MachineType, Receive Query CardSwiper Status Event");
-				fetchEvt->ctx->Answer(Error_InvalidState);
+				fetchEvt->ctx->Answer(Error_NotSupport);
 			}
 			e->SetHandled();
 		}
@@ -312,7 +312,7 @@ unsigned int ResourceWatcherFSM::s2_on_event(FSMEvent* e)
 			else
 			{
 				Dbg("In Not Pad MachineType, Receive Query CardSwiper Status Event");
-				fetchEvt->ctx->Answer(Error_InvalidState);
+				fetchEvt->ctx->Answer(Error_NotSupport);
 			}
 			e->SetHandled();
 		}
@@ -376,7 +376,7 @@ unsigned int ResourceWatcherFSM::s3_on_event(FSMEvent* e)
 			else
 			{
 				Dbg("In Not Pad MachineType, Receive Query CardSwiper Status Event");
-				fetchEvt->ctx->Answer(Error_InvalidState);
+				fetchEvt->ctx->Answer(Error_NotSupport);
 			}
 			e->SetHandled();
 		}