Beispiel #1
0
 //回调函数,用来获取Netro数据
 public void GetMessageNetro(Int32 lCommand, ref SdkClass.NET_DVR_ALARMINFO pAlarmer, IntPtr pAlarmInfo, Int32 dwBufLen, IntPtr pUser)
 {
     //Netro数据上传
     if (SdkClass.COMM_ITS_PARK_VEHICLE == lCommand)
     {
         SdkClass.NET_ITS_PARK_VEHICLE tmpPark = new SdkClass.NET_ITS_PARK_VEHICLE();
         tmpPark = (SdkClass.NET_ITS_PARK_VEHICLE)Marshal.PtrToStructure(pAlarmInfo, typeof(SdkClass.NET_ITS_PARK_VEHICLE));
         int picno = tmpPark.byPicNo;
     }
 }
Beispiel #2
0
 //回调函数,用来获取Netro数据
 public void GetMessageNetro(Int32 lCommand, ref SdkClass.NET_DVR_ALARMINFO pAlarmer, IntPtr pAlarmInfo, Int32 dwBufLen, IntPtr pUser)
 {
     //Netro数据上传
     if (SdkClass.COMM_ITS_PARK_VEHICLE == lCommand)
     {
         SdkClass.NET_ITS_PARK_VEHICLE tmpPark = new SdkClass.NET_ITS_PARK_VEHICLE();
         tmpPark = (SdkClass.NET_ITS_PARK_VEHICLE)Marshal.PtrToStructure(pAlarmInfo, typeof(SdkClass.NET_ITS_PARK_VEHICLE));
         int picno = tmpPark.byPicNo;
     }
 }