Exemplo n.º 1
0
        public SelHCylinderPalletSolution(Document document, HCylinderPalletAnalysis analysis, HCylinderPalletSolution sol)
            : base(document)
        {
            _analysis = analysis;
            _analysis.AddDependancy(this);

            _solution = sol;
            ID.Name   = sol.Title;
        }
Exemplo n.º 2
0
        public void ProcessAnalysis(HCylinderPalletAnalysis analysis)
        {
            _cylProperties    = analysis.CylinderProperties;
            _palletProperties = analysis.PalletProperties;
            _constraintSet    = analysis.ConstraintSet;
            if (!_constraintSet.IsValid)
            {
                throw new EngineException("Constraint set is invalid!");
            }

            analysis.Solutions = GenerateSolutions();
        }
Exemplo n.º 3
0
 public HCylinderPalletSolution(HCylinderPalletAnalysis parentAnalysis, string title)
 {
     _parentAnalysis = parentAnalysis;
     _title          = title;
 }