RequestBody.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 Path
  15. { get; set; }
  16. public List<string> Addresses
  17. { get; set; } = new List<string>();
  18. public List<string> Values
  19. { get; set; }
  20. /// <summary>
  21. /// 子文件集合
  22. /// </summary>
  23. public List<string> subFileList
  24. { get; set; } = new List<string>();
  25. public string prgName
  26. { get; set; }
  27. }
  28. /// <summary>
  29. /// 类型名称
  30. /// </summary>
  31. public enum ActionTypeEnum
  32. {
  33. Connect,
  34. Write,
  35. Read,
  36. ToolList,
  37. Collect,
  38. Upload,
  39. SelectNc,
  40. StartNcProgram,
  41. UploadFileList,
  42. DownLoad,
  43. Delete,
  44. SynFile
  45. }
  46. }