public SelHCylinderPalletSolution(Document document, HCylinderPalletAnalysis analysis, HCylinderPalletSolution sol) : base(document) { _analysis = analysis; _analysis.AddDependancy(this); _solution = sol; ID.Name = sol.Title; }
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(); }
public HCylinderPalletSolution(HCylinderPalletAnalysis parentAnalysis, string title) { _parentAnalysis = parentAnalysis; _title = title; }