终端一体化运控平台
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

DL_DataColl_DB.cs 1.8 KiB

2 anni fa
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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.Siemens
  8. {
  9. public class DL_DataColl_DB
  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. }