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.

GeneralConfig.cs 1.1 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using BPA.Message;
  7. using BPA.Message.Enum;
  8. using BPA.Models;
  9. using System.Collections.Concurrent;
  10. namespace HBLConsole.GVL
  11. {
  12. public class GeneralConfig
  13. {
  14. /// <summary>
  15. /// 客户端设备类型
  16. /// </summary>
  17. public static DeviceClientType DeviceType { get; set; }
  18. /// <summary>
  19. /// 心跳上报的物料信息
  20. /// </summary>
  21. public static List<BatchingInfo> BatchingInfos { get; set; } = new List<BatchingInfo>();
  22. /// <summary>
  23. /// 心跳健康状态
  24. /// </summary>
  25. public static bool Healthy { get; set; }
  26. /// <summary>
  27. /// 订单队列集合
  28. /// </summary>
  29. public static ConcurrentQueue<MorkOrderPush> morkOrderPushes { get; set; } = new ConcurrentQueue<MorkOrderPush>();
  30. /// <summary>
  31. /// 激活本地模拟订单
  32. /// </summary>
  33. public static bool EnableLocalSimOrder { get; set; }
  34. }
  35. }