public SensorConfiguration() { ReadPipe = new ReadPipeConfiguration(); AnalyticsPipe = new AnalyticsPipeConfiguration(); RulesPipe = new RulesPipeConfiguration(); WindowPipe = new WindowPipeConfiguration(); FilterPipe = new FilterPipeConfiguration(); SendPipe = new SendPipeConfiguration(); }
public SensorConfiguration(SensorTypeEnum sensorType, SensorMeasurementTypeEnum measurementType) { ReadPipe = new ReadPipeConfiguration { SensorType = sensorType, MeasurementType = measurementType }; AnalyticsPipe = new AnalyticsPipeConfiguration(); RulesPipe = new RulesPipeConfiguration(); WindowPipe = new WindowPipeConfiguration(); FilterPipe = new FilterPipeConfiguration(); SendPipe = new SendPipeConfiguration(); }