using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NurseRosterProb
{
    class Cls_GICU
    {
        public string[,] Function_MainTab(string[,] MainTab, int RNurse)
        {
            for (int i = 0; i < 15; i++)
            {
                MainTab[RNurse + i, 1] = "N"; MainTab[RNurse + i, 2] = "N"; MainTab[RNurse + i, 3] = "N";
                MainTab[RNurse + i, 4] = "N"; MainTab[RNurse + i, 5] = "O"; MainTab[RNurse + i, 6] = "O";
            }
            //////////////////////////////
            for (int i = 15; i < 30; i++)
            {
                MainTab[RNurse + i, 4] = "O";
                MainTab[RNurse + i, 5] = "N"; MainTab[RNurse + i, 6] = "N"; MainTab[RNurse + i, 7] = "N";
                MainTab[RNurse + i, 8] = "N"; MainTab[RNurse + i, 9] = "O"; MainTab[RNurse + i, 10] = "O";
            }
            //////////////////////////////
            for (int i = 30; i < 45; i++)
            {
                MainTab[RNurse + i, 8] = "O";
                MainTab[RNurse + i, 09] = "N"; MainTab[RNurse + i, 10] = "N"; MainTab[RNurse + i, 11] = "N";
                MainTab[RNurse + i, 12] = "N"; MainTab[RNurse + i, 13] = "O"; MainTab[RNurse + i, 14] = "O";

                MainTab[RNurse + i, 3] = "O";
            }
            //////////////////////////////
            for (int i = 45; i < 60; i++)
            {
                MainTab[RNurse + i, 12] = "O";
                MainTab[RNurse + i, 13] = "N"; MainTab[RNurse + i, 14] = "N";

                MainTab[RNurse + i, 7] = "O";
            }
            //////////////////////////////
            MainTab[RNurse + 47, 1] = "O"; MainTab[RNurse + 47, 2] = "O";
            MainTab[RNurse + 48, 1] = "O"; MainTab[RNurse + 48, 2] = "O";
            MainTab[RNurse + 49, 1] = "O"; MainTab[RNurse + 49, 2] = "O";
            MainTab[RNurse + 50, 1] = "O"; MainTab[RNurse + 50, 2] = "O";
            MainTab[RNurse + 51, 1] = "O"; MainTab[RNurse + 51, 2] = "O";
            MainTab[RNurse + 52, 1] = "O"; MainTab[RNurse + 52, 2] = "O";
            MainTab[RNurse + 53, 1] = "O"; MainTab[RNurse + 53, 2] = "O";
            MainTab[RNurse + 54, 1] = "O"; MainTab[RNurse + 54, 2] = "O";
            MainTab[RNurse + 55, 1] = "O"; MainTab[RNurse + 55, 2] = "O";
            MainTab[RNurse + 56, 1] = "O"; MainTab[RNurse + 56, 2] = "O";
            MainTab[RNurse + 57, 1] = "O"; MainTab[RNurse + 57, 2] = "O";
            MainTab[RNurse + 58, 1] = "O"; MainTab[RNurse + 58, 2] = "O";
            MainTab[RNurse + 59, 1] = "O"; MainTab[RNurse + 59, 2] = "O";
            MainTab[RNurse + 60, 1] = "O"; MainTab[RNurse + 60, 2] = "O";
            MainTab[RNurse + 61, 1] = "O"; MainTab[RNurse + 61, 2] = "O";
            MainTab[RNurse + 62, 1] = "O"; MainTab[RNurse + 62, 2] = "O";
            MainTab[RNurse + 63, 1] = "O"; MainTab[RNurse + 63, 2] = "O";
            MainTab[RNurse + 64, 1] = "O"; MainTab[RNurse + 64, 2] = "O";
            MainTab[RNurse + 65, 1] = "O"; MainTab[RNurse + 65, 2] = "O";
            MainTab[RNurse + 66, 1] = "O"; MainTab[RNurse + 66, 2] = "O";
            MainTab[RNurse + 67, 1] = "O"; MainTab[RNurse + 67, 2] = "O";
            MainTab[RNurse + 68, 1] = "O"; MainTab[RNurse + 68, 2] = "O";
            MainTab[RNurse + 69, 1] = "O"; MainTab[RNurse + 69, 2] = "O";
            MainTab[RNurse + 70, 1] = "O"; MainTab[RNurse + 70, 2] = "O";
            MainTab[RNurse + 71, 1] = "O"; MainTab[RNurse + 71, 2] = "O";
            MainTab[RNurse + 72, 1] = "O"; MainTab[RNurse + 72, 2] = "O";

            return MainTab;
        }
    }
}
