コード例 #1
0
        /**
         * This function initalises the next patient when an appointment is booked for the day
         * */
        public void getNextPatient( )
        {
            nextPatient = converter.InitNextPatient( );
            converter.removeAppointment( );
            string appointment = converter.nextPatientAppointment().AppointmentTime.ToString();

            name = nextPatient.FirstName + " " + nextPatient.LastName + "\n" + appointment;
        }