You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FhrPhrMapCacheManager.cs 970B

4 kuukautta sitten
4 kuukautta sitten
4 kuukautta sitten
4 kuukautta sitten
4 kuukautta sitten
12345678910111213141516171819202122232425262728
  1. using HealthMonitor.Model.Cache;
  2. using Microsoft.Extensions.Logging;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace HealthMonitor.Service.Cache
  9. {
  10. public class FhrPhrMapCacheManager
  11. {
  12. private readonly ILogger<FhrPhrMapCacheManager> _logger;
  13. public FhrPhrMapCacheManager(ILogger<FhrPhrMapCacheManager> logger )
  14. {
  15. _logger = logger;
  16. }
  17. public List<FhrPhrMap> GetHeartRatesMap()
  18. {
  19. return new List<FhrPhrMap>
  20. {
  21. new FhrPhrMap(new int[] {12, 20}, new int[] {120, 170}, 162, new int[] {60, 100}, new int[] {50, 80}),
  22. new FhrPhrMap(new int[] {21, 30}, new int[] {110, 160}, 147, new int[] {60, 100}, new int[] {40, 70}),
  23. new FhrPhrMap(new int[] {31, 45}, new int[] {110, 160}, 139, new int[] {60, 100}, new int[] {40, 70})
  24. };
  25. }
  26. }
  27. }