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.

KeepDataBase.cs 1.1 KiB

2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627282930
  1. 
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using HBLConsole.Service;
  8. using System.Collections.ObjectModel;
  9. using System.Collections.Concurrent;
  10. namespace HBLConsole.Model
  11. {
  12. public class KeepDataBase
  13. {
  14. /// <summary>
  15. /// 模拟订单数据的配置
  16. /// </summary>
  17. public ConcurrentDictionary<string, ObservableCollection<SimOrderVisibleData>> simOrderConfig { get; set; } = new ConcurrentDictionary<string, ObservableCollection<SimOrderVisibleData>>();
  18. /// <summary>
  19. /// 需要保存的订单数据
  20. /// </summary>
  21. public ConcurrentDictionary<string, ObservableCollection<OrderData>> orderLists { get; set; } = new ConcurrentDictionary<string, ObservableCollection<OrderData>>();
  22. //public static ObservableCollection<OrderData> orderStatusLists { get; set; } = new ObservableCollection<OrderData>();
  23. //public ObservableCollection<SimOrderVisibleData> simOrderConfig { get; set; } = new ObservableCollection<SimOrderVisibleData>();
  24. }
  25. }