RequestBody.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. }
  35. /// <summary>
  36. /// 类型名称
  37. /// </summary>
  38. public enum ActionTypeEnum
  39. {
  40. Connect,
  41. Write,
  42. Read,
  43. ToolList,
  44. Collect,
  45. Upload,
  46. SelectNc,
  47. StartNcProgram,
  48. UploadFileList,
  49. DownLoad,
  50. Delete,
  51. SynFile
  52. }
  53. }