コード例 #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();
        }