Ejemplo n.º 1
0
        public override List <QuestionAnswer> GetQuestions()
        {
            List <QuestionAnswer> messagesAndAnswers = base.GetQuestions();
            QuestionAnswer        fuelQuestion       = FuelProperties.GetFuelQuestion();

            m_QnACurrentEnergy = messagesAndAnswers.Count;
            messagesAndAnswers.Add(fuelQuestion);

            return(messagesAndAnswers);
        }
Ejemplo n.º 2
0
        public override List <QuestionAnswer> GetQuestions()
        {
            List <QuestionAnswer> messagesAndAnswers = base.GetQuestions();
            QuestionAnswer        fuelQuestion       = FuelProperties.GetFuelQuestion();

            m_QnACargoCapacity = messagesAndAnswers.Count;
            messagesAndAnswers.Add(new QuestionAnswer("Please enter the truck cargo capacity.", string.Empty));
            m_QnADangerusMaterials = messagesAndAnswers.Count;
            messagesAndAnswers.Add(new QuestionAnswer("Please enter if the truck carries and dangerus materials, enter 1 for yes, else enter 0.", string.Empty));
            m_QnACurrentEnergy = messagesAndAnswers.Count;
            messagesAndAnswers.Add(fuelQuestion);

            return(messagesAndAnswers);
        }