예제 #1
0
        public GasConcentration(GasType gasType, double concentration)
        {
            _type = gasType;

            _concentration = concentration;
        }
예제 #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;
        }