Beispiel #1
0
        // ============================ Public Members ============================

        /// <summary>
        /// Default constructor
        /// </summary>
        public SchedulingOld()
        {
            schedule  = new ShiftSkeletonOld();
            employees = new RosterOld();
        }
Beispiel #2
0
        // ============================ Private Methods ============================

        /// <summary>
        /// Initializes and loads the data for this schedule
        /// </summary>
        /// <param name="availabilityData">Availability data for each employee along with employee information (name, username, shift they can work)</param>
        /// <param name="skeletonData">Skeleton shift data - the layout of the schedule with all the shifts that need to be filled by employees</param>
        private void Load(string availabilityData, string skeletonData)
        {
            // load data
            schedule  = new ShiftSkeletonOld(skeletonData);
            employees = new RosterOld(availabilityData);
        }