|
|
@@ -274,6 +274,7 @@ public:
|
|
|
ctx.Attach(new SpReqAnsContext<PortableScannerService_BindCameraDevice_Req,PortableScannerService_BindCameraDevice_Ans>(pTransactionContext));
|
|
|
SpBuffer2Object(Buf, ctx->Req);
|
|
|
pTransactionContext->GetLinkContext(ctx->link);
|
|
|
+ EntityResource::setLink(ctx->link);
|
|
|
Handle_BindCameraDevice(ctx);
|
|
|
}
|
|
|
break;
|
|
|
@@ -283,6 +284,7 @@ public:
|
|
|
ctx.Attach(new SpOnewayCallContext<PortableScannerService_DropOffDevice_Info>());
|
|
|
SpBuffer2Object(Buf, ctx->Info);
|
|
|
pTransactionContext->GetLinkContext(ctx->link);
|
|
|
+ EntityResource::setLink(ctx->link);
|
|
|
Handle_DropOffDevice(ctx);
|
|
|
}
|
|
|
break;
|
|
|
@@ -292,6 +294,7 @@ public:
|
|
|
ctx.Attach(new SpReqAnsContext<PortableScannerService_StartPreview_Req,PortableScannerService_StartPreview_Ans>(pTransactionContext));
|
|
|
SpBuffer2Object(Buf, ctx->Req);
|
|
|
pTransactionContext->GetLinkContext(ctx->link);
|
|
|
+ EntityResource::setLink(ctx->link);
|
|
|
Handle_StartPreview(ctx);
|
|
|
}
|
|
|
break;
|
|
|
@@ -301,6 +304,7 @@ public:
|
|
|
ctx.Attach(new SpReqAnsContext<PortableScannerService_CancelPreview_Req,PortableScannerService_CancelPreview_Ans>(pTransactionContext));
|
|
|
SpBuffer2Object(Buf, ctx->Req);
|
|
|
pTransactionContext->GetLinkContext(ctx->link);
|
|
|
+ EntityResource::setLink(ctx->link);
|
|
|
Handle_CancelPreview(ctx);
|
|
|
}
|
|
|
break;
|
|
|
@@ -310,6 +314,7 @@ public:
|
|
|
ctx.Attach(new SpReqAnsContext<PortableScannerService_ScanImage_Req,PortableScannerService_ScanImage_Ans>(pTransactionContext));
|
|
|
SpBuffer2Object(Buf, ctx->Req);
|
|
|
pTransactionContext->GetLinkContext(ctx->link);
|
|
|
+ EntityResource::setLink(ctx->link);
|
|
|
Handle_ScanImage(ctx);
|
|
|
}
|
|
|
break;
|
|
|
@@ -319,6 +324,7 @@ public:
|
|
|
ctx.Attach(new SpReqAnsContext<PortableScannerService_ScanImageEx_Req,PortableScannerService_ScanImageEx_Ans>(pTransactionContext));
|
|
|
SpBuffer2Object(Buf, ctx->Req);
|
|
|
pTransactionContext->GetLinkContext(ctx->link);
|
|
|
+ EntityResource::setLink(ctx->link);
|
|
|
Handle_ScanImageEx(ctx);
|
|
|
}
|
|
|
break;
|
|
|
@@ -328,6 +334,7 @@ public:
|
|
|
ctx.Attach(new SpReqAnsContext<PortableScannerService_SetProperty_Req,PortableScannerService_SetProperty_Ans>(pTransactionContext));
|
|
|
SpBuffer2Object(Buf, ctx->Req);
|
|
|
pTransactionContext->GetLinkContext(ctx->link);
|
|
|
+ EntityResource::setLink(ctx->link);
|
|
|
Handle_SetProperty(ctx);
|
|
|
}
|
|
|
break;
|
|
|
@@ -337,6 +344,7 @@ public:
|
|
|
ctx.Attach(new SpReqAnsContext<PortableScannerService_SetWinPos_Req,PortableScannerService_SetWinPos_Ans>(pTransactionContext));
|
|
|
SpBuffer2Object(Buf, ctx->Req);
|
|
|
pTransactionContext->GetLinkContext(ctx->link);
|
|
|
+ EntityResource::setLink(ctx->link);
|
|
|
Handle_SetWinPos(ctx);
|
|
|
}
|
|
|
break;
|
|
|
@@ -346,6 +354,7 @@ public:
|
|
|
ctx.Attach(new SpReqAnsContext<PortableScannerService_ShowProperty_Req,PortableScannerService_ShowProperty_Ans>(pTransactionContext));
|
|
|
SpBuffer2Object(Buf, ctx->Req);
|
|
|
pTransactionContext->GetLinkContext(ctx->link);
|
|
|
+ EntityResource::setLink(ctx->link);
|
|
|
Handle_ShowProperty(ctx);
|
|
|
}
|
|
|
break;
|
|
|
@@ -355,6 +364,7 @@ public:
|
|
|
ctx.Attach(new SpReqAnsContext<PortableScannerService_GetDevStatus_Req,PortableScannerService_GetDevStatus_Ans>(pTransactionContext));
|
|
|
SpBuffer2Object(Buf, ctx->Req);
|
|
|
pTransactionContext->GetLinkContext(ctx->link);
|
|
|
+ EntityResource::setLink(ctx->link);
|
|
|
Handle_GetDevStatus(ctx);
|
|
|
}
|
|
|
break;
|
|
|
@@ -364,6 +374,7 @@ public:
|
|
|
ctx.Attach(new SpReqAnsContext<PortableScannerService_GetDevInfo_Req,PortableScannerService_GetDevInfo_Ans>(pTransactionContext));
|
|
|
SpBuffer2Object(Buf, ctx->Req);
|
|
|
pTransactionContext->GetLinkContext(ctx->link);
|
|
|
+ EntityResource::setLink(ctx->link);
|
|
|
Handle_GetDevInfo(ctx);
|
|
|
}
|
|
|
break;
|
|
|
@@ -373,6 +384,7 @@ public:
|
|
|
ctx.Attach(new SpOnewayCallContext<PortableScannerService_Exit_Info>());
|
|
|
SpBuffer2Object(Buf, ctx->Info);
|
|
|
pTransactionContext->GetLinkContext(ctx->link);
|
|
|
+ EntityResource::setLink(ctx->link);
|
|
|
Handle_Exit(ctx);
|
|
|
}
|
|
|
break;
|