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

namespace NurseRosterProb
{
    class Cls_N50
    {
        public string[,] Function_MainTab(string[,] MainTab, int RNurse)
        {
            for (int i = 0; i < 10; 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 = 10; i < 20; 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 = 20; i < 30; 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 = 30; i < 40; i++)
            {
                MainTab[RNurse + i, 12] = "O";
                MainTab[RNurse + i, 13] = "N"; MainTab[RNurse + i, 14] = "N";

                MainTab[RNurse + i, 7] = "O";
            }
            //////////////////////////////
            MainTab[RNurse + 30, 1] = "O"; MainTab[RNurse + 30, 2] = "O";
            MainTab[RNurse + 31, 1] = "O"; MainTab[RNurse + 31, 2] = "O";
            MainTab[RNurse + 32, 1] = "O"; MainTab[RNurse + 32, 2] = "O";
            MainTab[RNurse + 33, 1] = "O"; MainTab[RNurse + 33, 2] = "O";
            MainTab[RNurse + 34, 1] = "O"; MainTab[RNurse + 34, 2] = "O";
            MainTab[RNurse + 35, 1] = "O"; MainTab[RNurse + 35, 2] = "O";
            MainTab[RNurse + 36, 1] = "O"; MainTab[RNurse + 36, 2] = "O";
            MainTab[RNurse + 37, 1] = "O"; MainTab[RNurse + 37, 2] = "O";
            MainTab[RNurse + 38, 1] = "O"; MainTab[RNurse + 38, 2] = "O";
            MainTab[RNurse + 39, 1] = "O"; MainTab[RNurse + 39, 2] = "O";
            MainTab[RNurse + 40, 1] = "O"; MainTab[RNurse + 40, 2] = "O";
            MainTab[RNurse + 41, 1] = "O"; MainTab[RNurse + 41, 2] = "O";
            MainTab[RNurse + 42, 1] = "O"; MainTab[RNurse + 42, 2] = "O";
            MainTab[RNurse + 43, 1] = "O"; MainTab[RNurse + 43, 2] = "O";
            MainTab[RNurse + 44, 1] = "O"; MainTab[RNurse + 44, 2] = "O";
            MainTab[RNurse + 45, 1] = "O"; MainTab[RNurse + 45, 2] = "O";
            MainTab[RNurse + 46, 1] = "O"; MainTab[RNurse + 46, 2] = "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";
            
            return MainTab;
        }
    }
}
