Ejemplo n.º 1
0
        public GasConcentration(GasType gasType, double concentration)
        {
            _type = gasType;

            _concentration = concentration;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Creates a new instance of GasConcentration class when gas type code is provided.
        /// </summary>
        public GasConcentration(string code, double concentration)
        {
            _type = GasType.Cache[code];

            _concentration = concentration;
        }