/// <summary> /// 获取视频信息 /// </summary> /// <param name="iVideo">视频通道号</param> /// <returns></returns> public HvVideoInfo getVideoInfo(int iVideo) { HvVideoInfo info = new HvVideoInfo(); if (IntPtr.Zero == this.m_Hv) { return(info); } HvResult hvresult = this.resultFirst; if (0 != iVideo) { hvresult = this.resultSecond; } info.DtVideo = hvresult.dtVideo; info.VideoSize = hvresult.VideoSize; info.VideoImage = hvresult.VideoImage; return(info); }
/// <summary> /// 获取视频信息 /// </summary> /// <param name="iVideo">视频通道号</param> /// <returns></returns> public HvVideoInfo getVideoInfo(int iVideo) { HvVideoInfo info = new HvVideoInfo(); if (IntPtr.Zero == this.m_Hv) return info; HvResult hvresult = this.resultFirst; if (0 != iVideo) hvresult = this.resultSecond; info.DtVideo = hvresult.dtVideo; info.VideoSize = hvresult.VideoSize; info.VideoImage = hvresult.VideoImage; return info; }