|
@@ -1928,104 +1928,6 @@ public:
|
|
|
return Error;
|
|
|
}
|
|
|
|
|
|
- ErrorCodeEnum SetMaterialCountJS(CardIssuerStoreService_SetMaterialCountJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
|
|
|
- {
|
|
|
- CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
|
|
|
- CAutoBuffer Buf = SpObject2Buffer(Req);
|
|
|
- if (m_context.checkEmpty())
|
|
|
- {
|
|
|
- m_context.AutoGenerate();
|
|
|
- DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
|
|
|
- m_context = m_context.upgradeLink();
|
|
|
- }
|
|
|
- auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_SetMaterialCountJS, CardIssuerStoreService_MethodSignature_SetMaterialCountJS, Buf, spAsyncWait, m_context, dwTimeout);
|
|
|
- m_context.clear();
|
|
|
- return ret;
|
|
|
- }
|
|
|
- ErrorCodeEnum SetMaterialCountJS(CardIssuerStoreService_SetMaterialCountJS_Req &Req, CardIssuerStoreService_SetMaterialCountJS_Ans &Ans, DWORD dwTimeout)
|
|
|
- {
|
|
|
- CSmartPointer<IAsynWaitSp> spAsyncWait;
|
|
|
- ErrorCodeEnum Error = SetMaterialCountJS(Req, spAsyncWait, dwTimeout);
|
|
|
- if (Error == Error_Succeed) {
|
|
|
- bool bEnd = false;
|
|
|
- Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
|
|
|
- LOG_ASSERT(Error || bEnd);
|
|
|
- }
|
|
|
- return Error;
|
|
|
- }
|
|
|
- ErrorCodeEnum SetMaterialCountJS(CardIssuerStoreService_SetMaterialCountJS_Req &Req, CardIssuerStoreService_SetMaterialCountJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
|
|
|
- {
|
|
|
- CSmartPointer<IAsynWaitSp> spAsyncWait;
|
|
|
- ErrorCodeEnum Error = SetMaterialCountJS(Req, spAsyncWait, dwTimeout);
|
|
|
- if (Error == Error_Succeed) {
|
|
|
- bool bEnd = false;
|
|
|
- Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
|
|
|
- LOG_ASSERT(Error || bEnd);
|
|
|
- }
|
|
|
- return Error;
|
|
|
- }
|
|
|
- ErrorCodeEnum SetMaterialCountJS(CardIssuerStoreService_SetMaterialCountJS_Req &Req, CardIssuerStoreService_SetMaterialCountJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
|
|
|
- {
|
|
|
- CSmartPointer<IAsynWaitSp> spAsyncWait;
|
|
|
- ErrorCodeEnum Error = SetMaterialCountJS(Req, spAsyncWait, dwTimeout);
|
|
|
- if (Error == Error_Succeed) {
|
|
|
- bool bEnd = false;
|
|
|
- CSimpleString str;
|
|
|
- Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
|
|
|
- LOG_ASSERT(Error || bEnd);
|
|
|
- }
|
|
|
- return Error;
|
|
|
- }
|
|
|
-
|
|
|
- ErrorCodeEnum GetMaterialCountJS(CardIssuerStoreService_GetMaterialCountJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
|
|
|
- {
|
|
|
- CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
|
|
|
- CAutoBuffer Buf = SpObject2Buffer(Req);
|
|
|
- if (m_context.checkEmpty())
|
|
|
- {
|
|
|
- m_context.AutoGenerate();
|
|
|
- DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
|
|
|
- m_context = m_context.upgradeLink();
|
|
|
- }
|
|
|
- auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_GetMaterialCountJS, CardIssuerStoreService_MethodSignature_GetMaterialCountJS, Buf, spAsyncWait, m_context, dwTimeout);
|
|
|
- m_context.clear();
|
|
|
- return ret;
|
|
|
- }
|
|
|
- ErrorCodeEnum GetMaterialCountJS(CardIssuerStoreService_GetMaterialCountJS_Req &Req, CardIssuerStoreService_GetMaterialCountJS_Ans &Ans, DWORD dwTimeout)
|
|
|
- {
|
|
|
- CSmartPointer<IAsynWaitSp> spAsyncWait;
|
|
|
- ErrorCodeEnum Error = GetMaterialCountJS(Req, spAsyncWait, dwTimeout);
|
|
|
- if (Error == Error_Succeed) {
|
|
|
- bool bEnd = false;
|
|
|
- Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
|
|
|
- LOG_ASSERT(Error || bEnd);
|
|
|
- }
|
|
|
- return Error;
|
|
|
- }
|
|
|
- ErrorCodeEnum GetMaterialCountJS(CardIssuerStoreService_GetMaterialCountJS_Req &Req, CardIssuerStoreService_GetMaterialCountJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
|
|
|
- {
|
|
|
- CSmartPointer<IAsynWaitSp> spAsyncWait;
|
|
|
- ErrorCodeEnum Error = GetMaterialCountJS(Req, spAsyncWait, dwTimeout);
|
|
|
- if (Error == Error_Succeed) {
|
|
|
- bool bEnd = false;
|
|
|
- Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
|
|
|
- LOG_ASSERT(Error || bEnd);
|
|
|
- }
|
|
|
- return Error;
|
|
|
- }
|
|
|
- ErrorCodeEnum GetMaterialCountJS(CardIssuerStoreService_GetMaterialCountJS_Req &Req, CardIssuerStoreService_GetMaterialCountJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
|
|
|
- {
|
|
|
- CSmartPointer<IAsynWaitSp> spAsyncWait;
|
|
|
- ErrorCodeEnum Error = GetMaterialCountJS(Req, spAsyncWait, dwTimeout);
|
|
|
- if (Error == Error_Succeed) {
|
|
|
- bool bEnd = false;
|
|
|
- CSimpleString str;
|
|
|
- Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
|
|
|
- LOG_ASSERT(Error || bEnd);
|
|
|
- }
|
|
|
- return Error;
|
|
|
- }
|
|
|
-
|
|
|
ErrorCodeEnum SAMICCommandJS(CardIssuerStoreService_SAMICCommandJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
|
|
|
{
|
|
|
CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
|