示例#1
0
 /// <summary>Retrieves the specified immediate temporal measurement, creating it if needed.</summary>
 /// <param name="measurement">Source <see cref="IMeasurement"/> value.</param>
 /// <returns>A <see cref="TemporalMeasurement"/> object.</returns>
 public TemporalMeasurement Measurement(IMeasurement measurement)
 {
     return(m_measurements.GetOrAdd(measurement.RuntimeSignalID(), key => new TemporalMeasurement(m_lagTime, m_leadTime)
     {
         ID = key
     }));
 }