Exemplo n.º 1
0
 public ZBVController()
 {
     _sCESEquipmentService = Program.getService <SCESEquipmentService>();
     _plantService         = Program.getService <PlantService>();
     //using (var scope = Program.Container.BeginLifetimeScope())
     //{
     //    _lotSvc = scope.Resolve<ILotService>();
     //    _recipeSvc = scope.Resolve<IRecipeService>();
     //    _plantSvc = scope.Resolve<IPlantService>();
     //    _unitOfwork = scope.Resolve<IUnitOfWorkAsync>();
     //}
 }
Exemplo n.º 2
0
        public ModuleLineController()
        {
            _sCESEquipmentService = Program.getService <SCESEquipmentService>();
            _equipmentService     = Program.getService <EquipmentService>();
            _pLCEquipmentService  = Program.getService <PLCEquipmentService>();

            _processService        = Program.getService <ProcessService>();
            _sectionService        = Program.getService <SectionService>();
            _lineService           = Program.getService <LineService>();
            _plantService          = Program.getService <PlantService>();
            _processSectionService = Program.getService <ProcessSectionService>();
            //using (var scope = Program.Container.BeginLifetimeScope())
            //{
            //    _lotSvc = scope.Resolve<ILotService>();
            //    _recipeSvc = scope.Resolve<IRecipeService>();
            //    _plantSvc = scope.Resolve<IPlantService>();
            //    _unitOfwork = scope.Resolve<IUnitOfWorkAsync>();
            //}
        }