RequestBody.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. public string prgName
  28. { get; set; }
  29. }
  30. /// <summary>
  31. /// 类型名称
  32. /// </summary>
  33. public enum ActionTypeEnum
  34. {
  35. Connect,
  36. Write,
  37. Read,
  38. ToolList,
  39. Collect,
  40. Upload,
  41. SelectNc,
  42. StartNcProgram,
  43. UploadFileList,
  44. DownLoad,
  45. Delete,
  46. SynFile
  47. }
  48. }