Interface SimulationValueGenerator
- All Known Implementing Classes:
SineGenerator
public interface SimulationValueGenerator
Simple interface for a class that can be used to generate event streams based on some function.
- Author:
- mshankar
-
Method Summary
Modifier and TypeMethodDescriptiongetSampleValue(ArchDBRTypes type, int secondsIntoYear) Get the value at a particular point in time.
-
Method Details
-
getSampleValue
Get the value at a particular point in time. Many unit tests rely on the value being returned being absolutely reproducible given the time.- Parameters:
type- ArchDBRTypessecondsIntoYear-- Returns:
- Sample value
-