Esempio n. 1
0
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="SatClockCollection"></param>
        public SimpelCombinedSatClockService(SatSimpleClockCollection SatClockCollection)
        {
            this.Name = SatClockCollection.Name;

            this.ClockFile          = SatClockCollection;
            this.clockInterpolators = new ConcurrentDictionary <string, SimpleClockInterpolator>();
        }
Esempio n. 2
0
        /// <summary>
        /// 返回服务
        /// </summary>
        /// <returns></returns>
        public override SimpelCombinedSatClockService GetDataSourceService()
        {
            var data = BuildMultiSysServices();
            SatSimpleClockCollection      source  = new SatSimpleClockCollection(data, Option.IsUniqueSource, Option.IndicatedSourceCode);
            SimpelCombinedSatClockService service = new SimpelCombinedSatClockService(source);

            return(service);
        }