SensorReading shares data with GeneralSensorConfig which needs to be copied back and forth, it would be nicer to just point to the Config object instead which makes creation of SensorReadings cleaner and shorter
e.g:
better: var reading = SensorReading(config)
current: var reading = SensorReading(sensorID: config.sensorID,
sensorName: config.sensorName,
parameterNames: config.parameterNames)
SensorReading shares data with GeneralSensorConfig which needs to be copied back and forth, it would be nicer to just point to the Config object instead which makes creation of SensorReadings cleaner and shorter
e.g: better: var reading = SensorReading(config) current: var reading = SensorReading(sensorID: config.sensorID, sensorName: config.sensorName, parameterNames: config.parameterNames)