using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.BL.Entities; namespace Tango.Integration.Operation { public class InsufficientLiquidQuantityException : Exception { public class IDSPackLevel { public IdsPack IdsPack { get; set; } public int Current { get; set; } public int Required { get; set; } public bool IsValid { get { return Current >= Required; } } } public InsufficientLiquidQuantityException(String message) : base(message) { IdsPackLevels = new List(); } public List IdsPackLevels { get; internal set; } } }