Пример #1
0
 public GSMInterfCalc(List<Transceiver> transceivers, IInterf GSMIInterf,Context context)
 {
     m_PridictionGroup = (GSMPredicGroup)context[ContextKeys.Group];
     m_IInterf = GSMIInterf;
     InitialHopDic(transceivers);
     
 }
Пример #2
0
 private void InitUI(GSMPredicGroup predicGroup)
 {
     if (m_GsmPredicGroup.Shadow)
     {
         cbShadow.CheckState = CheckState.Checked;
     }
     if (m_GsmPredicGroup.IndoorCoverage)
     {
         cbCoverage.CheckState = CheckState.Checked;
     }
     ntbCoverage.Value = (decimal)m_GsmPredicGroup.CoverageProb;
 }
Пример #3
0
 private void InitialData(GSMPredicGroup group, TrueFalseMatrix tFMatrix)
 {
     string absolutePath = ResultFilePath.CreateFilePath(m_ProjectPath, group.Name, group.Region.Name, GSMPredictionStudyType.ULServiceCIR.ToString());
     string relativePath = ResultFilePath.CreateRelativePath(group.Name, group.Region.Name, GSMPredictionStudyType.ULServiceCIR.ToString());
     ShortResultStruct srs = ShortResultStruct.DefaultMin;
     m_GSMULServiceCIR = ValueMatrixAssist.GenerateByTrueFalseMatrix(tFMatrix, absolutePath, relativePath, srs);
     linkLossCalc = new CoLinkLossCalc(group.RxSensitivity, group.TrafficTerminal, group.TrafficService, group.Shadow, group.IndoorCoverage, group.CoverageProb);
 }
Пример #4
0
 /// <summary>
 /// 从Context中获取本case所需的指标
 /// </summary>
 /// <param name="context"></param>
 private void GetDataFromContext(Context context)
 {
     m_Group = (GSMPredicGroup)context[ContextKeys.Group];
     appContext = (IBaseService)context[ContextKeys.ApplicationContext];
     m_TFMatrix = (TrueFalseMatrix)context[ContextKeys.TFMatrix];
     m_GSMBestServerID = (ValueMatrixShort)context[ContextKeys.GSMBestServerID];
     m_GSMBCCHRP = (ValueMatrixShort)context[ContextKeys.GSMBCCHRP];
     m_CellList = (List<IACell>)context[ContextKeys.CellList];
     m_ProjectManager = ServiceHelper.Lookup<IProjectManager>(appContext);
     m_ProjectPath = m_ProjectManager.CurrentProjectLossPath;
 }
Пример #5
0
 /// <summary>
 /// 初始化ValueMatrix
 /// </summary>
 /// <param name="group"></param>
 /// <param name="tFMatrix"></param>
 private void InitialData(GSMPredicGroup group, TrueFalseMatrix tFMatrix)
 {
     string absolutePath = ResultFilePath.CreateFilePath(m_ProjectPath, m_Group.Name, m_Group.Region.Name, GSMPredictionStudyType.Geometry.ToString());
     string relativePath = ResultFilePath.CreateRelativePath(group.Name, group.Region.Name, GSMPredictionStudyType.Geometry.ToString()); 
     ShortResultStruct srs = ShortResultStruct.DefaultMin;
     m_Geometry = ValueMatrixAssist.GenerateByTrueFalseMatrix(tFMatrix, absolutePath, relativePath, srs);
 }
Пример #6
0
        public IPredictionGroup Clone()
        {
            GSMPredicGroup myGroup = new GSMPredicGroup();
            myGroup.GroupId = this.GroupId;
            myGroup.HandoverAreaThreshold = this.HandoverAreaThreshold;
            myGroup.InterferenceGate = this.InterferenceGate;
            myGroup.IsCoGroup = this.IsCoGroup;
            myGroup.Locked = this.Locked;
            myGroup.MaxSensitivity = this.MaxSensitivity;
            myGroup.Name = this.Name;
            myGroup.NumPointInPolygon = this.NumPointInPolygon;
            myGroup.PredictionType = this.PredictionType;
            myGroup.Resolution = this.Resolution;
            myGroup.RxSensitivity = this.RxSensitivity;
            myGroup.ServiceValue = this.ServiceValue;
            myGroup.State = this.State;
            myGroup.MobilityValue = this.MobilityValue;
            myGroup.TerminalValue = this.TerminalValue;
            myGroup.TrafficTerminal = (Terminal)this.TrafficTerminal;
            myGroup.CsService = (UnionCsService)this.CsService;
            myGroup.PsService = (UnionPsService)this.PsService;
            foreach (IStudy study in this.m_StudyList)
            {
                myGroup.StudyList.Add(study.Clone());
            }
            myGroup.TranceiverInfoList = this.TranceiverInfoList;
            myGroup.Region = this.Region;
            myGroup.TrafficMobility = (Mobility)this.TrafficMobility;
            myGroup.TrafficService = (Service)this.TrafficService;
            myGroup.TrafficTerminal = (Terminal)this.TrafficTerminal;
            myGroup.AppContext = this.AppContext;
            myGroup.CodecValue = this.CodecValue;
            myGroup.CoverageProb = this.CoverageProb;
            myGroup.Shadow = this.Shadow;
            myGroup.IndoorCoverage = this.IndoorCoverage;
            myGroup.CovUIParam = this.CovUIParam.Clone();

            return myGroup;
        }
Пример #7
0
        /// <summary>
        /// 取得有用的CodingSchemeList
        /// </summary>
        /// <param name="group"></param>
        private void GetUsedCodingList(GSMPredicGroup group)
        {
            TrafficAdaptorAssist trafficAdaptor = TrafficAdaptorAssist.Instance;
            gsmCodingSchemeList = trafficAdaptor.GSMCodeSchemeList;
            GSMTerminal gsmTerminal = (GSMTerminal)m_Group.TrafficTerminal.GetNetWorkTerminal(NetWorkType.GSM);
            //if (gsmTerminal.Technology == GsmTechnologyType.GSM)
            //{
            //    return;
            //}
            if (gsmTerminal.Technology == GsmTechnologyType.GPRS)
            {
                usedCodeList = gsmCodingSchemeList.GetRange(0, 11);
            }
            if (gsmTerminal.Technology == GsmTechnologyType.EGPRS)
            {
                usedCodeList = gsmCodingSchemeList.GetRange(11, 20);
            }

        }
Пример #8
0
 /// <summary>
 /// 初始化
 /// </summary>
 /// <param name="group"></param>
 /// <param name="tFMatrix"></param>
 private void InitialData(GSMPredicGroup group, TrueFalseMatrix tFMatrix)
 {
     GetUsedCodingList(group);
     string absolutePath = ResultFilePath.CreateFilePath(m_ProjectPath, group.Name, group.Region.Name, GSMPredictionStudyType.DLPeakThroughput.ToString());
     string relativePath = ResultFilePath.CreateRelativePath(group.Name, group.Region.Name, GSMPredictionStudyType.DLPeakThroughput.ToString());
     ShortResultStruct srs = ShortResultStruct.DefaultMin;
     m_DLPeakThroughput = ValueMatrixAssist.GenerateByTrueFalseMatrix(tFMatrix, absolutePath, relativePath, srs);
 }
Пример #9
0
        /// <summary>
        /// 从Context中获取本case所需的指标
        /// </summary>
        /// <param name="context"></param>
        private void GetDataFromContext(Context context)
        {
            m_Group = (GSMPredicGroup)context[ContextKeys.Group];
            m_TFMatrix = (TrueFalseMatrix)context[ContextKeys.TFMatrix];
            m_AppContext = (IBaseService)context[ContextKeys.ApplicationContext];
            m_ProjectManager = ServiceHelper.Lookup<IProjectManager>(m_AppContext);
            m_ProjectPath = m_ProjectManager.CurrentProjectLossPath;
            m_GSMBestServerID = (ValueMatrixShort)context[ContextKeys.GSMBestServerID];
            m_DLServiceCIR = (ValueMatrixShort)context[ContextKeys.GSMDLServiceCIR];

        }
Пример #10
0
 /// <summary>
 /// 取得有用的MosList
 /// </summary>
 /// <param name="group"></param>
 private void GetUsedMosList(GSMPredicGroup group)
 {
     m_CodecValue = group.CodecValue;
     TrafficAdaptorAssist trafficAdaptor = TrafficAdaptorAssist.Instance;
     gsmMOSList = trafficAdaptor.GSMMOSList;
     if (m_CodecValue == 0)
     {
         usedMosList = gsmMOSList.GetRange(0, 6);
     }
     if (m_CodecValue == 1)
     {
         usedMosList = gsmMOSList.GetRange(6, 5);
     }
     if (m_CodecValue == 2)
     {
         usedMosList = gsmMOSList.GetRange(11, 4);
     }
 }
Пример #11
0
 public GSMPropertyForm(IPredictionGroup group)
 {
     InitializeComponent();
     m_GsmPredicGroup = (GSMPredicGroup)group;
     Init();
 }