Example #1
0
 public bool ContainsStatus(RemindStatus status)
 {
     if (this.m_remindStatus.Any())
     {
         return(this.m_remindStatus.Any(item => item == status));
     }
     return(true);
 }
Example #2
0
        public static void Save(decimal orderId, RemindStatus status, string carrier, Guid acceptor, string customNO = "")
        {
            var order = new RemindInfo()
            {
                Id       = orderId,
                Status   = status,
                Carrier  = carrier,
                Acceptor = acceptor,
                CustomNO = customNO
            };
            var repository = Repository.Factory.CreateRemindRepository();

            repository.Save(order);
        }
Example #3
0
 public RemindData(RemindStatus status, int count)
 {
     this.Status = status;
     this.Count  = count;
 }
Example #4
0
 public void ChangeStatus(int id, RemindStatus status)
 {
     ChangeCount(id, (int)status);
 }