Ejemplo n.º 1
0
        /// <summary>
        /// creates the pump using the name of the pump provided.
        /// </summary>
        /// <param name="i">the name of the pump</param>
        /// <returns>returns the pump.</returns>
        private Pump createPump(int i)
        {
            Pump p = new Pump(m_unleaded, m_LGP, m_diesel, i, false);                       //creates the pumps.

            return(p);
        }