Пример #1
0
 public SelBoxCasePalletSolution(Document document, BoxCasePalletAnalysis analysis, BoxCasePalletSolution sol)
     : base(document)
 {
     _analysis = analysis;
     _solution = sol;
     ID.Name   = sol.Title;
 }
Пример #2
0
        public int CompareTo(object obj)
        {
            BoxCasePalletSolution sol = (BoxCasePalletSolution)obj;

            if (this.BoxPerPalletCount > sol.BoxPerPalletCount)
            {
                return(-1);
            }
            else if (this.BoxPerPalletCount == sol.BoxPerPalletCount)
            {
                return(0);
            }
            else
            {
                return(1);
            }
        }