Browse Source

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

gifur 4 năm trước cách đây
mục cha
commit
bd846532da
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  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();
 		}