using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace XdDw.App.Api.时差粗值预测 { /// /// 时差初值预测API(TODO) /// public static class DtApi { #region cpp dll Interop private const string DLL = @"Api\时差粗值预测\DtMath.dll"; // //获取高轨时差中心,范围 // rec1 星1接收站位置 经纬度 // rec2 星2接收站位置 经纬度 // geo1 星1 星历 xyz // geo2 星2 星历 xyz // center 经纬度 框选中心 // lonrange 经度范围 // latrange 维度范围 // dtcenter 时差中心 // dtrange 时差范围 // res[0] 时差搜索中心 // res[1] 范围 // [DllImport(DLL, EntryPoint = "GetGeoTime", CallingConvention = CallingConvention.Cdecl)]// public extern static void GetGeoTime(double[] rec1, double[] rec2, double[] geo1, double[] geo2 , double[] center, double lonrange, double latrange, double[] res); // //获取高轨-地时差中心,范围 // rec1 星1接收站位置 经纬度 // geo1 星1 星历 xyz // rec2 地面站位置 经纬度 // center 经纬度 框选中心 // lonrange 经度范围 // latrange 维度范围 // res[0] 时差中心 // res[1] 时差范围 // [DllImport(DLL, EntryPoint = "GetGEOLocalTime", CallingConvention = CallingConvention.Cdecl)]// public extern static void GetGEOLocalTime(double[] rec1, double[] geo1, double[] rec2 , double[] center, double lonrange, double latrange, double[] res); // // 获取地轨双星时差 // leo1 星1 星历 xyz // leo2 星2 星历 xyz // center 经纬度 框选中心 // lonrange 经度范围 // latrange 维度范围 // dtcenter 时差中心 // dtrange 时差范围 // [DllImport(DLL, EntryPoint = "GetLEOTime", CallingConvention = CallingConvention.Cdecl)]// public extern static void GetLEOTime(double[] leo1, double[] leo2 , double[] center, double lonrange, double latrange, double[] res); #endregion } }