Esempio n. 1
0
 public WorkEntryRepo()
 {
     this._repoUcode = new UserCodeRepo();
     this._repoResrc = new ResourceRepo();
     this._repoCls = new ClassMasterRepo();
     this._repoRule = new CoilBackRuleRepo();
     this._repoIn = new StoreInRepo();
 }
Esempio n. 2
0
 public PackingOrderRepo()
 {
     this._repoUcode = new UserCodeRepo();
     this._repoResrc = new ResourceRepo();
     this._repoCls = new ClassMasterRepo();
     this._repoRule = new CoilBackRuleRepo();
     this._repoIn = new StoreInRepo();
     this._repoWork = new WorkEntryRepo();
     this._repoProd = new ProductionRepo();
 }
Esempio n. 3
0
        public InventoryRepo(
            IInventorySnapshotProcessor snapshotProcessor,
            IResourceRepo resourceRepo,
            IFileSystemWrapper fileSystem)
            : base(fileSystem)
        {
            _resourceRepo = resourceRepo;
            _fileSystem   = fileSystem;

            _inventorySnapshotProcessor = snapshotProcessor;
        }
Esempio n. 4
0
 public WorkEntryDialog(SessionInfo _session, IEnumerable<PlanningHeadModel> param = null)
 {
     InitializeComponent();
     this._repo = new WorkEntryRepo();
     this._repoRes = new ResourceRepo();
     this._repoUcd = new UserCodeRepo();
     this._model = param;
     //this.PatternPara = "";
     //this.StorePerPcsPara = "";
     //this.RemarkPara = "";
     epiSession = _session;
 }
Esempio n. 5
0
 public ResourcesController(IResourceRepo resources, ITenantRepo tenants, IConfiguration config,
                            ILoggerService logger, IEmailService email, ILeasingDataRepo leasingDatas,
                            IResourceDataFactory resourceDataFactory)
 {
     _resources           = resources;
     _tenants             = tenants;
     _config              = config;
     _logger              = logger;
     _email               = email;
     _resourceDataFactory = resourceDataFactory;
     _leasingDatas        = leasingDatas;
     dateFormat           = _config.GetSection("DateFormats").GetSection("Default").Value;
 }
Esempio n. 6
0
        public MaterialTracker(SessionInfo _session = null, string str = null)
        {
            InitializeComponent();
            epiSession = _session;
            _repoWork = new WorkEntryRepo();
            _repo = new MaterialFindingRepo();
            _repoResrc = new ResourceRepo();
            _repoUcode = new UserCodeRepo();

            list = new List<MaterialFindingModel>();
            possessionList = new List<UserCodeModel>();
            resourceList = new List<ResourceModel>();
            modelFilter = new MaterialFindingModel();
        }
Esempio n. 7
0
 public ProductionSlitter(SessionInfo _session = null, ProductionHeadModel model = null)
 {
     InitializeComponent();
     epiSession = _session;
     this._repo = new ProductionRepo();
     this._repoPlan = new WorkEntryRepo();
     this._repoRes = new ResourceRepo();
     this._repoUcd = new UserCodeRepo();
     HeaderContent = new ProductionHeadModel();
     cuttingList = new Dictionary<int, string>();
     pauseFlag = false;
     if (model != null)
     {
         this.HeaderContent = model;
     }
 }
Esempio n. 8
0
        public PlanningHeadModel()
        {
            _repo = new WorkEntryRepo();
            _repoUcd = new UserCodeRepo();
            _repoRes = new ResourceRepo();

            LevSimulates = new List<LevellerSimulateModel>();
            Class = new ClassMasterModel();
            CoilBacks = new List<CoilBackModel>();
            CoilBackRoles = new List<CoilBackRuleModel>();
            CuttingDesign = new List<CutDesignModel>();
            Materials = new List<MaterialModel>();
            OrderTypeList = new List<UserCodeModel>();
            Possessions = new List<UserCodeModel>();
            ProcessLine = new ResourceModel();
            Resources = new List<ResourceModel>();
        }
Esempio n. 9
0
        public WorkEntry(SessionInfo _session = null, PlanningHeadModel model = null)
        {
            InitializeComponent();
            this._repoRes = new ResourceRepo();
            this._repoUcd = new UserCodeRepo();
            this._repo = new WorkEntryRepo();
            this._reRes = new ResourceRepo();
            this._repoSale = new SaleOrderRepo();
            this._repoCls = new ClassMasterRepo();

            this.HeaderContent = new PlanningHeadModel();
            this._class = new ClassMasterModel();

            //Initial Session and content
            this.HeaderContent = new PlanningHeadModel();
            epiSession = _session;
            if (model != null)
            {
                this.HeaderContent = model;
            }
        }
Esempio n. 10
0
 public CutDesignModel()
 {
     this._repo = new WorkEntryRepo();
     this._repoUcd = new UserCodeRepo();
     this._repoRes = new ResourceRepo();
 }
Esempio n. 11
0
 public ProductionPlanRepo()
 {
     this._work = new WorkEntryRepo();
     this._repoResrc = new ResourceRepo();
 }
Esempio n. 12
0
 public ProductionRepo()
 {
     this._repoPln = new WorkEntryRepo();
     this._repoRes = new ResourceRepo();
     this._repoUcd = new UserCodeRepo();
 }