DetectDto.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace XdCxRhDw.Dto
  9. {
  10. /// <summary>
  11. /// 检测计算DTO
  12. /// </summary>
  13. public class DetectDto
  14. {
  15. /// <summary>
  16. /// 调用Upload接口上传文件后返回的文件名
  17. /// </summary>
  18. [DefaultValue("hello word!")]
  19. public string file1 { get; set; }
  20. /// <summary>
  21. /// 检测类型
  22. /// </summary>
  23. public DmcType dmcType { get; set; }
  24. /// <summary>
  25. /// 采样率 Hz
  26. /// </summary>
  27. public double fsHz { get; set; }
  28. }
  29. /// <summary>
  30. /// 检测类型
  31. /// </summary>
  32. public enum DmcType
  33. {
  34. /// <summary>
  35. /// DAMA检测
  36. /// </summary>
  37. [Display(Name = "DAMA检测")]
  38. DAMA = 1,
  39. /// <summary>
  40. /// IBS检测
  41. /// </summary>
  42. [Display(Name = "IBS检测")]
  43. IBS = 2,
  44. /// <summary>
  45. /// 能量检测
  46. /// </summary>
  47. [Display(Name = "能量检测")]
  48. Ky5758 = 3
  49. }
  50. }