|
@@ -1952,6 +1952,32 @@ struct QuickSelfcheckTask : public ITaskSp
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+struct GetCardInStoreJSTask : public ITaskSp
|
|
|
+{
|
|
|
+ CCardIssuerFSM* fsm;
|
|
|
+ SpReqAnsContext<CardIssuerStoreService_GetCardInStoreJS_Req, CardIssuerStoreService_GetCardInStoreJS_Ans>::Pointer ctx;
|
|
|
+ GetCardInStoreJSTask(CCardIssuerFSM* f) : fsm(f) { ctx = NULL; }
|
|
|
+ void Process()
|
|
|
+ {
|
|
|
+ if (ctx != NULL) {
|
|
|
+ fsm->GetCardInStoreJS(ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
+struct QueryHasCardJSTask : public ITaskSp
|
|
|
+{
|
|
|
+ CCardIssuerFSM* fsm;
|
|
|
+ SpReqAnsContext<CardIssuerStoreService_QueryHasCardJS_Req, CardIssuerStoreService_QueryHasCardJS_Ans>::Pointer ctx;
|
|
|
+ QueryHasCardJSTask(CCardIssuerFSM* f) : fsm(f) { ctx = NULL; }
|
|
|
+ void Process()
|
|
|
+ {
|
|
|
+ if (ctx != NULL) {
|
|
|
+ fsm->QueryHasCardJS(ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
|
|
|
#pragma endregion JS接口 工作线程
|
|
|
|