终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

66 lines
1.4 KiB

  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. }