终端一体化运控平台
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.

SCChipEvent.cs 1.6 KiB

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