예제 #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="context"></param>
 public TDIntefCalculate(TDCalcCommonParam param)
 {
     m_TotalLoss = new TDLinkLossCalc(param.CalcLinkLoss);
     m_SmartAnt = new SmartAntGain(param.SmartAntGain);
     //m_IntefCalc = new InterfCalculate(param.IntefParam);
     m_CustomerParam = param.TdUIParam;
     m_IntefCalc = param.InterfCalc;
 }
예제 #2
0
 /// <summary>
 /// 初始化
 /// 为了实现接口
 /// </summary>
 /// <param name="linkloss"></param>
 /// <param name="interfCalc"></param>
 /// <param name="orthogonalCoefficient">正交因子</param>
 public void Initialization(IGetLinkloss linkloss, IInterfCalc interfCalc, ISmartAntCalcGain param)
 {
     this.m_Linkloss = linkloss;
     this.m_InterfCalc = interfCalc;
     TDCalcCommonParam param1 = new TDCalcCommonParam();
     param1.SmartAntGain = param;
     this.m_SmartAntGain = new SmartAntGain(param1.SmartAntGain);
     m_GetTDLinkLoss = new TDLinkLossCalc(m_Linkloss);
 }
예제 #3
0
        public void MyTestInitialize()
        {
            m_SimUser1=MockTDSimUser.CreatTDSimUser_CSDL();
            m_SimUser2 = MockTDSimUser.CreatTDSimUser_CSUL();
            m_IntefUser = MockTDSimUser.CreatTDSimUser_PSDL();
            m_Param = new TDCalcCommonParam();
            m_Param.SmartAntGain = new MockSmartAntCalcGain();
            m_Cell = MockTDSimCell.CreatTDSimCell();
            m_User = MockTDSimUser.CreatUser_CSDL();
            m_SmartAntGain = new SmartAntGain(m_Param.SmartAntGain);

            //LinkLossAssist.Init();
            //m_TDCalcCommonParam = new TDCalcCommonParam();
            //m_TDCalcCommonParam.SmartAntGain = new MockSmartAntCalcGain();
            //m_TDSimUser = MockTDSimUser.CreatTDSimUser_CS();
            //m_IntefUser = MockTDSimUser.CreatTDSimUser_PS();
            //m_TDSimCell = MockTDSimCell.CreatTDSimCell();
            //m_SmartAntGain = new SmartAntGain(m_TDCalcCommonParam.SmartAntGain);
        }
예제 #4
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="param"></param>
 public R4_InitPower(TDCalcCommonParam param)
 {
     m_LossCalc = new TDLinkLossCalc(param.CalcLinkLoss);
     m_SmartGain = new SmartAntGain(param.SmartAntGain);
     m_PreUsers = param.R4PreUsers;
 }
예제 #5
0
 public FindBestRSCPCell(TDCalcCommonParam param)
 {
     m_Param = param;
     m_SmartAntGainCalc = new SmartAntGain(param.SmartAntGain);
 }
예제 #6
0
 public CalculateInterference( IInterfCalc interfCalc, SmartAntGain smartant, TDLinkLossCalc linkloss)
 {
     m_InterfCalc = interfCalc;
     m_SmartAnt = smartant;
     m_LinkLoss = linkloss;
 }