/* ------------------------------------------------------------------------- // 文件名 : Tab_i.h // 创建者 : xiaojihzou // 创建时间 : 2006-9-7 // 功能描述 : Table Operation Interface // // -----------------------------------------------------------------------*/ #include "stdafx.h" extern "C" _declspec(dllexport) bool TAB_InitTAB(HWND hWnd); extern "C" _declspec(dllexport) bool TAB_ExitTAB(); extern "C" _declspec(dllexport) bool TAB_ECHO(); extern "C" _declspec(dllexport) bool TAB_GetVersion(); extern "C" _declspec(dllexport) bool TAB_GetGridType(); extern "C" _declspec(dllexport) bool TAB_LampOn(); //set collimator size extern "C" _declspec(dllexport) bool TAB_SetCollimator(ECOM_HW_COLLIMATOR curCollimator); extern "C" _declspec(dllexport) bool TAB_GetCollimator(); //Set SID extern "C" _declspec(dllexport) bool TAB_SetSID(int nSID); extern "C" _declspec(dllexport) bool TAB_GetSID(); //filter 1,2,3, extern "C" _declspec(dllexport) bool TAB_SetFilter(int nfilter); extern "C" _declspec(dllexport) bool TAB_GetFilter(); //43 40 35 30 24 18 cm extern "C" _declspec(dllexport) bool TAB_SetStandPos(int nPos); extern "C" _declspec(dllexport) bool TAB_GetStandPos(); extern "C"_declspec(dllexport) bool TAB_SelectChannel(int nChannel); extern "C"_declspec(dllexport) bool TAB_QueryChannel(); extern "C"_declspec(dllexport) bool TAB_BeginStitching(); extern "C"_declspec(dllexport) bool TAB_EndStitching(); //notice the URS that the last acquired image is accepted by host. Move to the next stitching target position. extern "C" _declspec(dllexport) bool TAB_AcceptStitchingImage(); //notice the URS that the last acquired image is rejected by host. Keep current position. extern "C" _declspec(dllexport) bool TAB_RejectStitchingImage(); //Cancel stitching procedure. extern "C" _declspec(dllexport) bool TAB_CancelStitching(); //Note the URS that stitching is finished. extern "C" _declspec(dllexport) bool TAB_CompleteStitching(); //New extra view, request the positioner to move to a position to take an extra image. extern "C" _declspec(dllexport) bool TAB_NewExtraView(); //setup stitching, set the init parameters extern "C" _declspec(dllexport) bool TAB_SetupStitching(int nStitchingHeight, int nLength, int nOverlap, int nSID, int nProjectionCode, int nDirection, int nOverlapType); extern "C" _declspec(dllexport) bool TAB_SetupProcedure(int nExamCode,int nProjectionCode); extern "C" _declspec(dllexport) bool TAB_SetFilter(int nFilterType); extern "C"_declspec(dllexport) bool TAB_ParkGrid(int bGridType); //extern "C" _declspec(dllexport) bool TAB_SetGrid(int nGridType); extern "C" _declspec(dllexport) bool TAB_PowerDownURS(); extern "C" _declspec(dllexport) bool TAB_SetPatientInfo(ECOM_PATIENT PatientInfo); extern "C" _declspec(dllexport) bool TAB_SetStudyInfo(ECOM_STUDY StudyInfo); extern "C"_declspec(dllexport) bool TAB_RespondTable(int nReady);