예제 #1
0
 public SensorConfiguration()
 {
     ReadPipe      = new ReadPipeConfiguration();
     AnalyticsPipe = new AnalyticsPipeConfiguration();
     RulesPipe     = new RulesPipeConfiguration();
     WindowPipe    = new WindowPipeConfiguration();
     FilterPipe    = new FilterPipeConfiguration();
     SendPipe      = new SendPipeConfiguration();
 }
예제 #2
0
        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();
        }