终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LebaiRobotEvent.cs 1.2 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPASmartClient.Model.乐白机器人
  7. {
  8. /// <summary>
  9. /// 获取机器人输入DI状态
  10. /// </summary>
  11. public class LebaiRobot_GetInputEvent : BaseEvent
  12. {
  13. public int Pin { get; set; } = 0;
  14. }
  15. /// <summary>
  16. /// /// <summary>
  17. /// 获取机器人输入TCPDI状态
  18. /// </summary>
  19. /// </summary>
  20. public class LebaiRobot_GetTCPInputEvent : BaseEvent
  21. {
  22. public int Pin { get; set; } = 1;
  23. }
  24. /// <summary>
  25. /// 输入机器人信号
  26. /// </summary>
  27. public class LebaiRobot_SetValueEvent : BaseEvent
  28. {
  29. public int RobotSetValue { get; set; }
  30. }
  31. /// <summary>
  32. /// 机器人控制
  33. /// </summary>
  34. public class LebaiRobot_LebaiControlEvent : BaseEvent
  35. {
  36. public string LebaiControl { get; set; }
  37. }
  38. /// <summary>
  39. /// 选择乐白机器人场景
  40. /// </summary>
  41. public class LebaiRobot_LebaiSenceEvent : BaseEvent
  42. {
  43. public int LebaiSence { get; set; }
  44. }
  45. public class LebaiRobot_SetOutPutEvent : BaseEvent
  46. {
  47. public int Pin { get; set; }
  48. public bool Value { get; set; }
  49. }
  50. }