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

34 rivejä
822 B

  1. using System.Collections.Concurrent;
  2. namespace BPASmartClient.DATABUS
  3. {
  4. /// <summary>
  5. /// 数据总线
  6. /// </summary>
  7. public class Class_DataBus
  8. {
  9. #region 单例模式
  10. public static Class_DataBus dataBus = null;
  11. public static Class_DataBus GetInstance()
  12. {
  13. if (dataBus == null)
  14. {
  15. dataBus = new Class_DataBus();
  16. }
  17. return dataBus;
  18. }
  19. #endregion
  20. #region 基础配置
  21. #endregion
  22. #region 实时数据->大数据量
  23. /// <summary>
  24. /// 设备数据
  25. /// </summary>
  26. public ConcurrentDictionary<string, object> Dic_DeviceData = new ConcurrentDictionary<string, object>(); //原始目标链表
  27. #endregion
  28. }
  29. }