mod_BranchDevice.cpp 747 B

12345678910111213141516171819202122232425262728
  1. // mod_BranchDevice.cpp : 定义 DLL 应用程序的导出函数。
  2. //
  3. #include "stdafx.h"
  4. #include "mod_BranchDevice.h"
  5. void CBranchDeviceServerSession::Handle_OpCmd(SpReqAnsContext<BranchDeviceService_OpCmd_Req,
  6. BranchDeviceService_OpCmd_Ans>::Pointer ctx)
  7. {
  8. LOG_FUNCTION();
  9. m_pEntity->OpenCMD(ctx);
  10. }
  11. void CBranchDeviceServerSession::Handle_Exit(SpOnewayCallContext<BranchDeviceService_Exit_Info>::Pointer ctx)
  12. {
  13. //LOG_FUNCTION();
  14. //m_pEntity->Exit(ctx);
  15. }
  16. void CBranchDeviceServerSession::Handle_GetDevInfo(SpReqAnsContext<BranchDeviceService_GetDevInfo_Req, BranchDeviceService_GetDevInfo_Ans>::Pointer ctx)
  17. {
  18. LOG_FUNCTION();
  19. m_pEntity->GetDevInfo(ctx);
  20. }
  21. SP_BEGIN_ENTITY_MAP()
  22. SP_ENTITY(CBranchDeviceEntity)
  23. SP_END_ENTITY_MAP()