Пример #1
0
        public FormLineCanon()
        {
            InitializeComponent();

            _lineService = new LineService();
            _customerService = new CustomerService();
            _processService = new ProcessService();
            _modelService = new ModelService();
            _showResultService = new ShowResultService();
            _shiftService = new ShiftService();
            _timingService = new TimingService();
            _lineProcessService = new LineProcessService();
        }
Пример #2
0
        public FormLineDetails(string lineId)
        {
            InitializeComponent();
            _lineService = new LineService();
            _customerService = new CustomerService();
            _processService = new ProcessService();
            _modelService = new ModelService();
            _showResultService = new ShowResultService();
            _shiftService = new ShiftService();


            _line = _lineService.GetLineByName(lineId);
            _lineStatus = _modelService.GetLineStatusByLineAndCustomer(_line.Id_line, _line.Id_customer);
        }