예제 #1
0
 /// <summary>
 /// 获取或创建复测基线较差
 /// </summary>
 /// <param name="GnssReveiverNominalAccuracy"></param>
 /// <param name="isRebuit"></param>
 /// <returns></returns>
 public RepeatErrorOfBaseLineManager GetOrCreateRepeatErrorOfBaseLineManager(GnssReveiverNominalAccuracy GnssReveiverNominalAccuracy, bool isRebuit)
 {
     if (RepeatErrorOfBaseLineManager == null || isRebuit)
     {
         RepeatErrorOfBaseLineManager = CreateRepeatErrorOfBaseLineManager(GnssReveiverNominalAccuracy);
     }
     return(RepeatErrorOfBaseLineManager);
 }
예제 #2
0
        /// <summary>
        /// 获取复测基线较差
        /// </summary>
        /// <param name="GnssReveiverNominalAccuracy"></param>
        /// <returns></returns>
        public RepeatErrorOfBaseLineManager CreateRepeatErrorOfBaseLineManager(GnssReveiverNominalAccuracy GnssReveiverNominalAccuracy)
        {
            RepeatErrorOfBaseLineManager result = new RepeatErrorOfBaseLineManager(GnssReveiverNominalAccuracy);

            var allObjLines = this.GetAllBaseLines();

            foreach (var item in allObjLines)
            {
                List <SiteObsBaseline> sameNameLines = GetLines(item.LineName);

                var repeatError = result.GetOrCreate(item);
                repeatError.Init(sameNameLines);
            }
            return(result);
        }