RequestBody.cs 799 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. public string Ip
  21. { get; set; }
  22. }
  23. /// <summary>
  24. /// 类型名称
  25. /// </summary>
  26. public enum ActionTypeEnum
  27. {
  28. Connect,
  29. Write,
  30. Read,
  31. ToolList,
  32. Collect,
  33. Upload,
  34. SelectNc,
  35. StartNcProgram
  36. }
  37. }