public void TestInitialise() { _Cpr = Factory.Singleton.Resolve <ICompactPositionReporting>(); }
/// <summary> /// Creates a new object. /// </summary> public RawMessageTranslator() { Provider = new DefaultProvider(); _StandingDataManager = Factory.Singleton.Resolve<IStandingDataManager>().Singleton; _Statistics = Factory.Singleton.Resolve<IStatistics>().Singleton; GlobalDecodeAirborneThresholdMilliseconds = 10000; GlobalDecodeFastSurfaceThresholdMilliseconds = 25000; GlobalDecodeSlowSurfaceThresholdMilliseconds = 50000; LocalDecodeMaxSpeedAirborne = 15.0; LocalDecodeMaxSpeedTransition = 5.0; LocalDecodeMaxSpeedSurface = 3.0; ReceiverRangeKilometres = 650; TrackingTimeoutSeconds = 600; AcceptIcaoInPI0Count = 1; AcceptIcaoInPI0Milliseconds = 1000; _CompactPositionReporting = Factory.Singleton.Resolve<ICompactPositionReporting>(); _HeartbeatService = Factory.Singleton.Resolve<IHeartbeatService>().Singleton; _HeartbeatService.SlowTick += Heartbeat_SlowTick; }
public void TestInitialise() { _Cpr = Factory.Singleton.Resolve<ICompactPositionReporting>(); }