/// <summary> /// 获取视频通道当前识别信息 /// </summary> /// <param name="iVideo">视频通道号(0,1)</param> /// <returns></returns> public HvCarPlateInfo getCarPlateInfo(int iVideo) { HvCarPlateInfo info = new HvCarPlateInfo(); if (IntPtr.Zero == this.m_Hv) { return(info); } HvResult hvresult = this.resultFirst; if (0 != iVideo) { hvresult = this.resultSecond; } info.CarNum = hvresult.strplateno; info.BigImage = hvresult.BigImage; info.SmallImage = hvresult.SmallImage; return(info); }
/// <summary> /// 获取视频通道当前识别信息 /// </summary> /// <param name="iVideo">视频通道号(0,1)</param> /// <returns></returns> public HvCarPlateInfo getCarPlateInfo(int iVideo) { HvCarPlateInfo info = new HvCarPlateInfo(); if (IntPtr.Zero == this.m_Hv) return info; HvResult hvresult = this.resultFirst; if (0 != iVideo) hvresult = this.resultSecond; info.CarNum = hvresult.strplateno; info.BigImage = hvresult.BigImage; info.SmallImage = hvresult.SmallImage; return info; }