Example #1
0
 public List <GrowthMeasurement> GetMeasurements(DataType dataType)
 {
     if (Measurements.ContainsKey(dataType))
     {
         return(Measurements[dataType]);
     }
     return(null);
 }
Example #2
0
 public void SetMeasurements(List <GrowthMeasurement> growthMeasurements, DataType dataType)
 {
     if (Measurements.ContainsKey(dataType))
     {
         Measurements[dataType] = growthMeasurements;
     }
     else
     {
         Measurements.Add(dataType, growthMeasurements);
     }
 }