public void CreateMcsStudy(ValueMatrixType valueMatrixType, StudyResultType studyResultType, string name, ref IStudy study) { if (name.Equals("PDSCH MCS") || name.Equals("PUSCH MCS") || name.Equals("RPDSCH MCS") || name.Equals("RPUSCH MCS")) { study = new LteMcsStudy(); } }
public void CreateBestServerStudy(ValueMatrixType valueMatrixType, StudyResultType studyResultType, string name, ref IStudy study) { if (name.Equals("Best Server")) { study = new LteBestServerStudy(); } }
private IStudy CreateStudy(ValueMatrixType valueMatrixType, StudyResultType studyResultType) { if (valueMatrixType == ValueMatrixType.IntType) { if (studyResultType == StudyResultType.Discrete) { return new IntDiscreteStudy(); } return new IntIntervalStudy(); } if (studyResultType == StudyResultType.Discrete) { return new ShortDiscreteStudy(); } return new ShortIntervalStudy(); }