/// <summary> /// Helper function to check if the container is placed in the specific place. /// </summary> /// <param name="bay"></param> /// <param name="tier"></param> /// <param name="row"></param> /// <returns></returns> protected bool containerIsPlaced(int bay, int tier, int row) { return(ContainerList.Exists(x => x.Bay.Equals(bay) && x.Tier.Equals(tier) && x.Row.Equals(row) && x.containerLoaded)); }