Exemplo n.º 1
0
        /// <summary>
        /// 获取已知的频率带宽。
        /// </summary>
        /// <param name="satNumber">卫星编号, GLONASS 频分多址</param>
        /// <param name="type">类型</param>
        /// <param name="rinexNum">编号,1、2、3 分别代表各系统的频率如GPS的L1、L2、L5</param>
        /// <param name="time">时间,历元,GLONASS或频分多址需要</param>
        /// <returns></returns>
        public static Frequence GetFrequenceBand(GnssType type, int rinexNum = 1, int satNumber = -1, Time time = default(Time))
        {
            var satType  = GnssSystem.GetSatelliteType(type);
            var freqType = GetFrequenceType(satType, rinexNum);

            return(GetFrequenceBand(type, freqType, satNumber, time));
        }
Exemplo n.º 2
0
 /// <summary>
 /// 获取频率带宽。
 /// </summary>
 /// <param name="type"></param>
 /// <param name="rinexNum"></param>
 /// <param name="satNumber"></param>
 /// <param name="time">时间,历元</param>
 /// <returns></returns>
 public static Frequence GetFrequence(SatelliteType type, int rinexNum, int satNumber = -1, Time time = default(Time))
 {
     return(ObsCodeConvert.GetFrequenceBand(GnssSystem.GetGnssType(type), rinexNum, satNumber, time));
 }
Exemplo n.º 3
0
 /// <summary>
 /// 获取第3频率,推荐方法
 /// </summary>
 /// <param name="prn">卫星编号</param>
 /// <param name="time">时间,GLONASS需要</param>
 /// <returns></returns>
 public static Frequence GetFrequenceC(SatelliteNumber prn, Time time = default(Time))
 {
     return(ObsCodeConvert.GetFrequenceBand(GnssSystem.GetGnssType(prn.SatelliteType), FrequenceType.C, prn.PRN, time));
 }