RequestBody.cs 889 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System.Collections.Generic;
  2. namespace Kede
  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. public string LocalFilePath { get; set; }
  21. public string RemoteFilePath { get; set; }
  22. public string Port { get; set; }
  23. }
  24. /// <summary>
  25. /// 类型名称
  26. /// </summary>
  27. public enum ActionTypeEnum
  28. {
  29. Connect,
  30. Write,
  31. Read,
  32. ToolList,
  33. Collect,
  34. Upload,
  35. SelectNc,
  36. StartNcProgram
  37. }
  38. }