Esempio n. 1
0
 public PcsActiveTemps(string parameterName, string batchNum, string recipeName, decimal vesselTemp, RecipeTypes recipeType, IPcsActiveTempParameters pcsActiveTempParameters, IPcsToleranceParameterRepository pcsToleranceParameterRepository) :
     base(parameterName, batchNum, recipeName, recipeType, pcsToleranceParameterRepository)
 {
     _pcsActiveTempParameters = pcsActiveTempParameters;
     ActualWeight             = vesselTemp;
     SetLimits();
     IsOutOfTolerance = CalculateOutOfSpec(UpperLimit, LowerLimit);
     IsOutOfRange     = CalculateOutOfSpec(OutOfRangeUpperLimit, OutOfRangeLowerLimit);
 }
 public ComplianceCalculator(IPcsReworkParameters pcsReworkParameters, IPcsScoringRepository pcsScoringRepository,
                             IPcsToleranceParameterRepository pcsToleranceParameterRepository, IPcsWeightParameterRepository pcsParameterRepository,
                             IPcsActiveTempParameters pcsActiveTempParameters, IHelperMethods helperMethods, IMaterialDetailsRepository materialDetailsRepository)
 {
     _pcsReworkParameters       = pcsReworkParameters;
     _pcsScoringRepository      = pcsScoringRepository;
     _pcsToleranceParameter     = pcsToleranceParameterRepository;
     _pcsParameterRepository    = pcsParameterRepository;
     _pcsActiveTempParameters   = pcsActiveTempParameters;
     _helperMethods             = helperMethods;
     _materialDetailsRepository = materialDetailsRepository;
 }
 public QualityController(IBatchRepository batchRepository,
                          IPcsWeightParameterRepository pcsParameterRepository, IPcsReworkParameters pcsReworkParameters,
                          IPcsActiveTempParameters pcsActiveTempParameters, IPcsScoringRepository pcsScoringRepository,
                          IPcsToleranceParameterRepository pcsToleranceParameter, IRecipeLimitRepository recipeLimitRepository,
                          IHelperMethods helperMethods, IApplicationData applicationData, IMaterialDetailsRepository materialDetailsRepository)
 {
     _batchRepository           = batchRepository;
     _pcsParameterRepository    = pcsParameterRepository;
     _pcsReworkParameters       = pcsReworkParameters;
     _pcsActiveTempParameters   = pcsActiveTempParameters;
     _pcsScoringRepository      = pcsScoringRepository;
     _pcsToleranceParameter     = pcsToleranceParameter;
     _recipeLimitRepository     = recipeLimitRepository;
     _helperMethods             = helperMethods;
     _applicationData           = applicationData;
     _materialDetailsRepository = materialDetailsRepository;
     _generalHelperMethods      = new GeneralHelperMethods(_batchRepository);
 }
Esempio n. 4
0
 public PcsTempTargetsSettingsController(BatchContext context, IPcsActiveTempParameters pcsActiveTempParameters)
 {
     _context = context;
     _pcsActiveTempParameters = pcsActiveTempParameters;
 }
 public PcsCompliance_Tests()
 {
     _pcsScoringRepository    = new MockPcsScoringRepository();
     _pcsToleranceParameter   = new MockToleranceParameterRepository();
     _pcsActiveTempParameters = new MockPcsActiveTempParametersRepository();
 }