Exemplo 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();
 }
Exemplo 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();
 }
Exemplo n.º 3
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;
 }
Exemplo n.º 4
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();
        }
Exemplo n.º 5
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;
     }
 }
Exemplo n.º 6
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>();
        }
Exemplo n.º 7
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;
            }
        }
Exemplo n.º 8
0
 public CutDesignModel()
 {
     this._repo = new WorkEntryRepo();
     this._repoUcd = new UserCodeRepo();
     this._repoRes = new ResourceRepo();
 }
Exemplo n.º 9
0
 public ProductionRepo()
 {
     this._repoPln = new WorkEntryRepo();
     this._repoRes = new ResourceRepo();
     this._repoUcd = new UserCodeRepo();
 }