Exemplo n.º 1
0
 private static void ChangeHeartRate(HeartRateDto heartRateDto, VitalSign vitalSign, HeartRate heartRate)
 {
     RemoveHeartRate(heartRateDto, vitalSign, heartRate);
     AddHeartRate(heartRateDto, vitalSign);
 }
Exemplo n.º 2
0
 private static void RemoveHeartRate(HeartRateDto heartRateDto, VitalSign vitalSign, HeartRate heartRate)
 {
     vitalSign.RemoveHeartRate(heartRate);
 }
Exemplo n.º 3
0
 private static void AddHeartRate(HeartRateDto heartRateDto, VitalSign vitalSign)
 {
     vitalSign.AddHeartRate(new HeartRate(heartRateDto.BeatsPerMinuteMeasure.GetValueOrDefault()));
 }