public static extern UInt32 LPR_Init(IntPtr hWnd, IntPtr pUserData, DeviceInfoCallback fucDeviceInfo, DeviceStatusCallback fucDeviceStatus, VehicleDataCallback fucVehicleData, JPGStreamCallBack fucJPGStream);
public static extern UInt32 LPR_Init(IntPtr hWnd, IntPtr pUserData, DeviceInfoCallback fucDeviceInfo, DeviceStatusCallback fucDeviceStatus,VehicleDataCallback fucVehicleData, JPGStreamCallBack fucJPGStream);
//初始化相机相关变量 public void initCamera() { DeviceTable = new Hashtable(); //初始化动态库 DeviceInfofuc = new DeviceInfoCallback(fucDeviceInfo); VehicleDatafuc = new VehicleDataCallback(fucVehicleData); JPGStreamfuc = new JPGStreamCallBack(fucJPGStream); DeviceStatusfuc = new DeviceStatusCallback(fucDeviceStatus); LPRSDK.LPR_IsWriteLog(true); LPRSDK.LPR_Init(this.Handle, IntPtr.Zero, DeviceInfofuc, DeviceStatusfuc, VehicleDatafuc, JPGStreamfuc); LPRSDK.LPR_ScanDevice(); }