/// <summary>
        /// 缓存要自动撤单的列表
        /// </summary>
        /// <param name="entrustNumber">委托单号</param>
        /// <param name="value">委托单时间</param>
        public void AddAutoCanceOrder(string entrustNumber, DateTime value)
        {
            if (string.IsNullOrEmpty(entrustNumber))
            {
                return;
            }

            if (autoCanceOrder.Contains(entrustNumber))
            {
                return;
            }
            AutoCanceEntry item = new AutoCanceEntry();

            item.EntrustNumber = entrustNumber;
            item.OrderTime     = value;
            autoCanceOrder.Add(entrustNumber, item);
        }
        /// <summary>
        /// 获取所有要处理的自动撤单的委托单列表
        /// </summary>
        /// <returns></returns>
        public List <AutoCanceEntry> GetAllAutocanceOrder()
        {
            ICollection <AutoCanceEntry> list;

            list = autoCanceOrder.GetAll();
            if (list == null)
            {
                return(null);
            }
            List <AutoCanceEntry> lists = new List <AutoCanceEntry>();

            foreach (var item in list)
            {
                AutoCanceEntry model = new AutoCanceEntry();
                model.EntrustNumber = item.EntrustNumber;
                model.OrderTime     = item.OrderTime;
                lists.Add(model);
            }
            return(lists);
        }