public void GetVideosOfRect() { KedaVideoManager target = new KedaVideoManager(); List <KedaVideo> actual = target.GetVideosOfRect(100, 33, 104, 37); Assert.AreEqual(actual.Count >= 1, true); }
/// <summary> /// 根据四个角点坐标查询此范围内所有视频信息 /// </summary> /// <param name="minX">最小经度</param> /// <param name="minY">最小纬度</param> /// <param name="maxX">最大经度</param> /// <param name="maxY">最大纬度</param> /// <returns></returns> public List <KedaVideo> GetVideosOfRect(double longitude_left, double latitude_left, double longitude_right, double latitude_right) { return(videoManager.GetVideosOfRect(longitude_left, latitude_left, longitude_right, latitude_right)); }