public ICEv3ConcreteVM(ICE3ConcreteModel material, Measurement measure) { _measure = measure; _material = material; _concMat = material; setTransportToSite(); setTransportToDisposal(); }
public static GWPMaterialSet GetDefaultRC2025() { var conc = ICE3ConcreteModel.DefaultRC2025oncrete(); conc.ReinforcementDensity = 150; conc.TransportsToSite.Clear(); conc.TransportsToSite.Add(MaterialTransport.DefaultDieselRigidHGV()); conc.TransportsToDispoal.Clear(); conc.TransportsToDispoal.Add(MaterialTransport.DefaultDieselRigidHGV()); conc.ConstructionFactor = 2; conc.DeConstructionFactor = 1; return(new GWPMaterialSet("RC 20/25", new List <GWPMaterial> { conc })); }
public override GWPMaterial getCopy() { var returnMaterial = new ICE3ConcreteModel(); // TO BE COMPLETED returnMaterial.ConstructionFactor = this.ConstructionFactor; returnMaterial.DeConstructionFactor = this.DeConstructionFactor; returnMaterial.InUseFactor = this.InUseFactor; returnMaterial.IncludeSequesteredCarbon = this.IncludeSequesteredCarbon; returnMaterial._massDensity = this.MassDensity; foreach (var item in this.TransportsToSite) { returnMaterial.TransportsToSite.Add(item); } foreach (var item in this.TransportsToDispoal) { returnMaterial.TransportsToDispoal.Add(item); } return(returnMaterial); }