public static GWPMaterialSet GetDefaultGlulam() { var timber = new ICETimber("Glue Laminated timber ", false); timber.TransportsToSite.Clear(); timber.TransportsToSite.Add(MaterialTransport.DefaultDieselRigidHGV()); timber.TransportsToDispoal.Clear(); timber.TransportsToDispoal.Add(MaterialTransport.DefaultDieselRigidHGV()); timber.ConstructionFactor = 2; timber.DeConstructionFactor = 1; return(new GWPMaterialSet("Default glulam", new List <GWPMaterial> { timber })); }
public override GWPMaterial getCopy() { var returnMaterial = new ICETimber(this.TimberMaterial, this.IncludeCarbonFromBiomass); returnMaterial._carbonFraction = this.CarbonFraction; returnMaterial._moistureContent = this._moistureContent; returnMaterial._timberMaterial = this._timberMaterial; returnMaterial.ConstructionFactor = this.ConstructionFactor; returnMaterial.DeConstructionFactor = this.DeConstructionFactor; returnMaterial.InUseFactor = this.InUseFactor; returnMaterial._massDensity = this.MassDensity; returnMaterial.IncludeSequesteredCarbon = this.IncludeSequesteredCarbon; foreach (var item in this.TransportsToSite) { returnMaterial.TransportsToSite.Add(item); } foreach (var item in this.TransportsToDispoal) { returnMaterial.TransportsToDispoal.Add(item); } return(returnMaterial); }