Exemplo n.º 1
0
 public void IsRunOK_Test1()
 {
     m_CellSuite = new CellSearchSuite(m_DM, m_LinkLossCalc, appContext, new Huawei.UNet.Prediction.LTE.Control.UpdateProgress(this.UpdateProgress));
     m_CellSuite.Run();
     m_Calc = new BinSearchSuite(m_DM, appContext, new Huawei.UNet.Prediction.LTE.Control.UpdateProgress(this.UpdateProgress), m_LinkLossCalc);
     m_Calc.Run();
     Assert.AreEqual(-9500, Convert.ToInt16(m_DM.CaseDataMgr.CalMatrixStructArr[0].DL_PBCH_RP[11]));
 }
Exemplo n.º 2
0
 private void CalculateStart()
 {
     double cellSearchSuitWeight;
     double binSearchSuitWeight;
     this.m_Group.IsContinue = true;
     this.m_Group.NotContinueReason = string.Empty;
     bool flag = false;
     this.m_CurrentProgressState = "initial";
     double progress = 5.0;
     this.UpdateProgress(progress);
     this.CalSuitWeight(this.m_Group.StudyList, out cellSearchSuitWeight, out binSearchSuitWeight);
     flag = this.m_DataManager.DataPrepare(this.m_LinkPrediction, this.m_Group.Region, ref this.m_TransceiverList);
     this.m_BestServerSuite = new CellSearchSuite(this.m_DataManager, this.m_LinkPrediction, this.m_AppContext, new Huawei.UNet.Prediction.LTE.Control.UpdateProgress(this.UpdateProgress));
     this.m_BestServerSuite.CellSearchSuitWeight = cellSearchSuitWeight;
     this.m_BinSuite = new BinSearchSuite(this.m_DataManager, this.m_AppContext, new Huawei.UNet.Prediction.LTE.Control.UpdateProgress(this.UpdateProgress), this.m_LinkPrediction);
     this.m_BinSuite.BinSearchSuitWeight = binSearchSuitWeight;
     if (this.m_Group.IsContinue && flag)
     {
         this.m_CurrentProgressState = "calculating";
         this.CalculateAllCases();
     }
     else
     {
         this.RecordCalcError();
     }
 }
Exemplo n.º 3
0
 private void EndClear()
 {
     this.m_BestServerSuite = null;
     this.m_BinSuite = null;
     this.m_DataManager = null;
     this.m_LinkPrediction = null;
     GC.Collect();
 }