RequestBody.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. using System.Collections.Generic;
  2. namespace IMCS.Device
  3. {
  4. public class RequestBody
  5. {
  6. public string UserName
  7. { get; set; }
  8. public string Password
  9. { get; set; }
  10. public string ServerUrl
  11. { get; set; }
  12. public string Type
  13. { get; set; }
  14. public string Ip
  15. { get; set; }
  16. public string Path
  17. { get; set; }
  18. public List<string> Addresses
  19. { get; set; } = new List<string>();
  20. public List<string> Values
  21. { get; set; }
  22. /// <summary>
  23. /// 子文件集合
  24. /// </summary>
  25. public List<string> subFileList
  26. { get; set; } = new List<string>();
  27. /// 对刀仪数据集合
  28. public List<string> toolFileList
  29. { get; set; } = new List<string>();
  30. public string prgName
  31. { get; set; }
  32. public string check
  33. { get; set; }
  34. public string MachineName
  35. { get; set; }
  36. public string errorsInfo
  37. { get; set; }
  38. }
  39. /// <summary>
  40. /// 类型名称
  41. /// </summary>
  42. public enum ActionTypeEnum
  43. {
  44. Connect,
  45. Write,
  46. Read,
  47. ToolList,
  48. Collect,
  49. Upload,
  50. SelectNc,
  51. StartNcProgram,
  52. UploadFileList,
  53. DownLoad,
  54. Delete,
  55. SynFile
  56. }
  57. }