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.

BloodPressureModel.cs 1.2KB

1 jaar geleden
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace HealthMonitor.Model.Service.Mapper
  8. {
  9. public class BloodPressureModel
  10. {
  11. [JsonProperty("ts")]
  12. public DateTime Timestamp { get; set; }
  13. [JsonProperty("bloodpress_id")]
  14. public string BloodPressureId { get; set; } = default!;
  15. [JsonProperty("message_id")]
  16. public string MessageId { get; set; } = default!;
  17. [JsonProperty("serialno")]
  18. public string SerialNumber { get; set; } = default!;
  19. [JsonProperty("systolic_value")]
  20. public int SystolicValue { get; set; }
  21. [JsonProperty("diastolic_value")]
  22. public int DiastolicValue { get; set; }
  23. [JsonProperty("create_time")]
  24. public DateTime CreateTime { get; set; }
  25. [JsonProperty("last_update")]
  26. public DateTime LastUpdate { get; set; }
  27. [JsonProperty("method")]
  28. public byte Method { get; set; }
  29. [JsonProperty("is_display")]
  30. public bool IsDisplay { get; set; }
  31. [JsonProperty("serial_tail_no")]
  32. public string SerialTailNumber { get; set; } = default!;
  33. }
  34. }