终端一体化运控平台
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

91 rinda
3.0 KiB

  1. using BPASmartClient.DosingHKProject.Model.Siemens;
  2. using System;
  3. using System.Collections.Concurrent;
  4. using System.Collections.Generic;
  5. using System.Collections.ObjectModel;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace BPASmartClient.DosingHKProject.Model
  10. {
  11. public class GVL_SmallStation
  12. {
  13. private volatile static GVL_SmallStation SmallStation;
  14. public static GVL_SmallStation GetInstance => SmallStation ?? (SmallStation = new GVL_SmallStation());
  15. private GVL_SmallStation() { }
  16. /// <summary>
  17. /// 配方下发状态 =0:配方未下发 ,1:配方下发给plc ,2:plc成功接收配方
  18. /// </summary>
  19. public int RecipeStatusID { get; set; } = 0;
  20. /// <summary>
  21. /// Tray1的柔性味魔方配料标志(下发配方时,若柔性味魔方的状态=3,复位该状态)
  22. /// </summary>
  23. public bool DosingTray1 { get; set; } = true;//默认为true,初始时,判断柔性味魔方的状态。
  24. /// <summary>
  25. /// Tray2的柔性味魔方配料标志
  26. /// </summary>
  27. public bool DosingTray2 { get; set; } = true;
  28. /// <summary>
  29. /// 配方下发状态 =0:配方未下发 ,1:配方下发给plc ,2:plc成功接收配方
  30. /// </summary>
  31. public int RecipeStatusIDTray2 { get; set; } = 0;
  32. /// <summary>
  33. /// 往输送带下发配方完成
  34. /// </summary>
  35. public bool IssueRecipeFinishStation2 { get; set; } = false;
  36. public bool IsAllow { get; set; } = false;
  37. public bool IsAllowOut { set; get; } = false;
  38. /// <summary>
  39. /// 当前料仓的位置
  40. /// </summary>
  41. public int StockInIsWork { get; set; } = 0;
  42. /// <summary>
  43. /// 单个配方执行完成标志
  44. /// </summary>
  45. public bool RecipeFinish { get; set; } = false;
  46. /// <summary>
  47. /// 记录AGV进站送货的指令顺序
  48. /// </summary>
  49. public int AgvDeliveryPosition { get; set; }= 0;
  50. /// <summary>
  51. /// 记录AGV进站取货的指令顺序
  52. /// </summary>
  53. public int AgvPickUpPosition { get; set; } = 0;
  54. /// <summary>
  55. /// 是否使用粉仓
  56. /// </summary>
  57. public bool IsUseWindSend;
  58. /// <summary>
  59. /// 风送配料完成标志
  60. /// </summary>
  61. public bool WindSendDosingFinish;
  62. /// <summary>
  63. /// 是否占用托盘1
  64. /// </summary>
  65. public bool IsOccupationTray1 { get; set; } = true;
  66. /// <summary>
  67. /// 是否占用托盘2
  68. /// </summary>
  69. public bool IsOccupationTray2 { get; set; } = true;
  70. #region 本地模拟配方
  71. /// <summary>
  72. /// 是否使用本地模拟配方
  73. /// </summary>
  74. public bool IsUseLocalRecipe { get; set; }
  75. /// <summary>
  76. /// 是否使用本地模拟订单+风送配方
  77. /// </summary>
  78. public bool IsUseWindSendDosing { get; set; }
  79. #endregion
  80. }
  81. }