private void releaseProductFromStation(Product product, IStation station) { if (station != null && product != null && station.CurrentProduct != null && station.CurrentProduct.Name == product.Name) { station.ReleaseProduct(); } }