public PartDiamond() { DiamondMeasurement = new DiamondMeasurement(); DiamondShape = new DiamondShape(); Part = new Part(); SetDefaults(); }
public double DiamondWeightEstimator(DiamondShape diamondShape, DiamondMeasurement dm) { DiamondCalculations.CalculateWeight dc = new DiamondCalculations.CalculateWeight(); var weight = dc.CalculateDiamondWeight(diamondShape.ShapeName, dm); return((double)weight); }