using CareFusion.Mosaic.Interfaces.Types.Articles;
using CareFusion.Mosaic.Interfaces.Types.Input;
using StorageSystem.Simulator.Interfaces;

namespace StorageSystem.Simulator.Factories
{
    internal class RobotArticleFactory : IRobotArticleFactory
    {
        public RobotArticle Create(StockDeliveryItem stockDeliveryItem)
        {
            return new RobotArticle()
            {
                Name = stockDeliveryItem.Name,
                RequiresFridge = stockDeliveryItem.RequiresFridge,
                ID = stockDeliveryItem.ID,
                PackagingUnit = stockDeliveryItem.PackagingUnit,
                DosageForm = stockDeliveryItem.DosageForm,
            };
        }

    }
}
