Global Configuration
data class GlobalConfiguration(val flags: GenericFlags = GenericFlags(), val session: SessionConfiguration = SessionConfiguration(), val name: String = "PowerGoblin instance", val description: String = "Default PowerGoblin measurement laboratory", val plot: PlotConfiguration = PlotConfiguration(), val statusPeriod: Long = 1000, val logPath: <Error class: unknown class> = Path.of("logs/"), val telnetPort: Int = 9000, val httpContentPath: <Error class: unknown class> = Path.of("web/"), val httpPort: Int = 8080, val mqttHost: String = "localhost", val mqttPort: Int = 1883, val mqttTopicPrefix: String, val simulatedCount: Int = 0, val maxSimulatedCount: Int = 20)
Application wide configuration.
Constructors
Link copied to clipboard
constructor(flags: GenericFlags = GenericFlags(), session: SessionConfiguration = SessionConfiguration(), name: String = "PowerGoblin instance", description: String = "Default PowerGoblin measurement laboratory", plot: PlotConfiguration = PlotConfiguration(), statusPeriod: Long = 1000, logPath: <Error class: unknown class> = Path.of("logs/"), telnetPort: Int = 9000, httpContentPath: <Error class: unknown class> = Path.of("web/"), httpPort: Int = 8080, mqttHost: String = "localhost", mqttPort: Int = 1883, mqttTopicPrefix: String, simulatedCount: Int = 0, maxSimulatedCount: Int = 20)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Path to http content (relative to the application root)
Link copied to clipboard
Maximum number of supported simulated meters
Link copied to clipboard
Prefix for MQTT topics
Link copied to clipboard
Configuration for plot generation
Link copied to clipboard
Link copied to clipboard
How many simulated meters to generate
Link copied to clipboard
Timer period for status messages & device scan
Link copied to clipboard
Port for telnet access