Example #1
0
 public MobilityNewControl(MobilityManagement iMobManager)
 {
     this.m_MobilityDic = new Dictionary<NetWorkType, Mobility>();
     this.MOBILITY = "Mobility";
     this.ADDSTRING = "Add";
     this.MODIFYSTRING = "Modify";
     this.m_oldName = string.Empty;
     this.m_IsAddNode = false;
     this.m_Management = iMobManager;
     this.m_MobilityForm = this.CreateMobilityNewForm();
     this.setMobilityFrmData(this.m_MobilityForm, this.GenerateName(), 0f);
 }
Example #2
0
 public MobilityNewControl(string mobName, MobilityManagement iMobManagement)
 {
     this.m_MobilityDic = new Dictionary<NetWorkType, Mobility>();
     this.MOBILITY = "Mobility";
     this.ADDSTRING = "Add";
     this.MODIFYSTRING = "Modify";
     this.m_oldName = string.Empty;
     this.m_IsAddNode = false;
     this.m_Management = iMobManagement;
     this.m_IsAddNode = true;
     this.m_Mobility = this.m_Management.FindMobilityByName(mobName);
     this.m_MobilityForm = this.CreateMobilityNewForm();
     this.setMobilityFrmData(this.m_MobilityForm, mobName, this.m_Management.FindMobilityByName(mobName).MeanSpeed);
     this.m_oldName = mobName;
 }
Example #3
0
 private void setMobilityFrmData(MobilityForm moblityNewFrm, string name, float speedValue)
 {
     moblityNewFrm.setMobilityData(name, speedValue);
 }