예제 #1
0
        void addConstituent()
        {
            var constit = new CarbonMaterials.CementAndConcreteConstituent
            {
                Material   = ICE3CementModel.getCementConstituents()["Aggregates"],
                Proportion = 0
            };

            (_material as CarbonMaterials.ICE3ConcreteModel).Constituents.Add(constit);
            Constituents.Add(new ConstituentVM(constit, this));
        }
예제 #2
0
        void addConstituent()
        {
            var constit = new CarbonMaterials.CementAndConcreteConstituent
            {
                Material   = _constituents[0].Material.AllConstituents["Aggregates"],
                Proportion = 0
            };

            (_material as CarbonMaterials.ICE3ConcreteModel).Constituents.Add(constit);
            _constituents.Add(new ConstituentVM(constit, this));
        }