示例#1
0
        public ICEv3ConcreteVM(ICE3ConcreteModel material, Measurement measure)
        {
            _measure = measure;

            _material = material;
            _concMat  = material;

            setTransportToSite();
            setTransportToDisposal();
        }
示例#2
0
        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
            }));
        }
示例#3
0
        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);
        }