using MwFramework.ManagerService;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MainShell.Recipe.Models
{
    public sealed class CarrierRecipe : RecipeBase
    {
        public override string Dir => System.IO.Path.Combine(MainShell.Filewritable.Paths.CarrierRecipe, RecipeName);

        private ObservableCollection<SubstrateSelectInfo> _substrateSelectInfos = new ObservableCollection<SubstrateSelectInfo>();
        public ObservableCollection<SubstrateSelectInfo> SubstrateSelectInfos
        {
            get { return _substrateSelectInfos; }
            set { SetProperty(ref _substrateSelectInfos, value); }  
        }

        private LogisticsParameterItem _logisticsParameterItem = new LogisticsParameterItem();

        public LogisticsParameterItem  LogisticsParameterItem
        {
            get { return  _logisticsParameterItem; }
            set { SetProperty(ref _logisticsParameterItem, value); }   
        }

        private CarrierInfo  _carrierInfo=new CarrierInfo();

        public CarrierInfo  CarrierInfo
        {
            get { return  _carrierInfo; }
            set { SetProperty(ref _carrierInfo, value); }  
        }


        public CarrierRecipe(string name) : base(name)
        {
        }
        public CarrierRecipe():base()
        {
           
        }
       
    }
}
