public DowntimeRepository( IconicsContext context, FmsbOeeContext fmsbOeeContext, Fmsb2Context fmsb2Context ) { _context = context ?? throw new ArgumentNullException(nameof(context)); _fmsbOeeContext = fmsbOeeContext ?? throw new ArgumentNullException(nameof(fmsbOeeContext)); _fmsb2Context = fmsb2Context; }
public OeeService( IProductionService productionService, IScrapService scrapService, IDowntimeRepository downtimeRepository, FmsbOeeContext fmsbOeeContext ) { _productionService = productionService ?? throw new ArgumentNullException(nameof(productionService)); _scrapService = scrapService ?? throw new ArgumentNullException(nameof(scrapService)); _downtimeRepository = downtimeRepository ?? throw new ArgumentNullException(nameof(downtimeRepository)); _fmsbOeeContext = fmsbOeeContext ?? throw new ArgumentNullException(nameof(fmsbOeeContext)); }
public MachineController(FmsbOeeContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public DowntimeReasonsController(FmsbOeeContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public OeeController(FmsbOeeContext context, IOeeService oeeService) { _context = context ?? throw new ArgumentNullException(nameof(context)); _oeeService = oeeService ?? throw new ArgumentNullException(nameof(oeeService)); }