public ISensor StartGenerate(int minValue = int.MinValue, int maxValue = int.MaxValue, int minTimeInterval = 1, int maxTimeInterval = 10000) { _generator.ValueGenerated += (sender, value) => NewValueGenerated(value); _generator.Start(minValue, maxValue, minTimeInterval, maxTimeInterval); return(this); }