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.

19 lines
668 B

using System.Collections.Concurrent;
using GpsModels;
namespace GPSServer.Helper
{
public class MApplication
{
/// <summary>
/// 待处理到RealTime的数据-列队线程安全的列队字典
/// </summary>
public static ConcurrentDictionary<long, ConcurrentQueue<GpsModel>> ConcurrentQueues = new ConcurrentDictionary<long, ConcurrentQueue<GpsModel>>();
/// <summary>
/// 待持久化gps数据的列队字典(car)
/// </summary>
public static ConcurrentDictionary<long, ConcurrentQueue<GpsModel>> CarConcurrentQueues = new ConcurrentDictionary<long, ConcurrentQueue<GpsModel>>();
}
}