public RuleEngineService(ILogger <IRuleEngineService> logger, IIoTService ioTService, ITaskExecutorService taskExecutorService) { _logger = logger; _ioTService = ioTService; _taskExecutorService = taskExecutorService; Rules = new ObservableCollection <RuleInfo>(); }
public ComponentsService(ILogger <ComponentsService> logger, ITaskExecutorService taskExecutorService, IServicesManager servicesManager, NeonConfig config, IFileSystemManager fileSystemManager) { _logger = logger; _config = config; _servicesManager = servicesManager; _taskExecutorService = taskExecutorService; _fileSystemManager = fileSystemManager; AvailableComponents = new List <ComponentInfo>(); RunningComponents = new ObservableCollection <RunningComponentInfo>(); _componentsTypes = new Dictionary <ComponentInfo, Type>(); }