123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- #ifndef PZMEDICALLIB_H
- #define PZMEDICALLIB_H
- #include "NetCom.h"
- //----------------- Initialization and image acquisition process
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_Init)();// Initialize the configurations, network resource and environment for SDK.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_List)(TComFpList*);//Get a list which include all connected detector, struct “TComFpList” is defined in the next chapter.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_ListAdd)(CHAR* psn);//Add detecotr to the detector list
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_ListDel)(CHAR* psn);// Delete detector from the detector list
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_ListClr)();//: Clear detector list
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_Open)(CHAR* psn);// Try to connect detector, if the detector is connected, you will get a “Link up” event after calling it
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_Close)();
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_StopNet)();//Stop the network, you will get a “Link down” event 6 seconds later. Calling it when you need to change network configuration.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_StartNet)();//Start the network, you will get a “Link up” event after calling it. Calling it together with COM_StopNet and after network configure done
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_RegisterEvCallBack)(CHAR, FP_EVENT_CALLBACK);
- //EVENT_LINKUP:detector connected after COM_Open being called.
- //EVENT_LINKDOWN:detector disconnected after COM_Open being called.
- //EVENT_IMAGEVALID:image received.
- //EVENT_HEARTBEAT: heart beat received after COM_Open being called.
- //EVENT_LINKUPEX:detector connected, used in multiple detectors situation.
- //EVENT_LINKDOWNEX:detector disconnected, used in multiple situation.
- //EVENT_HEARTBEATEX:heart beat received, used in multiple situation.
- //EVENT_EXPOSE : X - ray detected.
- //EVENT_EXPEND:X - ray end.
- //EVENT_READY: detector is ready for exposue, effective in HST mode, after COM_ExposeReq being called.
- //EVENT_AED_A1:detector come to AED1 state, effective in AED mode
- //EVENT_AED_A2:detector come to AED2 stateand ready for exposure, effective in AED mode
- //EVENT_AEC_STOP : the Aec stops.
- //EVENT_OFFSETDONE : The offset template in the FP has been refreshed, and the event will only be triggered by sending the prep command.
- //EVENT_AED_PREP_DONE:When the COM_AedPrep interface is called, the fp sends the eventand returns to the idle state after performing the preparation.
- //EVENT_INFO_MODIFIED : When the FP configuration is changed by NFC, the FP immediately sends this EVENT to notify the top user.In this event, we can call the interface(COM_GetInfoModified)to get the information about the modification.
- //EVENT_UPLOADFILESTEP:Related event callbacks generated during the process of uploading template files.
- //EVENT_IMAGESTART:The event of start to transmit image data.
- //EVENT_IMAGEEND : The event of end to transmit image data.
- //EVENT_BATTLOW1 : Low battery alarm event.
- //EVENT_BATTLOW2 : Low battery alarm event.The remaining battery power is smaller than the EVENT_BATTLOW1 event
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetPreCalibMode)(CHAR nCalMode);// Set detector calibration mode, called before the image acquisition. After setting, the image received will be calibrated in this mode
- typedef __declspec(dllimport) CHAR(__stdcall* PZ_COM_GetPreCalibMode)();//get calibration mode from detector.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetCalibMode)(CHAR nCalMode);//Set SDK calibration mode, called before the image acquisition. After setting, the image received will be calibrated in this mode.
- typedef __declspec(dllimport) CHAR(__stdcall* PZ_COM_GetCalibMode)();//get calibration mode from SDK
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_HstAcq)();//切换到手动模式
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_Trigger)();//Acquire an image in HST mode, this command involve clearing TFT, updating offset calibration templateand acquiring image.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_Prep)();//刷暗场 In hst mode, trigger the FP to refresh the offset template(
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_Acq)();// Test command, Just acquire an image in HST mode
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_PrepAcq)();// Test command, Clear TFTand acquire an image in HST mode.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_ComAcq)(); //Test command, ask CB generate hand switch signals to simulate a true exposure request.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetAcq)();
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_ExposeReq)();// Acquire images as COM_Trigger, this command will generate ready event in HST mode.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_AedAcq)();//切换到AED工作模式
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_AedTrigger)();//Simulate an exposure. It is only effective in AED mode
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_AedPrep)();
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_Aed2Acq)();//The FP immediately enters the aed2 state.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_Stop)(); // 停止工作模式,进入空闲模式
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_Dst)();//Only for dynamic detector. Set detector to DST mode. It is only effective in Idle state.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_Dacq)();// Only for dynamic detector. Acquire images according to configures in DST mode.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_Cbct)();//Only for dynamic detector. Wait for trigger from input synchronization signals, acquire images in DST mode
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_Dexit)();//Only for dynamic detector. Stop acquisition or Cbct mode, make detector go to DST mode.It is only effective in DST / CBCT mode.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetImageMode)(TImageMode* ptImageMode); // Get image format, usually being called when image valid event comes
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetImageModeV)(TImageMode* ptImageMode);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetImageName)(CHAR* name);//:Memory address for storing image name, buffer should contain 256 bytes at least.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetImage)(CHAR*);//获取探测器原图
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetImageV)(CHAR*);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetImageID)(UINT32* pimgID);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_ResetFP)();//Reset the detector
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_FpTurnOff)();
- typedef __declspec(dllimport) INT32(__stdcall* PZ_COM_GetErrNo)();
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_AedAcqOffLine)();//The detector enters offline aed mode
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_AcqOffLineImage)();//Get Image taken offline.
- typedef __declspec(dllimport) UINT32(__stdcall* PZ_COM_GetNumOffLineImg)();
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetPreImg)();// Get the last image 无出参???用法不详
- //----------------- Configuration Related
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetCfgFilePath)(CHAR* path);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetFPConf)(TFPUserCfg* ptFpUserCfg);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetFPConf)(TFPUserCfg* ptFpUserCfg);//获取探测器配置信息
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetRBConf)(TRBConf* ptRbConf);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetRBConf)(TRBConf* ptRbConf);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetWifiMode)(BOOL ApMode);//Set detector wifi mode as AP or Station or turn off.
- typedef __declspec(dllimport) CHAR(__stdcall* PZ_COM_GetWifiMode)();
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetWifiConf)(TWifiConf* ptWifiConf);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetWifiConf)(TWifiConf* ptWifiConf);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetWifiConfEx)(TWifiConf* ptWifiConfAp, TWifiConf* ptWifiConfSta);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetWifiConfEx)(TWifiConf* ptWifiConfAp, TWifiConf* ptWifiConfSta);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetWifiCountry)(CHAR* pCountry);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetWifiCountry)(CHAR* pCountry);
- //Set wifi country of AP mode. The countries or regions that can be supported are shown in the table below.
- //00, AD, AE, AF, AI, AL, AM, AN, AR, AS, AT, AU, AW, AZ, BA, BB, BD, BE, BF, BG,
- //BH, BL, BM, BN, BO, BR, BS, BT, BY, BZ, CA, CF, CH, CI, CL, CN, CO, CR, CU, CX,
- //CY, CZ, DE, DK, DM, DO, DZ, EC, EE, EG, ES, ET, FI, FM, FR, GB, GD, GE, GF, GH,
- //GL, GP, GR, GT, GU, GY, HK, HN, HR, HT, HU, ID, IE, IL, IN, IR, IS, IT, JM, JO,
- //JP, KE, KH, KN, KP, KR, KW, KY, KZ, LB, LC, LI, LK, LS, LT, LU, LV, MA, MC, MD,
- //ME, MF, MH, MK, MN, MO, MP, MQ, MR, MT, MU, MV, MW, MX, MY, NG, NI, NL, NO, NP,
- //NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PR, PT, PW, PY, QA, RE, RO, RS, RU, RW,
- //SA, SE, SG, SI, SK, SN, SR, SV, SY, TC, TD, TG, TH, TN, TR, TT, TW, TZ, UA, UG,
- //US, UY, UZ, VC, VE, VI, VN, VU, WF, WS, YE, YT, ZA, ZW
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetApEssid)(CHAR* pessid);//Set wireless ESSID for detector
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetApEssid)(CHAR* pessid);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_DefFPConf)();//Detector configuration reset to factory default.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_DefRBConf)();
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetXwin)(USHORT xwin);//Set exposure window. Detector would not save this parameter.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetXwin)(USHORT* xwin);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetDynamicPara)(USHORT xwin, CHAR repeat, CHAR binMode);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetBinningMode)(CHAR cbinningMode);// Only for dynamic detector. Set bin mode to detector.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetBinningMode)(CHAR* cbinningMode);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetIfsRef)(CHAR cbinningMode, UCHAR cIfs, UCHAR cRef);// Set the ifs and ref values corresponding to the binning mode.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetIfsRef)(CHAR cbinningMode, UCHAR* cIfs, UCHAR* cRef);//cbinningMode can be BINNING_1x1, BINNING_2x2 etc.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetGainValue)(CHAR cbinningMode, UCHAR ucGain);//: Set gain level of image. ucGain: gain level, the value can be 0-5.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetGainValue)(CHAR cbinningMode, UCHAR* ucGain);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetPacketPauseTime)(USHORT pauseT_us);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetFPType)();
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetFPType)(CHAR ucFpType);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetFPLicense)(TLicenseInfo* tLicenseInfo);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetFpSelfStart)(CHAR enableflag);//Set the detector to automatically turn on after power on, 0:disable ,1:enable
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetFpTime2TurnOffAfterDisc)(UINT32 time_mins);//Set the detector to automatically shut down after time_mins minutes of disconnection.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetFpAutoAedOffline)(CHAR enableflag);//: Set the detector to automatically enter the AED off line mode after turning on
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetMetaData)(TMetaData tMetaData);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetMetaData)(TMetaData* ptMetaData);
- typedef __declspec(dllimport) UCHAR(__stdcall* PZ_COM_GetFpWorkState)();
- typedef __declspec(dllimport) UCHAR(__stdcall* PZ_COM_GetFpPendingState)();
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_ClearPendingState)();
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_TplPathSet)(CHAR* path);//: Specify指定 a template path.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_TplPathGet)(CHAR* path);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_ImgPathSet)(CHAR* path);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_ImgPathGet)(CHAR* path);//Get the directory path of image
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_LogPathSet)(CHAR* path);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_LogPathGet)(CHAR* path);//Get the directory path of log.
- typedef __declspec(dllimport) INT32(__stdcall* PZ_COM_BatLow1Get)();// Get the first battery low level power threshold.
- typedef __declspec(dllimport) INT32(__stdcall* PZ_COM_BatLow2Get)();//Get the second battery low level power threshold.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_BatLow1Set)(INT32 iBatLow);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_BatLow2Set)(INT32 iBatLow);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_DhcpActivate)(CHAR enableflag);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_DhcpSetCfg)(TDhcpCfg* tDhcpCfg);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_DhcpGetCfg)(TDhcpCfg* tDhcpCfg);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetFpIpNetmask)(UINT32 Ip, UINT32 netmask);//IP format: If the dotted decimal IP is “192.168.11.248”, then the 4-byte IP is 0xC0A80BF8. Netmaskand IP maintain the same format.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetSenValue)(USHORT senValue, CHAR* ppassword);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetSenValue)(USHORT* psenValue);//Get the Value of sensitivity. 敏感度
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetClientSn)(CHAR* pClientSn, CHAR* ppassword);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetClientSn)(CHAR* pClientSn);//: The buffer of Client SN. The buffer size is at least 32 bytes.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetClientPn)(CHAR* pClientPn, CHAR* ppassword);//The buffer of Client PN. The buffer size is 32 bytes.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetClientPn)(CHAR* pClientPn);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetNickname)(CHAR* pNickname);//The buffer of NickName. The buffer size is 32 bytes.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetNickname)(CHAR* pNickname);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetExtBattDefaultCapacity)(int iCapacity);//Set default capacity of external battery.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetExtBattDefaultCapacity)(int* piCapacity);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetAecEnable)(UINT16 aecGroup);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetAecThreshold)(CHAR aecNum, UINT16 valueset);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetInfoModified)(CHAR* pInfo);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_QuaternionActivate)(CHAR enableflag);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SdkLog)(BOOL on);//: Turn on or off the log recording function, calling it before COM_Init().
- //----------------- Calibration and Templates
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetAllTpl)();//: Load all the templetes,including offset,defect and gain templete.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_DefFPTpl)();//Detector templates reset to factory default.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_UploadOffsetTpl)(char* path);//Upload offset template to detector, the parameter is the local template path
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_DownloadOffsetTpl)(char* path);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_UploadGainTpl)(char* path);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_DownloadGainTpl)(char* path);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_DownloadDefectTpl)(char* path);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_UploadFPZMTpl)(CHAR TplType, CHAR* Tplpath);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_DownLoadFPZMTpl)(CHAR TplType, CHAR* Tplpath);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_DownloadDefectMap)(char* pData);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_DownloadDefectMapV)(char* pData);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetOffsetTpl)(char* path);//Set offset template for local use. The parameter is local template path.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetGainTpl)(char* path);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetDefectTpl)(char* path);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GenOffsetTpl)();//Generate offset template
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GenGainTpl)();
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GenDefectTpl)();
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_CalibOffsetTpl)(CHAR* pData);//Do offset calibration to original image, Input parameter: Pointer to image data
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_CalibGainTpl)(CHAR* pData);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_CalibDefectTpl)(CHAR* pData);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_EditDefectTpl)(UINT16 x, UINT16 y, BOOL valid);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_EditLineDefectTpl)(UINT16 line, BOOL bRow, BOOL valid);
- //----------------- Status and Information
- typedef __declspec(dllimport) CHAR(__stdcall* PZ_COM_GetFPCompatibleVer)();//Get compatible verion of current detector
- //FP_COMPATIBLE_VER the first compatible version(old)
- //ZM_COMPATIBLE_VER the second compatible version(new)
- //ERR_COMPATIBLE_VER the wrong compatible version
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetDllVer)(char* SDKVer);//Get SDK version
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetFPInfo)(TFPInfo* ptFPInfo);// 获取探测器固件版本等信息
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetFPStatus)(TFPStat* ptFPStatus);//温度湿度,wifi信息,电池信息
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetFPStatusEx)(CHAR* Psn, TFPStat* ptFPStatus);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetFPStatusP)(TFPStatex* ptFPStatex);//温度湿度,wifi信息,电池信息(更详细)
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetFPStatusPex)(TFPStatex* ptFPStatex, CHAR* psn);
- typedef __declspec(dllimport) CHAR(__stdcall* PZ_COM_GetFPCurStatus)();// 获取探测器工作状态
- //STATUS_NULL status invalid
- //STATUS_IDLE status idle
- //STATUS_HST hand switch working status
- //STATUS_AED1 AED working status of refreshing preoffset template
- //STATUS_AED2 AED working status
- //STATUS_RECOVER Recover status
- typedef __declspec(dllimport) CHAR(__stdcall* PZ_COM_GetFPCurStatusEx)(CHAR* Psn);
- typedef __declspec(dllimport) CHAR(__stdcall* PZ_COM_GetFPWireState)();// Get the FPD connection state Return Value: the state of FPD connection(CONNECT_WIFI or CONNECT_WIRE)
- typedef __declspec(dllimport) CHAR(__stdcall* PZ_COM_GetFPWireStateEx)(CHAR* Psn);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetFPsn)(CHAR*);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetFPsnEx)(CHAR index, CHAR* Psn);
- typedef __declspec(dllimport) UINT32(__stdcall* PZ_COM_GetFpPowerMode)();// get the FP power mode. The specific information is expressed in bits, for example, 0x11 indicates that the adapter is working normally. 0x22 means battery 1 is working normally, 0x44 means battery 2 is working normally.
- typedef __declspec(dllimport) UINT32(__stdcall* PZ_COM_GetFpPowerModeEx)(CHAR* Psn);//get the FP power mode. Use in muti-panel systems.
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetFPMotionFeatures)(TMotionFeatures* tMotionFeatures);// Get the motion and quaternion features data.(行为特征)
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetFPShock)(TShockInfo* pShockInfo);//Get the collision information of the FP.(碰撞信息)
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_ClearFPShock)(CHAR* ppassword);
- //----------------- V4.1.21SDK文档中没有的接口
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GetImageShiftMode)(TImageShiftMode*);
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_GenAEDParam)(); // 触发AED校正
- typedef __declspec(dllimport) BOOL(__stdcall* PZ_COM_SetAedCorrKB)(); // AED校正时向探测器发送校正信息
- #endif // PZMEDICALLIB_H
|