终端一体化运控平台
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

SCChipEvent.cs 1.4 KiB

2 lat temu
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. using BPASmartClient.Model.单片机.Enum;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmartClient.Model.单片机
  8. {
  9. /// <summary>
  10. /// 驱动设备: 单片机外设
  11. /// 设备序列号:0x02225132
  12. /// 创建时间: 20220419
  13. /// </summary>
  14. /// <summary>
  15. /// STM32F103RCT6单片机下杯
  16. /// </summary>
  17. public class SCChip_TakeCupEvent :BaseEvent
  18. {
  19. /// <summary>
  20. /// 杯
  21. /// </summary>
  22. public IC_CUP Cup { get; set; }
  23. }
  24. /// <summary>
  25. /// STM32F103RCT6单片机舵机打料
  26. /// </summary>
  27. public class SCChip_MakeIceCreamEvent :BaseEvent
  28. {
  29. public IC_SE SteeringEngine { get; set; }
  30. }
  31. /// <summary>
  32. /// STM32F103RCT6单片机舵机打开或者关闭
  33. /// </summary>
  34. public class SCChip_SESwitchCreamEvent :BaseEvent
  35. {
  36. public IC_SE SteeringEngine { get; set; }
  37. public bool IsOpen { get; set; }
  38. }
  39. /// <summary>
  40. /// STM32F103RCT6单片机控制冰淇淋机器转
  41. /// </summary>
  42. public class SCChip_RotorSwitchEvent :BaseEvent
  43. {
  44. public bool TurnOn { get; set; }
  45. }
  46. /// <summary>
  47. /// 检测有无杯子
  48. /// </summary>
  49. public class ArticleExitsEvent : BaseEvent
  50. {
  51. }
  52. /// <summary>
  53. /// 检测物品距离
  54. /// </summary>
  55. public class ArticleDistEvent : BaseEvent
  56. {
  57. }
  58. }