public HWServiceImpl() { IServiceManager manager = ServiceManager.GetInstance(); telemetry = manager.GetService <ITelemetryServicesProvider>(); coreServer = manager.GetService <ICoreServerService>(); }
public TelemetryProcessorTask() : base("TelemetryProcessor", false, new ScheduledTaskInterval(0, 0, 0, 30), false) { IServiceManager manager = ServiceManager.GetInstance(); telemetry = manager.GetService <ITelemetryServicesProvider>(); collector = manager.GetService <ITelemetryDataCollector>(); logging = manager.GetService <ILoggingService>(); }
public ServerInfoController() { IServiceManager manager = ServiceManager.GetInstance(); controllerManager = manager.GetService <IControllerManager>(); coreServer = manager.GetService <ICoreServerService>("realserver"); hardware = manager.GetService <IHardwareServices>(); telemetry = manager.GetService <ITelemetryServicesProvider>(); }