Example #1
0
        /// <summary>
        /// 保存路损值 山峰高度和位置
        /// </summary>
        /// <param name="losData"></param>
        /// <param name="rayIndex"></param>
        /// <param name="peakinfo"></param>
        /// <param name="sectionIndex"></param>
        protected void WriteSectionLos(ref SectorPathLossData losData, int rayIndex, PeakInfoTemp peakinfo, byte sectionIndex)
        {
            for (int i = 0; i < peakinfo.RayLosMatrix.Length; i++)
            {
                losData.SetValue(sectionIndex, rayIndex, i, peakinfo.RayLosMatrix[i]);

                losData.SetHeightValue(sectionIndex, rayIndex, i, peakinfo.PeakHeightMatrix[i]);

                losData.SetDotValue(sectionIndex, rayIndex, i, peakinfo.PeakDotMatrix[i]);
            }
        }
Example #2
0
 protected void WriteSectionLos(ref SectorPathLossData losData, int rayIndex, float[] rayLos, byte sectionIndex)
 {
     for (int i = 0; i < rayLos.Length; i++)
     {
         losData.SetValue(sectionIndex, rayIndex, i, rayLos[i]);
     }
 }