/// <summary> /// 接收机天线改正 /// </summary> /// <param name="epochInformation"></param> public override void Correct(EpochInformation epochInformation) { HEN offsetARPHEN = epochInformation.SiteInfo.Hen; if (offsetARPHEN == null) { return; } // Vector from monument to ARP([UEN]),标石到天线参考点(ARP)的矢量。 NEU offsetARP = new NEU(offsetARPHEN.N, offsetARPHEN.E, offsetARPHEN.H); NEU correction = offsetARP; this.Correction = correction; //this.Correction = NEU.Zero;// correction; }
public IBlockItem Init(string line) { this.SiteCode = line.Substring(1, 4); this.PointCode = line.Substring(6, 2).Trim(); this.SolutionID = line.Substring(9, 4).Trim(); this.ObservationCode = line.Substring(14, 1); this.DateStart = Time.ParseYds(line.Substring(16, 12)); this.DateEnd = Time.ParseYds(line.Substring(29, 12)); this.EccentricityReferenceSystem = line.Substring(42, 3); string[] strs = line.Substring(46, 26).Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries); int i = 0; this.Une = HEN.TryParse(strs[i++], strs[i++], strs[i++]); return(this); }