Tab_i.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /* -------------------------------------------------------------------------
  2. // 文件名 : Tab_i.h
  3. // 创建者 : xiaojihzou
  4. // 创建时间 : 2006-9-7
  5. // 功能描述 : Table Operation Interface
  6. //
  7. // -----------------------------------------------------------------------*/
  8. #include "stdafx.h"
  9. extern "C" _declspec(dllexport) bool TAB_InitTAB(HWND hWnd);
  10. extern "C" _declspec(dllexport) bool TAB_ExitTAB();
  11. extern "C" _declspec(dllexport) bool TAB_ECHO();
  12. extern "C" _declspec(dllexport) bool TAB_GetVersion();
  13. extern "C" _declspec(dllexport) bool TAB_GetGridType();
  14. extern "C" _declspec(dllexport) bool TAB_LampOn();
  15. //set collimator size
  16. extern "C" _declspec(dllexport) bool TAB_SetCollimator(ECOM_HW_COLLIMATOR curCollimator);
  17. extern "C" _declspec(dllexport) bool TAB_GetCollimator();
  18. //Set SID
  19. extern "C" _declspec(dllexport) bool TAB_SetSID(int nSID);
  20. extern "C" _declspec(dllexport) bool TAB_GetSID();
  21. //filter 1,2,3,
  22. extern "C" _declspec(dllexport) bool TAB_SetFilter(int nfilter);
  23. extern "C" _declspec(dllexport) bool TAB_GetFilter();
  24. //43 40 35 30 24 18 cm
  25. extern "C" _declspec(dllexport) bool TAB_SetStandPos(int nPos);
  26. extern "C" _declspec(dllexport) bool TAB_GetStandPos();
  27. extern "C"_declspec(dllexport) bool TAB_SelectChannel(int nChannel);
  28. extern "C"_declspec(dllexport) bool TAB_QueryChannel();
  29. extern "C"_declspec(dllexport) bool TAB_BeginStitching();
  30. extern "C"_declspec(dllexport) bool TAB_EndStitching();
  31. //notice the URS that the last acquired image is accepted by host. Move to the next stitching target position.
  32. extern "C" _declspec(dllexport) bool TAB_AcceptStitchingImage();
  33. //notice the URS that the last acquired image is rejected by host. Keep current position.
  34. extern "C" _declspec(dllexport) bool TAB_RejectStitchingImage();
  35. //Cancel stitching procedure.
  36. extern "C" _declspec(dllexport) bool TAB_CancelStitching();
  37. //Note the URS that stitching is finished.
  38. extern "C" _declspec(dllexport) bool TAB_CompleteStitching();
  39. //New extra view, request the positioner to move to a position to take an extra image.
  40. extern "C" _declspec(dllexport) bool TAB_NewExtraView();
  41. //setup stitching, set the init parameters
  42. extern "C" _declspec(dllexport) bool TAB_SetupStitching(int nStitchingHeight, int nLength, int nOverlap, int nSID, int nProjectionCode, int nDirection, int nOverlapType);
  43. extern "C" _declspec(dllexport) bool TAB_SetupProcedure(int nExamCode,int nProjectionCode);
  44. extern "C" _declspec(dllexport) bool TAB_SetFilter(int nFilterType);
  45. extern "C"_declspec(dllexport) bool TAB_ParkGrid(int bGridType);
  46. //extern "C" _declspec(dllexport) bool TAB_SetGrid(int nGridType);
  47. extern "C" _declspec(dllexport) bool TAB_PowerDownURS();
  48. extern "C" _declspec(dllexport) bool TAB_SetPatientInfo(ECOM_PATIENT PatientInfo);
  49. extern "C" _declspec(dllexport) bool TAB_SetStudyInfo(ECOM_STUDY StudyInfo);
  50. extern "C"_declspec(dllexport) bool TAB_RespondTable(int nReady);