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

65 line
1.7 KiB

  1. using BPASmartClient.S7Net;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmartClient.JXJFoodBigStation.Model.HK_PLC
  8. {
  9. public class PlcReadAddressDB45
  10. {
  11. [Siemens(16)]
  12. public string RecipeCode { get; set; }
  13. [Siemens(16)]
  14. public string RecipeName { get; set; }
  15. /// <summary>
  16. /// 缺料本机
  17. /// </summary>
  18. public bool DeviceInComplete { get; set; }
  19. /// <summary>
  20. /// 上游缺料
  21. /// </summary>
  22. public bool TopInComple { get; set; }
  23. /// <summary>
  24. /// 下游堵料
  25. /// </summary>
  26. public bool DownWindrow { get; set; }
  27. /// <summary>
  28. /// 设备启动
  29. /// </summary>
  30. public bool DeviceStart { get; set; }
  31. /// <summary>
  32. /// 设备停止
  33. /// </summary>
  34. public bool DeviceStop { get; set; }
  35. /// <summary>
  36. /// 设备急停
  37. /// </summary>
  38. public bool DeviceEStop { get; set; }
  39. /// <summary>
  40. /// 设备暂停
  41. /// </summary>
  42. public bool DevicePause { get; set; }
  43. /// <summary>
  44. /// 设备故障
  45. /// </summary>
  46. public bool DeviceAlarm { get; set; }
  47. /// <summary>
  48. /// 上位机给plc的心跳
  49. /// </summary>
  50. public bool HeartBeat { get; set; }
  51. /// <summary>
  52. /// 设备模式
  53. /// </summary>
  54. public short DeviceMode { get; set; }
  55. /// <summary>
  56. /// 设备报警
  57. /// </summary>
  58. public bool[] AlarmInfo { get; set; } = new bool[24];
  59. public int Reserved1 { get; set; }
  60. public int Reserved2 { get; set; }
  61. }
  62. }