示例#1
0
 public long GetCount(EnumCountType countType)
 {
     if (_dicIncCounts.ContainsKey(countType))
     {
         return(_dicIncCounts[countType]);
     }
     else
     {
         return(0);
     }
 }
示例#2
0
 public void Increase(EnumCountType countType)
 {
     if (_dicIncCounts.ContainsKey(countType))
     {
         _dicIncCounts[countType] = _dicIncCounts[countType] + 1;
     }
     else
     {
         _dicIncCounts.Add(countType, 1);
     }
 }
示例#3
0
 public static SupplierCounter GetSupplierCounter(int objectID, EnumCountType countType, DateTime countDate)
 {
     return(supplierUserDAL.GetSupplierCounter(objectID, (int)countType, countDate));
 }