Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

46 rindas
1.2KB

  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. }