The hierarchical configuration path using colon-separated notation.
This path identifies the specific configuration bean that contains the target attribute. Must match the path used by the parent ConfigBeanModel.
// Hardware component configuration
path: 'assembly:core:board:micro:pump:S4'
// System-level configuration
path: 'system:app'
// Service configuration
path: 'kos:service:CANPumpMgr'
The specific attribute name within the configuration bean.
This identifies which property within the configuration bean this KosConfigProperty instance should access and manage.
attribute: 'nominalRate' // For pump flow rates
attribute: 'targetTemperature' // For temperature settings
attribute: 'enabled' // For boolean flags
attribute: 'retryCount' // For numeric counters
Optional converterOptional unit conversion configuration.
When provided, enables automatic conversion between backend storage units and regional display units. If omitted, no unit conversion is performed.
Optional from?: UnitConverterOptional to?: UnitConverterconverter: {
from: { unit: 'kelvin', system: 'si' },
to: { system: 'auto' } // Auto-detect regional system
}
Optional formatterOptional display formatting configuration.
Configures how numeric values are formatted for display, including decimal places, units, and locale-specific formatting rules.
formatter: {
style: 'unit',
unit: 'celsius',
maximumFractionDigits: 1,
minimumFractionDigits: 1
}
Optional optionsOptional predefined options for enumerated properties.
Provides a list of valid values for configuration properties that have discrete options rather than continuous values.
optionsExpander: [
{ label: 'Low', value: 'low' },
{ label: 'Medium', value: 'medium' },
{ label: 'High', value: 'high' }
]
Optional serviceOptional custom service base path.
When provided, overrides the default configuration service endpoint. Useful for testing, development, or alternative service implementations.
undefined (uses default KOS configuration service path)
Configuration options for KosConfigProperty instances.
These options define how individual configuration properties access and display values from the backend configuration system. They specify the configuration path, attribute name, and optional unit conversion and formatting behavior.
Example: Basic Property Configuration
Example: Property with Unit Conversion