Пример #1
0
 private string CreateExportIntervalLegendXml(PredictionGroup group, PredictionStudy study)
 {
     string str = string.Empty;
     string str2 = "<?xml version=\"1.0\" encoding=\"gb2312\"?>\r\n";
     string str3 = (string.Empty + "<STUDY>\r\n") + this.CreateExpIntervalLegendForStudyXml(study) + "</STUDY>\r\n";
     return (str + str2 + str3);
 }
Пример #2
0
 private void cycleMaxMinValue(PredictionStudy study, int ti, ref int index, ref float CoverArea, float area, ref float percentage, List<MaxMinValue> MaxMinList, Dictionary<MaxMinValue, int> MaxMinDic, Dictionary<MaxMinValue, List<double>> clutterDic)
 {
     foreach (MaxMinValue value2 in MaxMinList)
     {
         this.dgvExpoertData.Rows.Add();
         Color color = study.StudyLegend.ValueIntervals[study.StudyLegend.FieldItem[ti]].ValueIntervalsField[value2];
         string str = study.StudyLegend.ValueIntervals[study.StudyLegend.FieldItem[ti]].LegendString[index];
         if ((((study.StudyType == PredictionStudyType.DL_MAC_Peak_Throughput) || (study.StudyType == PredictionStudyType.UL_MAC_Peak_Throughput)) || (study.StudyType == PredictionStudyType.DL_Application_Peak_Throughput)) || (study.StudyType == PredictionStudyType.UL_Application_Peak_Throughput))
         {
             percentage = ((float) MaxMinDic[value2]) / ((float) this.m_Group.NumPointInPolygon);
         }
         else
         {
             percentage = ((float) MaxMinDic[value2]) / ((float) this.m_Group.NumPointInPolygon);
         }
         percentage = this.SolvePrecisionBelow_1(percentage);
         CoverArea = area * percentage;
         this.m_GroupArea += CoverArea;
         this.m_GroupPercentage += percentage;
         CoverArea = this.SolvePrecision((double) CoverArea, this.m_Mode);
         this.dgvExpoertData.Rows[this.m_Index].Cells["GroupNameOrLegend"].Value = this.m_EmptyString + str;
         this.dgvExpoertData.Rows[this.m_Index].Cells["CoverArea"].Value = (float) CoverArea;
         this.dgvExpoertData.Rows[this.m_Index].Cells["Percentage"].Value = this.SolvePrecision((double) (percentage * 100f), this.m_Mode) + "%";
         List<double> list = clutterDic[value2];
         for (int i = 0; i < this.m_Clutters.Count; i++)
         {
             this.dgvExpoertData.Rows[this.m_Index].Cells[this.m_Clutters[i]].Value = this.SolvePrecision(list[i] * 100.0, this.m_Mode) + "%";
         }
         this.m_Index++;
         index++;
     }
 }
Пример #3
0
 public void ClearDiscreteMapLayer(PredictionStudy ps)
 {
     if (ps.StudyLegend.MapLever != -2147483648)
     {
         this.m_SubSysInterface.AnalyDispEvent.RemoveRasterLayer(ps.StudyLegend.MapLever);
     }
 }
Пример #4
0
 public PredictionStatisticsManager(PredictionStudy ps, PredictionGroup pg, OtherSubSysInterface subSysInterface)
 {
     this.m_ActualMaxValue = -32768f;
     this.m_ActualMinValue = 0x7fffffff;
     this.m_SubSysInterface = subSysInterface;
     this.m_Study = ps;
     this.m_PredictionGroup = pg;
 }
Пример #5
0
 public void ClearBestServerMapLayer(PredictionStudy ps, PredictionGroup group)
 {
     string str = Enum.GetName(typeof(PredictionStudyType), ps.StudyType).Replace('_', ' ');
     TreeNode node = this.m_PredictionGroupsManager.RootNode.Nodes[group.Name].Nodes[str];
     if (ps.StudyLegend.MapLever != -2147483648)
     {
         int num = (node.Nodes.Count - 1) / 0xff;
         for (short i = 0; i <= num; i = (short) (i + 1))
         {
             this.m_SubSysInterface.AnalyDispEvent.RemoveRasterLayer(ps.StudyLegend.MapLever + i);
         }
     }
 }
Пример #6
0
 private string CreateExpIntervalLegendForStudyXml(PredictionStudy study)
 {
     object obj2 = string.Empty;
     string str = (string.Concat(new object[] { obj2, "<", study.StudyType.ToString(), " TypeIndex=\"", study.StudyLegend.DisplayTypeIndex, "\"  FieldIndex=\"", study.StudyLegend.FieldItem[study.StudyLegend.DisplayTypeIndex], "\">\r\n" }) + "<Interval_values>\r\n") + "<field field=\"" + study.StudyLegend.FieldItem[study.StudyLegend.DisplayTypeIndex] + "\">\r\n";
     ValueIntervalsLegend legend = study.StudyLegend.ValueIntervals[study.StudyLegend.FieldItem[study.StudyLegend.DisplayTypeIndex]];
     Dictionary<MaxMinValue, Color> valueIntervalsField = legend.ValueIntervalsField;
     List<string> legendString = legend.LegendString;
     int num = 0;
     int num2 = 0;
     foreach (MaxMinValue value2 in valueIntervalsField.Keys)
     {
         num = valueIntervalsField[value2].ToArgb();
         string str2 = legendString[num2].Replace("<=", "$");
         obj2 = str;
         str = string.Concat(new object[] { obj2, "<Row color=\"", num, "\" minvalue=\"", value2.min, "\" maxvalue=\"", value2.max, "\" legend=\"", str2.Replace("<", "#"), "\"> </Row>\r\n" });
         num2++;
     }
     return ((str + "</field>\r\n" + "</Interval_values>\r\n") + "</" + study.StudyType.ToString() + ">\r\n");
 }
Пример #7
0
 private string CreateExpDiscreteLegendForStudyXml(PredictionStudy study)
 {
     string str = "";
     object obj2 = str;
     str = (string.Concat(new object[] { obj2, "<", study.StudyType.ToString(), " TypeIndex=\"", study.StudyLegend.DisplayTypeIndex, "\"  FieldIndex=\"", study.StudyLegend.FieldItem[study.StudyLegend.DisplayTypeIndex], "\">\r\n" }) + "<Discrete_values>\r\n") + "<field field=\"" + study.StudyLegend.FieldItem[study.StudyLegend.DisplayTypeIndex] + "\">\r\n";
     DiscreteValueLegend legend = study.StudyLegend.DiscreteValue[study.StudyLegend.FieldItem[study.StudyLegend.DisplayTypeIndex]];
     Dictionary<short, Color> discreteValueField = legend.DiscreteValueField;
     List<string> legendString = legend.LegendString;
     int num = 0;
     int num2 = 0;
     foreach (short num3 in discreteValueField.Keys)
     {
         num = discreteValueField[num3].ToArgb();
         obj2 = str;
         str = string.Concat(new object[] { obj2, "<Row color=\"", num, "\" value=\"", num3, "\" legend=\"", legendString[num2], "\"> </Row>\r\n" });
         num2++;
     }
     return ((str + "</field>\r\n" + "</Discrete_values>\r\n") + "</" + study.StudyType.ToString() + ">\r\n");
 }
Пример #8
0
 private string getMatrixIntNameAndstudy(PredictionStudy study, GeoXYPoint gPoint, PredictionGroup group)
 {
     string str = null;
     ValueMatrixIntCollection studyValueMatrix = (ValueMatrixIntCollection) study.StudyValueMatrix;
     if (studyValueMatrix == null)
     {
         return null;
     }
     studyValueMatrix.Open(this.m_SubSysInterface.ProjectManager);
     foreach (ValueMatrixInt num in studyValueMatrix.Values)
     {
         int num2 = this.getMatrixIndex(gPoint, num.Resolution, num.NorthwestY, num.NorthwestX, num.ColumnsCount);
         if (num[num2] != -32768)
         {
             str = string.Concat(new object[] { str, study.StudyType.ToString(), " = ", ((float) num[num2]) / 1000f, this.blank_enter });
         }
     }
     studyValueMatrix.Close(false);
     return str;
 }
Пример #9
0
 private string getIsDivisionShort(PredictionStudy study, ValueMatrixShort matrixShort, int index, PredictionGroup group)
 {
     string nameAndStudy = null;
     if ((study.StudyType & this.studyTypeNotdivision) == study.StudyType)
     {
         if (study.StudyType == PredictionStudyType.Best_Server)
         {
             return (this.getCellname(group, matrixShort[index]) + this.blank_enter);
         }
         if ((study.StudyType == PredictionStudyType.PUSCH_MCS) || (study.StudyType == PredictionStudyType.PDSCH_MCS))
         {
             int mscid = matrixShort[index];
             if (mscid == 0)
             {
                 return nameAndStudy;
             }
             return this.GetMscCodingRate(study, group, nameAndStudy, mscid);
         }
         return (((float) matrixShort[index]) + this.blank_enter);
     }
     return ((((float) matrixShort[index]) / 100f) + this.blank_enter);
 }
Пример #10
0
        private void CreateOtherCasePart_2(PredictionStudy study)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.DL_PCFICH_Level:
                    this.AddCase(this.m_DL_PCFICH_LevelCase);
                    break;

                case PredictionStudyType.PCFICH_SINR:
                    this.AddCase(this.m_DL_PCFICH_LevelCase);
                    this.AddCase(this.m_DlrssiInterf);
                    this.AddCase(this.m_PCFICH_SINRCase);
                    break;

                case PredictionStudyType.DL_PHICH_Level:
                    this.AddCase(this.m_DL_PHICH_LevelCase);
                    break;

                case PredictionStudyType.PDCCH_SINR:
                    this.AddCase(this.m_DL_PDCCH_LevelCase);
                    this.AddCase(this.m_DlrssiInterf);
                    this.AddCase(this.m_PDCCH_SINRCase);
                    break;

                case PredictionStudyType.UL_RSRP:
                    this.AddCase(this.m_ULRSRPCase);
                    break;
            }
        }
Пример #11
0
        private void CreateOtherCasePart_1(PredictionStudy study)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.DL_SCH_RP:
                    this.AddCase(this.m_DL_PSSCH_RPCase);
                    return;

                case PredictionStudyType.SCH_SINR:
                    this.AddCase(this.m_DL_PSSCH_RPCase);
                    this.AddCase(this.m_DlrssiInterf);
                    this.AddCase(this.m_SCH_SINRCase);
                    return;

                case PredictionStudyType.DL_PBCH_RP:
                    this.AddCase(this.m_DL_PBCH_RPCase);
                    break;

                case PredictionStudyType.PBCH_SINR:
                    this.AddCase(this.m_DL_PBCH_RPCase);
                    this.AddCase(this.m_DlrssiInterf);
                    this.AddCase(this.m_PBCH_SINRCase);
                    break;

                case PredictionStudyType.DL_PDCCH_Level:
                    this.AddCase(this.m_DL_PDCCH_LevelCase);
                    break;
            }
        }
Пример #12
0
 private void CreateOtherCase(PredictionStudy study)
 {
     this.CreateOtherCasePart_1(study);
     this.CreateOtherCasePart_2(study);
     this.CreateOtherCasePart_3(study);
 }
Пример #13
0
        private void CreateInterfCase(PredictionStudy study)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.Geometry:
                    this.AddCase(this.m_DlrssiInterf);
                    this.AddCase(this.m_GeoCase);
                    break;

                case PredictionStudyType.DL_RSRQ:
                    this.AddCase(this.m_DlrssiInterf);
                    this.AddCase(this.m_DLRSRQCase);
                    break;

                case PredictionStudyType.DL_RS_SINR:
                    this.AddCase(this.m_DlrssiInterf);
                    this.AddCase(this.m_DlrssinrCase);
                    break;

                case PredictionStudyType.DL_RSSI:
                    this.AddCase(this.m_DlrssiInterf);
                    this.AddCase(this.m_DlRssiCase);
                    break;
            }
        }
Пример #14
0
        private void CreateMCSMartixStructPart_3(CalculatorMatrixStruct matrixStruct, PredictionStudy study, int blockIndex)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.DL_PCFICH_Level:
                    matrixStruct.DL_PCFICH_Level = this.m_DL_PCFICH_Level.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.PCFICH_SINR:
                    matrixStruct.PCFICH_SINRValue = this.m_PCFICH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.DL_PHICH_Level:
                    matrixStruct.DL_PHICH_Level = this.m_DL_PHICH_Level.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.DL_RSRQ:
                    matrixStruct.DLRSRQ = this.m_DLRSRQ.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.DL_PDCCH_Level:
                    matrixStruct.DL_PDCCH_Level = this.m_DL_PDCCH_Level.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.PDCCH_SINR:
                    matrixStruct.PDCCH_SINRValue = this.m_PDCCH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;
            }
        }
Пример #15
0
 private string getMatrixShortNameAndstudy(PredictionStudy study, GeoXYPoint gPoint, PredictionGroup group)
 {
     string str = null;
     ValueMatrixShortCollection studyValueMatrix = (ValueMatrixShortCollection) study.StudyValueMatrix;
     if (studyValueMatrix == null)
     {
         return (string) (str = null);
     }
     studyValueMatrix.Open(this.m_SubSysInterface.ProjectManager);
     foreach (ValueMatrixShort @short in studyValueMatrix.Values)
     {
         int index = this.getMatrixIndex(gPoint, @short.Resolution, @short.NorthwestY, @short.NorthwestX, @short.ColumnsCount);
         if ((@short[index] != -32768) && (@short[index] != 0x7fff))
         {
             string str2 = this.getIsDivisionShort(study, @short, index, group);
             if (str2 != null)
             {
                 str = str + study.StudyType.ToString() + " = ";
                 str = str + str2;
             }
         }
     }
     studyValueMatrix.Close(false);
     return str;
 }
Пример #16
0
        private void CreateMCSMartixStructPart_1(CalculatorMatrixStruct matrixStruct, PredictionStudy study, int blockIndex)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.DL_SCH_RP:
                    matrixStruct.DL_SCH_RP = this.m_DL_SCH_RP.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.SCH_SINR:
                    matrixStruct.SCH_SINRValue = this.m_SCH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.DL_PBCH_RP:
                    matrixStruct.DL_PBCH_RP = this.m_DL_PBCH_RP.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.DL_RS_SINR:
                    matrixStruct.DLRSSINRValue = this.m_DLRSSINRValue.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.DL_RSSI:
                    matrixStruct.DLRSSI = this.m_DLRSSI.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.Geometry:
                    matrixStruct.GeometryValue = this.m_GeometryValue.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;
            }
        }
Пример #17
0
        private void InitialOneAnalyseCaseValueMatrixPart_3(string polygonName, PredictionStudy study)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.PUCCH_SINR:
                    this.m_PUCCH_SINRValue = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.PRACH_Level:
                    this.m_PRACH_Level = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.PRACH_SINR:
                    this.m_PRACH_SINRValue = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.Handover_Area:
                    this.m_SecondMaxRSRPValue = new ValueMatrixShort(this.m_Path + "SecondMaxRSRP.tmp", this.m_RelativePath + "SecondMaxRSRP.tmp", this.m_TrueFalseMatrix.RowCount, this.m_TrueFalseMatrix.ColCount);
                    this.m_SecondMaxRSRPValue.CreateMatrixBlock(this.m_TrueFalseMatrix.MatrixBlockArr.Count);
                    this.m_HandOver = ValueMatrixHandle.GenerateValueMatrixShortNoInitial(this.m_TrueFalseMatrix, this.GetFilePath(polygonName, PredictionStudyType.Handover_Area.ToString()), PredictionStudyType.Handover_Area, this.m_StudyRelativePath);
                    this.m_HandOver.CreateMatrixBlock(this.m_TrueFalseMatrix.MatrixBlockArr.Count);
                    for (int i = 0; i < this.m_HandOver.MatrixBlockArr.Count; i++)
                    {
                        this.m_SecondMaxRSRPValue.MatrixBlockArr[i].CreateShortMatrix(string.Concat(new object[] { this.m_Path, "SecondMaxRSRP_", this.m_TrueFalseMatrix.MatrixBlockArr[i].BlockIndex, ".tmp" }), string.Concat(new object[] { this.m_RelativePath, "SecondMaxRSRP_", this.m_TrueFalseMatrix.MatrixBlockArr[i].BlockIndex, ".tmp" }));
                        this.m_HandOver.MatrixBlockArr[i].ShortMatrix = ValueMatrixHandle.GenerateValueMatrixShort(this.m_TrueFalseMatrix.MatrixBlockArr[i].TFMatrix, this.GetFilePath(polygonName, PredictionStudyType.Handover_Area.ToString(), this.m_TrueFalseMatrix.MatrixBlockArr[i].BlockIndex), PredictionStudyType.Handover_Area, this.m_StudyRelativePath);
                    }
                    break;

                case PredictionStudyType.UL_RSRP:
                    this.m_ULRSRP = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.PUCCH_Level:
                    this.m_PUCCH_Level = this.CreateShortBlockMatrix(study, polygonName);
                    break;
            }
        }
Пример #18
0
 private void InitialOneAnalyseCaseValueMatrix(string polygonName, PredictionStudy study)
 {
     this.InitialOneAnalyseBasicCaseValueMatrix(polygonName, study);
     this.InitialOneAnalyseCaseValueMatrixPart_1(polygonName, study);
     this.InitialOneAnalyseCaseValueMatrixPart_2(polygonName, study);
     this.InitialOneAnalyseCaseValueMatrixPart_3(polygonName, study);
     this.InitialOneAnalyseMCSCaseValueMatrix(polygonName, study);
     this.InitialOneAnalysePEAKCaseValueMatrix(polygonName, study);
 }
Пример #19
0
        private void InitialOneAnalyseCaseValueMatrixPart_1(string polygonName, PredictionStudy study)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.SCH_SINR:
                    this.m_SCH_SINRValue = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.DL_PBCH_RP:
                    this.m_DL_PBCH_RP = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.PBCH_SINR:
                    this.m_PBCH_SINRValue = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.Geometry:
                    this.m_GeometryValue = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.DL_SCH_RP:
                    this.m_DL_SCH_RP = this.CreateShortBlockMatrix(study, polygonName);
                    break;
            }
        }
Пример #20
0
        private void InitialOneAnalyseBasicCaseValueMatrix(string polygonName, PredictionStudy study)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.DL_RS_SINR:
                    this.m_DLRSSINRValue = this.CreateShortBlockMatrix(study, polygonName);
                    return;

                case PredictionStudyType.DL_RSSI:
                    this.m_DLRSSI = this.CreateShortBlockMatrix(study, polygonName);
                    return;

                case PredictionStudyType.Symbol_RSRP:
                    this.m_SymbolRSRP = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.Overlapping_Zones:
                    this.m_OverlappingZones = this.CreateShortBlockMatrix(study, polygonName);
                    return;
            }
        }
Пример #21
0
 private ValueMatrixShort CreateShortBlockMatrix(PredictionStudy study, string polygonName)
 {
     ValueMatrixShort @short = ValueMatrixHandle.GenerateValueMatrixShortNoInitial(this.m_TrueFalseMatrix, this.GetFilePath(polygonName, study.StudyType.ToString()), study.StudyType, this.m_StudyRelativePath);
     this.m_ShortMatrixCreating = @short;
     @short.CreateMatrixBlock(this.m_TrueFalseMatrix.MatrixBlockArr.Count);
     int num = 0;
     foreach (ValueMatrixBlock block in @short.MatrixBlockArr)
     {
         block.ShortMatrix = ValueMatrixHandle.GenerateValueMatrixShort(this.m_TrueFalseMatrix.MatrixBlockArr[num].TFMatrix, this.GetFilePath(polygonName, study.StudyType.ToString(), this.m_TrueFalseMatrix.MatrixBlockArr[num].BlockIndex), study.StudyType, this.m_StudyRelativePath);
         num++;
     }
     return @short;
 }
Пример #22
0
        private void CreatePeakMartixStruct(CalculatorMatrixStruct matrixStruct, PredictionStudy study, int blockIndex)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.DL_Application_Peak_Throughput:
                    matrixStruct.DLAPPLICATIONPEAKValue = this.m_DLAPPLICATIONPEAKValue.MatrixBlockArr[blockIndex].IntMatrix;
                    break;

                case PredictionStudyType.UL_Application_Peak_Throughput:
                    matrixStruct.ULAPPLICATIONPEAKValue = this.m_ULAPPLICATIONPEAKValue.MatrixBlockArr[blockIndex].IntMatrix;
                    break;

                case PredictionStudyType.DL_MAC_Peak_Throughput:
                    matrixStruct.DLPEAKValue = this.m_DLPEAKValue.MatrixBlockArr[blockIndex].IntMatrix;
                    break;

                case PredictionStudyType.UL_MAC_Peak_Throughput:
                    matrixStruct.ULPEAKValue = this.m_ULPEAKValue.MatrixBlockArr[blockIndex].IntMatrix;
                    break;
            }
        }
Пример #23
0
        private void CreateOtherCasePart_3(PredictionStudy study)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.PUCCH_SINR:
                    this.AddCase(this.m_PUCCH_SINRCase);
                    break;

                case PredictionStudyType.PRACH_Level:
                    this.AddCase(this.m_PRACH_LevelCase);
                    break;

                case PredictionStudyType.PRACH_SINR:
                    this.AddCase(this.m_PRACH_SINRCase);
                    break;

                case PredictionStudyType.Handover_Area:
                    this.AddCase(this.m_Handover);
                    break;

                case PredictionStudyType.PUCCH_Level:
                    this.AddCase(this.m_PUCCH_LevelCase);
                    break;
            }
        }
Пример #24
0
        private void InitialOneAnalyseMCSCaseValueMatrix(string polygonName, PredictionStudy study)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.PDSCH_MCS:
                    this.m_PDSCHMCSValue = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.PUSCH_MCS:
                    this.m_PUSCHMCSValue = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.PDSCH_SINR:
                    this.m_PDSCHSINRValue = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.PUSCH_SINR:
                    this.m_PUSCHSINRValue = this.CreateShortBlockMatrix(study, polygonName);
                    break;
            }
        }
Пример #25
0
        private void CreateSCHCase(PredictionStudy study)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.PDSCH_MCS:
                    this.AddCase(this.m_DlrssiInterf);
                    this.AddCase(this.m_DlrssinrCase);
                    this.AddCase(this.m_PdschCase);
                    this.AddCase(this.m_PdschMcsCase);
                    break;

                case PredictionStudyType.PUSCH_MCS:
                case PredictionStudyType.PUSCH_SINR:
                case PredictionStudyType.UL_MAC_Peak_Throughput:
                case PredictionStudyType.UL_Application_Peak_Throughput:
                    this.AddCase(this.m_PuschCase);
                    break;

                case PredictionStudyType.PDSCH_SINR:
                    this.AddCase(this.m_DlrssiInterf);
                    this.AddCase(this.m_DlrssinrCase);
                    this.AddCase(this.m_PdschCase);
                    break;

                case PredictionStudyType.DL_MAC_Peak_Throughput:
                case PredictionStudyType.DL_Application_Peak_Throughput:
                    this.AddCase(this.m_DlrssiInterf);
                    this.AddCase(this.m_DlrssinrCase);
                    this.AddCase(this.m_PdschCase);
                    this.AddCase(this.m_PdschMcsCase);
                    this.AddCase(this.m_DLPeakCase);
                    break;
            }
        }
Пример #26
0
        private void InitialOneAnalysePEAKCaseValueMatrix(string polygonName, PredictionStudy study)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.DL_Application_Peak_Throughput:
                    this.m_DLAPPLICATIONPEAKValue = this.CreateIntBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.UL_Application_Peak_Throughput:
                    this.m_ULAPPLICATIONPEAKValue = this.CreateIntBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.DL_MAC_Peak_Throughput:
                    this.m_DLPEAKValue = this.CreateIntBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.UL_MAC_Peak_Throughput:
                    this.m_ULPEAKValue = this.CreateIntBlockMatrix(study, polygonName);
                    break;
            }
        }
Пример #27
0
 private string GetMscCodingRate(PredictionStudy study, PredictionGroup group, string nameAndStudy, int mscid)
 {
     if (PredictionStudyType.PUSCH_MCS == study.StudyType)
     {
         nameAndStudy = this.getMscModulationCodingRate(group, mscid, LinkType.Uplink);
         return nameAndStudy;
     }
     nameAndStudy = this.getMscModulationCodingRate(group, mscid, LinkType.Downlink);
     return nameAndStudy;
 }
Пример #28
0
        private void SaveBasicCasesResult(PredictionStudy study)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.DL_RSSI:
                    study.StudyValueMatrix = this.m_DLRSSIs;
                    break;

                case PredictionStudyType.Symbol_RSRP:
                    study.StudyValueMatrix = this.m_SymbolRSRPs;
                    break;

                case PredictionStudyType.Overlapping_Zones:
                    study.StudyValueMatrix = this.m_OverlappingZoness;
                    break;

                case PredictionStudyType.DL_RSRP:
                    study.StudyValueMatrix = this.m_BestServerRSRPs;
                    break;

                case PredictionStudyType.Best_Server:
                    study.StudyForOtherSysMatrix = this.m_BestServerCarrierIDs;
                    study.StudyValueMatrix = this.m_BestServerCellIDs;
                    break;
            }
        }
Пример #29
0
        private void InitialOneAnalyseCaseValueMatrixPart_2(string polygonName, PredictionStudy study)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.DL_PCFICH_Level:
                    this.m_DL_PCFICH_Level = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.PCFICH_SINR:
                    this.m_PCFICH_SINRValue = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.DL_PHICH_Level:
                    this.m_DL_PHICH_Level = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.DL_RSRQ:
                    this.m_DLRSRQ = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.DL_PDCCH_Level:
                    this.m_DL_PDCCH_Level = this.CreateShortBlockMatrix(study, polygonName);
                    break;

                case PredictionStudyType.PDCCH_SINR:
                    this.m_PDCCH_SINRValue = this.CreateShortBlockMatrix(study, polygonName);
                    break;
            }
        }
Пример #30
0
        private void CreateMCSMartixStructPart_2(CalculatorMatrixStruct matrixStruct, PredictionStudy study, int blockIndex)
        {
            switch (study.StudyType)
            {
                case PredictionStudyType.PUCCH_SINR:
                    matrixStruct.PUCCH_SINRValue = this.m_PUCCH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.PRACH_Level:
                    matrixStruct.PRACH_Level = this.m_PRACH_Level.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.PRACH_SINR:
                    matrixStruct.PRACH_SINRValue = this.m_PRACH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.PBCH_SINR:
                    matrixStruct.PBCH_SINRValue = this.m_PBCH_SINRValue.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.UL_RSRP:
                    matrixStruct.ULRSRP = this.m_ULRSRP.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;

                case PredictionStudyType.PUCCH_Level:
                    matrixStruct.PUCCH_Level = this.m_PUCCH_Level.MatrixBlockArr[blockIndex].ShortMatrix;
                    break;
            }
        }