public void GetSpecificVideos() { VideoManager target = new VideoManager(); List <VideoInfoModel> actual = target.GetSpecificVideos(VideoTypeModel.VideoType.CaseCenter); actual = target.GetSpecificVideos(VideoTypeModel.VideoType.InternalVideo); actual = target.GetSpecificVideos(VideoTypeModel.VideoType.KeyArea); actual = target.GetSpecificVideos(VideoTypeModel.VideoType.MoveableVideo); actual = target.GetSpecificVideos(VideoTypeModel.VideoType.PublicArea); Assert.AreEqual(actual.Count >= 1, true); }
/// <summary> /// 获取特定类型的摄像头 /// </summary> /// <param name="type">摄像头类型</param> /// <returns></returns> public List <VideoInfoModel> GetSpecificVideos(VideoTypeModel.VideoType type) { return(videoManager.GetSpecificVideos(type)); }