-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInspect_C.h
22 lines (20 loc) · 915 Bytes
/
Inspect_C.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _INSPECT_C_H
#define _INSPECT_C_H
#define DLL_API __declspec(dllexport)
//²ÎÊý1 ip :192.100.100.XX
//²ÎÊý2 port£º60000,60001,60002,60003
//²ÎÊý3 socid :0-9
extern "C"
{
DLL_API int Insp_Init(const char *ip,int port=60000);
DLL_API int Insp_Close(int port=60000);
DLL_API int Insp_SetStart(int cam1,int cam2,int cam3,int cam4,int port=60000);
DLL_API int Insp_GetStart(int &cam1,int &cam2,int &cam3,int &cam4,int port=60000);
DLL_API int Insp_GetRlt(int &cam1,int &cam2,int &cam3,int &cam4,int &RunSts,int port=60000);
DLL_API int Insp_GetSts(int &cam1,int &cam2,int &cam3,int &cam4,int port=60000);
DLL_API int Insp_ResetSts(int cam1,int cam2,int cam3,int cam4,int port=600000);
DLL_API int Insp_WaitRlt(int cam1,int cam2,int cam3,int cam4,int port=60000);
DLL_API int Insp_GetStaFlag(int &flag,int port=60000);
DLL_API int Insp_SetTimeOut(int s,int port=60000);
};
#endif