ServiceQueues[i] = new ServiceQueues();
}
SysClock = new SysClock();
Buttons[0] = new Buttons(1,true);
Buttons[1] = new Buttons(1,true);
Buttons[2] = new Buttons(1,true);
Buttons[3] = new Buttons(2,false);
Buttons[4] = new Buttons(2,false);
Buttons[5] = new Buttons(2,false);
Buttons[6] = new Buttons(2,true);
Buttons[7] = new Buttons(2,true);
Buttons[8] = new Buttons(2,true);
Buttons[9] = new Buttons(3,false);
Buttons[10] = new Buttons(3,false);
Buttons[11] = new Buttons(3,false);
Buttons[12] = new Buttons(3,true);
Buttons[13] = new Buttons(3,true);
Buttons[14] = new Buttons(3,true);
Buttons[15] = new Buttons(4,false);
Buttons[16] = new Buttons(4,false);
Buttons[17] = new Buttons(4,false);
Buttons[18] = new Buttons(4,true);
Buttons[19] = new Buttons(4,true);
Buttons[20] = new Buttons(4,true);
Buttons[21] = new Buttons(5,false);
Buttons[22] = new Buttons(5,false);
Buttons[23] = new Buttons(5,false);
Buttons[24] = new Buttons(5,true);
Buttons[25] = new Buttons(5,true);
Buttons[26] = new Buttons(5,true);
Buttons[27] = new Buttons(6,false);
Buttons[28] = new Buttons(6,false);
Buttons[29] = new Buttons(6,false);
for(int i=0;i<ELEVATORS;i++)
{
LiftStatusRecord[i].setCurrentLevel(1);