public ServicesConfig() { MqttConfig = new MqttConfig(); IoTConfig = new IoTConfig(); DiscoveryConfig = new DiscoveryConfig(); ScriptEngineConfig = new ScriptEngineConfig(); PluginsConfig = new PluginsConfig(); }
public NeonConfig() { Database = new DatabaseConfig(); Scripts = new ScriptConfig(); Mqtt = new MqttConfig(); Plugins = new PluginConfig(); Tasks = new TaskConfig(); FileSystem = new FileSystemConfig(); Components = new ComponentConfig(); EventsDatabase = new EventDatabaseConfig(); IoT = new IoTConfig(); JwtToken = "password"; AutoLoadComponents = true; Home = new HomeConfig(); }
public IoTService(ILogger <IoTService> logger, INoSqlService noSqlService, NeonConfig neonConfig) { _logger = logger; _noSqlService = noSqlService; _config = neonConfig.ServicesConfig.IoTConfig; }
public HomeController(IOptions <IoTConfig> settings) { _settings = settings.Value; }
public IndexModel(IoTConfig config) { _iotConfig = config; }