public ProcessRevMaintenanceModel(IProcessDataAccess aProcessDataAccess,
                                   IStepDataAccess aStepDataAccess,
                                   IOperationDataAccess anOperationDataAccess,
                                   IEmployeeDataAccess anEmployeeDataAccess,
                                   IConfiguration aConfig)//Config is injected only to grab the APIAddress for the javascript calls on the web page.
 {
     ProcessDataAccess   = aProcessDataAccess;
     StepDataAccess      = aStepDataAccess;
     OperationDataAccess = anOperationDataAccess;
     EmployeeDataAccess  = anEmployeeDataAccess;
     _apiAddress         = aConfig["APIAddress"];
 }
Exemplo n.º 2
0
 public SpecProcessAssignmentModel(ISpecProcessAssignDataAccess aSpecProcessAssignDataAccess,
                                   IProcessDataAccess aProcessDataAccess,
                                   ISpecDataAccess aSpecDataAccess,
                                   IStepDataAccess aStepDataAccess,
                                   ICustomerDataAccess aCustomerDataAccess,
                                   IHardnessDataAccess aHardnessDataAccess,
                                   IMaterialSeriesDataAccess aMaterialSeriesDataAccess,
                                   IMaterialAlloyDataAccess aMaterialAlloyDataAccess,
                                   IConfiguration aConfig)
 {
     SpecProcessAssignDataAccess = aSpecProcessAssignDataAccess;
     ProcessDataAccess           = aProcessDataAccess;
     SpecificationDataAccess     = aSpecDataAccess;
     CustomerDataAccess          = aCustomerDataAccess;
     Config      = aConfig;
     _apiAddress = aConfig["APIAddress"];
 }
Exemplo n.º 3
0
 public StepMaintenanceModel(IConfiguration aConfig,
                             IStepDataAccess aStepDataAccess)
 {
     Config         = aConfig;
     StepDataAccess = aStepDataAccess;
 }
 public SpecificationMaintenanceModel(ISpecDataAccess aSpecDataAccess, ISamplePlanDataAccess aSamplePlanDataAccess, IStepDataAccess aStepDataAccess)
 {
     SpecDataAccess       = aSpecDataAccess;
     SamplePlanDataAccess = aSamplePlanDataAccess;
     StepDataAccess       = aStepDataAccess;
 }
Exemplo n.º 5
0
 public StepListingModel(IConfiguration aConfig, IStepDataAccess aStepDataAccess)
 {
     Config         = aConfig;
     StepDataAccess = aStepDataAccess;
 }