private void CreatePeakMartixStruct(CalculatorMatrixStruct matrixStruct, IStudy study, int blockIndex) { if (study.Name.Equals("DL MAC Peak Throughput")) { matrixStruct.DLPEAKValue = this.m_DLPEAKValue.MatrixBlockArr[blockIndex].IntMatrix; } else if (study.Name.Equals("UL MAC Peak Throughput")) { matrixStruct.ULPEAKValue = this.m_ULPEAKValue.MatrixBlockArr[blockIndex].IntMatrix; } else if (study.Name.Equals("DL Application Peak Throughput")) { matrixStruct.DLAPPLICATIONPEAKValue = this.m_DLAPPLICATIONPEAKValue.MatrixBlockArr[blockIndex].IntMatrix; } else if (study.Name.Equals("UL Application Peak Throughput")) { matrixStruct.ULAPPLICATIONPEAKValue = this.m_ULAPPLICATIONPEAKValue.MatrixBlockArr[blockIndex].IntMatrix; } }
//add by huna 3.28 modified 4.1 private void CreateMatrixStructPart4(CalculatorMatrixStruct matrixStruct, IStudy study, int blockIndex) { if (study.Name.Equals("DL RPDCCH SINR")) { matrixStruct.RPDCCH_SINRValue = this.m_RPDCCH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("DL RPDSCH SINR")) { matrixStruct.RPDSCH_SINRValue = this.m_RPDSCH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("UL RPUCCH SINR")) { matrixStruct.RPUCCH_SINRValue = this.m_RPUCCH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("UL RPUSCH SINR")) { matrixStruct.RPUSCH_SINRValue = this.m_RPUSCH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("UL RPUSCH Signal Level")) { matrixStruct.RPUSCH_Level = this.m_UL_RPUSCH_Level.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("RPDSCH MCS")) { matrixStruct.RPDSCHMCSValue = this.m_RPDSCHMCSValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("RDL MAC Peak Throughput")) { matrixStruct.RDLPEAKValue = this.m_RDLPEAKValue.MatrixBlockArr[blockIndex].IntMatrix; } else if (study.Name.Equals("RDL Application Peak Throughput")) { matrixStruct.RDLAPPLICATIONPEAKValue = this.m_RDLAPPLICATIONPEAKValue.MatrixBlockArr[blockIndex].IntMatrix; } else if (study.Name.Equals("RPUSCH MCS")) { matrixStruct.RPUSCHMCSValue = this.m_RPUSCHMCSValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("RUL MAC Peak Throughput")) { matrixStruct.RULPEAKValue = this.m_RULPEAKValue.MatrixBlockArr[blockIndex].IntMatrix; } else if (study.Name.Equals("RUL Application Peak Throughput")) { matrixStruct.RULAPPLICATIONPEAKValue = this.m_RULAPPLICATIONPEAKValue.MatrixBlockArr[blockIndex].IntMatrix; } }
private void CreateMCSMartixStruct(CalculatorMatrixStruct matrixStruct, IStudy study, int blockIndex) { if (study.Name.Equals("DL PDSCH SINR")) { matrixStruct.PDSCHSINRValue = this.m_PDSCHSINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("UL PUSCH SINR")) { matrixStruct.PUSCHSINRValue = this.m_PUSCHSINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("PDSCH MCS")) { matrixStruct.PDSCHMCSValue = this.m_PDSCHMCSValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("PUSCH MCS")) { matrixStruct.PUSCHMCSValue = this.m_PUSCHMCSValue.MatrixBlockArr[blockIndex].ShortMatrix; } }
private void CreateMatrixStructPart2(CalculatorMatrixStruct matrixStruct, IStudy study, int blockIndex) { if (study.Name.Equals("DL PBCH SINR")) { matrixStruct.PBCH_SINRValue = this.m_PBCH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("UL RSRP")) { matrixStruct.ULRSRP = this.m_ULRSRP.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("PUCCH Signal Level")) { matrixStruct.PUCCH_Level = this.m_PUCCH_Level.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("UL PUSCH Signal Level")) { matrixStruct.PUSCH_Level = this.m_PUSCH_Level.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("PUCCH SINR")) { matrixStruct.PUCCH_SINRValue = this.m_PUCCH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("PRACH Signal Level")) { matrixStruct.PRACH_Level = this.m_PRACH_Level.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("PRACH SINR")) { matrixStruct.PRACH_SINRValue = this.m_PRACH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("UL RS SINR")) { matrixStruct.UL_RS_SINRValue = this.m_UL_RS_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } }
private void CreateMatrixStructPart3(CalculatorMatrixStruct matrixStruct, IStudy study, int blockIndex) { if (study.Name.Equals("DL RSRQ")) { matrixStruct.DLRSRQ = this.m_DLRSRQ.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("DL PDCCH Signal Level")) { matrixStruct.DL_PDCCH_Level = this.m_DL_PDCCH_Level.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("DL PDSCH Signal Level")) { matrixStruct.DL_PDSCH_Level = this.m_DL_PDSCH_Level.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("DL PDCCH SINR")) { matrixStruct.PDCCH_SINRValue = this.m_PDCCH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("DL PCFICH Signal Level")) { matrixStruct.DL_PCFICH_Level = this.m_DL_PCFICH_Level.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("DL PCFICH SINR")) { matrixStruct.PCFICH_SINRValue = this.m_PCFICH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("DL PHICH SINR")) { matrixStruct.PHICH_SINRValue = this.m_PHICH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("DL PHICH Signal Level")) { matrixStruct.DL_PHICH_Level = this.m_DL_PHICH_Level.MatrixBlockArr[blockIndex].ShortMatrix; } }
//创建CreateMartixStruct主要为层三指标保存用 public void CreateMartixStruct(int blockIndex) { CalculatorMatrixStruct matrixStruct = new CalculatorMatrixStruct(); foreach (IStudy study in this.m_Group.StudyList) { this.CreateMatrixStructPart1(matrixStruct, study, blockIndex); this.CreateMatrixStructPart2(matrixStruct, study, blockIndex); this.CreateMatrixStructPart3(matrixStruct, study, blockIndex); //add by huna 3.28 this.CreateMatrixStructPart4(matrixStruct, study, blockIndex); this.CreateMCSMartixStruct(matrixStruct, study, blockIndex); this.CreatePeakMartixStruct(matrixStruct, study, blockIndex); } this.m_CalMatrixStructArr.Add(matrixStruct); }
private void CreateMatrixStructPart1(CalculatorMatrixStruct matrixStruct, IStudy study, int blockIndex) { if (study.Name.Equals("DL RS SINR")) { matrixStruct.DLRSSINRValue = this.m_DLRSSINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("DL RSSI")) { matrixStruct.DLRSSI = this.m_DLRSSI.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("Geometry")) { matrixStruct.GeometryValue = this.m_GeometryValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("DL SCH Signal Level")) { matrixStruct.DL_SCH_RP = this.m_DL_SCH_RP.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("DL SCH SINR")) { matrixStruct.SCH_SINRValue = this.m_SCH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix; } else if (study.Name.Equals("DL PBCH Signal Level")) { matrixStruct.DL_PBCH_RP = this.m_DL_PBCH_RP.MatrixBlockArr[blockIndex].ShortMatrix; } }
private void SaveOneBinStudyResultsPart_2(CaseValueTemp oneBinResults, int index, IStudy study, CalculatorMatrixStruct matrixStruct) { if (study.Name.Equals("DL SCH SINR")) { matrixStruct.SCH_SINRValue[index] = oneBinResults.SCH_SINR; } else if (study.Name.Equals("UL RSRP")) { matrixStruct.ULRSRP[index] = oneBinResults.UL_RSRP; } else if (study.Name.Equals("PUCCH Signal Level")) { matrixStruct.PUCCH_Level[index] = oneBinResults.PUCCH_Level; } else if (study.Name.Equals("UL PUSCH Signal Level")) { matrixStruct.PUSCH_Level[index] = oneBinResults.PUSCH_Level; } else if (study.Name.Equals("PUCCH SINR")) { matrixStruct.PUCCH_SINRValue[index] = oneBinResults.PUCCH_SINR; } else if (study.Name.Equals("PRACH Signal Level")) { matrixStruct.PRACH_Level[index] = oneBinResults.PRACH_Level; } else if (study.Name.Equals("PRACH SINR")) { matrixStruct.PRACH_SINRValue[index] = oneBinResults.PRACH_SINR; } }
private void SaveOneBinStudyResultsPart_3(CaseValueTemp oneBinResults, int index, IStudy study, CalculatorMatrixStruct matrixStruct) { if (study.Name.Equals("DL RSRQ")) { matrixStruct.DLRSRQ[index] = oneBinResults.DLRSRQ; } else if (study.Name.Equals("DL PDCCH Signal Level")) { matrixStruct.DL_PDCCH_Level[index] = oneBinResults.DL_PDCCH_Level; } else if (study.Name.Equals("DL PDSCH Signal Level")) { matrixStruct.DL_PDSCH_Level[index] = oneBinResults.DL_PDSCH_Level; } else if (study.Name.Equals("DL PDCCH SINR")) { matrixStruct.PDCCH_SINRValue[index] = oneBinResults.PDCCH_SINR; } else if (study.Name.Equals("DL PCFICH Signal Level")) { matrixStruct.DL_PCFICH_Level[index] = oneBinResults.DL_PCFICH_Level; } else if (study.Name.Equals("DL PCFICH SINR")) { matrixStruct.PCFICH_SINRValue[index] = oneBinResults.PCFICH_SINR; } else if (study.Name.Equals("DL PHICH SINR")) { matrixStruct.PHICH_SINRValue[index] = oneBinResults.PHICH_SINR; } else if (study.Name.Equals("DL PHICH Signal Level")) { matrixStruct.DL_PHICH_Level[index] = oneBinResults.DL_PHICH_Level; } }
private void SaveOneBinStudyResultsPart_1(CaseValueTemp oneBinResults, int index, IStudy study, CalculatorMatrixStruct matrixStruct) { if (study.Name.Equals("DL RS SINR")) { matrixStruct.DLRSSINRValue[index] = oneBinResults.DLRSSINR; } else if (study.Name.Equals("DL RSSI")) { matrixStruct.DLRSSI[index] = oneBinResults.DLRSSI; } else if (study.Name.Equals("Geometry")) { matrixStruct.GeometryValue[index] = oneBinResults.Geometry; } else if (study.Name.Equals("DL PBCH Signal Level")) { matrixStruct.DL_PBCH_RP[index] = oneBinResults.DL_PBCH_RP; } else if (study.Name.Equals("DL PBCH SINR")) { matrixStruct.PBCH_SINRValue[index] = oneBinResults.PBCH_SINR; } else if (study.Name.Equals("DL SCH Signal Level")) { matrixStruct.DL_SCH_RP[index] = oneBinResults.DL_SCH_RP; } else if (study.Name.Equals("UL RS SINR")) { matrixStruct.UL_RS_SINRValue[index] = oneBinResults.UL_RS_SINR; } }
//modified by huna 3.28 private void SaveOneBinStudyResultsofR(CaseValueTemp oneBinResults, int index, IStudy study, CalculatorMatrixStruct matrixStruct) { //if (study.Name.Equals("DL RPDCCH Signal Level")) //{ // matrixStruct.DL_RPDCCH_Level[index] = oneBinResults.DL_RPDCCH_Level; //} if (study.Name.Equals("DL RPDCCH SINR")) { matrixStruct.RPDCCH_SINRValue[index] = oneBinResults.RPDCCH_SINR; } //else if (study.Name.Equals("DL RPDSCH Signal Level")) //{ // matrixStruct.DL_RPDSCH_Level[index] = oneBinResults.DL_RPDSCH_Level; //} else if (study.Name.Equals("DL RPDSCH SINR")) { matrixStruct.RPDSCH_SINRValue[index] = oneBinResults.RPDSCH_SINR; } else if (study.Name.Equals("RPDSCH MCS")) { matrixStruct.RPDSCHMCSValue[index] = oneBinResults.RPDSCHMCS; } else if (study.Name.Equals("RDL Application Peak Throughput")) { matrixStruct.RDLAPPLICATIONPEAKValue[index] = oneBinResults.RDLAPPLICATIONPEAK; } else if (study.Name.Equals("RDL MAC Peak Throughput")) { matrixStruct.RDLPEAKValue[index] = oneBinResults.RDLPEAK; } //else if (study.Name.Equals("UL RPUCCH Signal Level")) //{ // matrixStruct.RPUCCH_Level[index] = oneBinResults.RPUCCH_Level; //} else if (study.Name.Equals("UL RPUCCH SINR")) { matrixStruct.RPUCCH_SINRValue[index] = oneBinResults.RPUCCH_SINR; } else if (study.Name.Equals("UL RPUSCH Signal Level")) { matrixStruct.RPUSCH_Level[index] = oneBinResults.RPUSCH_Level; } else if (study.Name.Equals("UL RPUSCH SINR")) { matrixStruct.RPUSCH_SINRValue[index] = oneBinResults.RPUSCH_SINR; } else if (study.Name.Equals("RPUSCH MCS")) { matrixStruct.RPUSCHMCSValue[index] = oneBinResults.RPUSCHMCS; } else if (study.Name.Equals("RUL MAC Peak Throughput")) { matrixStruct.RULPEAKValue[index] = oneBinResults.RULPEAK; } else if (study.Name.Equals("RUL Application Peak Throughput")) { matrixStruct.RULAPPLICATIONPEAKValue[index] = oneBinResults.RULAPPLICATIONPEAK; } }
private void SaveOneBinStudyResults(CaseValueTemp oneBinResults, int index, IStudy study, CalculatorMatrixStruct matrixStruct) { this.SaveOneBinStudyResultsPart_1(oneBinResults, index, study, matrixStruct); this.SaveOneBinStudyResultsPart_2(oneBinResults, index, study, matrixStruct); this.SaveOneBinStudyResultsPart_3(oneBinResults, index, study, matrixStruct); this.SaveOneBinMCSStudyResults(oneBinResults, index, study, matrixStruct); this.SaveOneBinPEAKStudyResults(oneBinResults, index, study, matrixStruct); //add 2011.3.16 this.SaveOneBinStudyResultsofR(oneBinResults, index, study, matrixStruct); }
private void SaveOneBinPEAKStudyResults(CaseValueTemp oneBinResults, int index, IStudy study, CalculatorMatrixStruct matrixStruct) { if (study.Name.Equals("DL MAC Peak Throughput")) { matrixStruct.DLPEAKValue[index] = oneBinResults.DLPEAK; } else if (study.Name.Equals("UL MAC Peak Throughput")) { matrixStruct.ULPEAKValue[index] = oneBinResults.ULPEAK; } else if (study.Name.Equals("DL Application Peak Throughput")) { matrixStruct.DLAPPLICATIONPEAKValue[index] = oneBinResults.DLAPPLICATIONPEAK; } else if (study.Name.Equals("UL Application Peak Throughput")) { matrixStruct.ULAPPLICATIONPEAKValue[index] = oneBinResults.ULAPPLICATIONPEAK; } }
private void SaveOneBinMCSStudyResults(CaseValueTemp oneBinResults, int index, IStudy study, CalculatorMatrixStruct matrixStruct) { if (study.Name.Equals("DL PDSCH SINR")) { matrixStruct.PDSCHSINRValue[index] = oneBinResults.DL_PDSCH_SINR; } else if (study.Name.Equals("UL PUSCH SINR")) { matrixStruct.PUSCHSINRValue[index] = oneBinResults.PUSCHSINR; } else if (study.Name.Equals("PDSCH MCS")) { matrixStruct.PDSCHMCSValue[index] = oneBinResults.PDSCHMCS; } else if (study.Name.Equals("PUSCH MCS")) { matrixStruct.PUSCHMCSValue[index] = oneBinResults.PUSCHMCS; } }