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

PlcToComputer.cs 1.1 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace TestDemo
  7. {
  8. public class PlcToComputer
  9. {
  10. /// <summary>
  11. /// 心跳
  12. /// </summary>
  13. public bool Heartbeat { get; set; }
  14. /// <summary>
  15. /// 接收完成
  16. /// </summary>
  17. public bool ResComplete { get; set; }
  18. /// <summary>
  19. /// 系统系统或停止
  20. /// </summary>
  21. public bool SystemStartOrStop { get; set; }
  22. /// <summary>
  23. /// 手自动切换
  24. /// </summary>
  25. public bool HandOrAuto { get; set; }
  26. /// <summary>
  27. /// 桶位置反馈
  28. /// </summary>
  29. public short[] LocationFeedback { get; set; } = new short[32];
  30. /// <summary>
  31. /// 是否允许配料
  32. /// </summary>
  33. public bool[] IsAllowIngredients { get; set; } = new bool[32];
  34. /// <summary>
  35. /// 报警信息
  36. /// </summary>
  37. public bool[] ArrayInfo { get; set; } = new bool[32];
  38. }
  39. }