private static canSchedulePinnedStation ( int Day, int Slot ) : bool | ||
Day | int | |
Slot | int | |
return | bool |
private static bool canSchedulePinnedStation(int Day, int Slot)
{
// is this is the last slot for the day or is the slot right before lunch, then I can't schedule an activity pin here
if (Slot == nSlots[Day] || Slot == lunchSlot[Day] - 1 || Slot == lunchSlot[Day] )
return false;
return true;
}