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

92 lines
3.5 KiB

  1. using BPASmartClient.JXJFoodBigStation.Model.HK_PLC;
  2. using BPASmartClient.JXJFoodBigStation.Model.Siemens;
  3. using System;
  4. using System.Collections.Concurrent;
  5. using System.Collections.Generic;
  6. using System.Collections.ObjectModel;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace BPASmartClient.JXJFoodBigStation.Model
  11. {
  12. public class GVL_BigStation
  13. {
  14. /// <summary>
  15. /// plc心跳上传
  16. /// </summary>
  17. public static bool HeartBeatFromPlc { get; set; }
  18. public static bool Order_Cancel { get; set; }
  19. public static string Order_CancelRecipeCode { get; set; } = "";
  20. public static DateTime DosingRecipe1Time { get; set; }
  21. public static DateTime DosingRecipe2Time { get; set; }
  22. public static DateTime DosingRecipe3Time { get; set; }
  23. public static DateTime DosingRecipe4Time { get; set; }
  24. /// <summary>
  25. /// plc心跳下发
  26. /// </summary>
  27. public static bool HeartBeatToPlc { get; set; }
  28. /// <summary>
  29. /// 配方下发状态 =0:配方未下发 ,1:配方下发给plc ,2:plc成功接收配方
  30. /// </summary>
  31. public static int Recipe1DosingStatus { get; set; }
  32. /// <summary>
  33. /// 配方下发状态 =0:配方未下发 ,1:配方下发给plc ,2:plc成功接收配方
  34. /// </summary>
  35. public static int Recipe2DosingStatus { get; set; }
  36. /// <summary>
  37. /// 配方下发状态 =0:配方未下发 ,1:配方下发给plc ,2:plc成功接收配方
  38. /// </summary>
  39. public static int Recipe3DosingStatus { get; set; }
  40. /// <summary>
  41. /// 配方下发状态 =0:配方未下发 ,1:配方下发给plc ,2:plc成功接收配方
  42. /// </summary>
  43. public static int Recipe4DosingStatus { get; set; }
  44. /// <summary>
  45. /// 是否处于手动下发配方
  46. /// </summary>
  47. public static bool IsUseLocalRecipe { get; set; } = false;
  48. /// <summary>
  49. /// 订单请求
  50. /// </summary>
  51. public static bool Order_Request { get; set; } = false;
  52. public static int SiemensSendRecipeStatus { get; set; } = 0;
  53. public const int Max_DosingSotckBinNum = 14;
  54. public static ushort AGVPutTray { get; set; }
  55. public static ushort AGVGetTray { get; set; }
  56. public static ushort TraySensor { get; set; }
  57. public static ushort TrayCylinder { get; set; }
  58. public static DB_Read HKPlc_Read = new DB_Read();
  59. public static bool IsUseLocalName { get; set; } = true;
  60. public static bool IsAllowHKPlcConnect { get; set; }
  61. public static bool IsAllowSiemensConnect { get; set; }
  62. /// <summary>
  63. /// 海科plc初始化完成标志
  64. /// </summary>
  65. public static bool HKPlcInitComple { get; set; }
  66. /// <summary>
  67. /// 西门子plc初始化完成标志
  68. /// </summary>
  69. public static bool SiemensInitComple { get; set; }
  70. /// <summary>
  71. ///
  72. /// </summary>
  73. public static bool Recipe1DosingFinish { get; set; } = false;
  74. public static bool Recipe2DosingFinish { get; set; } = false;
  75. public static bool Recipe3DosingFinish { get; set; } = false;
  76. public static bool Recipe4DosingFinish { get; set; } = false;
  77. /// <summary>
  78. /// 订单是否是洗桶
  79. /// </summary>
  80. public static bool Order_IsWashingBarrel { get; set; } = false;
  81. }
  82. }