Esempio n. 1
0
 public AntConfigValidator(CollectionsModel model, bool isMainAnt)
 {
     this.m_Model = model;
     this.m_CellColl = model.TranceiverColl;
     this.m_GeoInfo = model.GeoObserver;
     this.m_IsMainAnt = isMainAnt;
 }
Esempio n. 2
0
 public SitePropertyFormEditor(CollectionsModel model)
 {
     this.m_UserDefCol = model.UserItemsColl;
     this.m_GeoObserver = model.GeoObserver;
     this.m_SiteCol = model.SiteColl;
     this.m_btslist = model.BtsEquipColl;
     this.m_Model = model;
     this.m_UserDefineTool = new UserDefineTool(model);
 }
Esempio n. 3
0
 private LTECellCollection m_LteCellCollection;//add by lw 3.31
 public RelayNodeDesc(CollectionsModel collModel, RelayNode relayNode, GeoInfoObserver geoInfo)
 {
     this.m_CollectionsModel = collModel;
     this.m_Entity = relayNode;
     this.m_RNCollection = collModel.RNColl;
     this.m_GeoInfo = geoInfo;
     this.m_BtsCollection = collModel.BtsEquipColl;
     this.m_LteCellCollection = collModel.LTECellColl;//add by lw 3.31
 }
Esempio n. 4
0
 private static void ConvertBLToDXDY(AntConfig config, Site site, GeoInfoObserver geoInfo)
 {
     if (site != null)
     {
         double num;
         double num2;
         geoInfo.TransformBLToXY(config.Latitude, config.Longitude, out num, out num2);
         config.DX = (float) (num - site.X);
         config.DY = (float) (num2 - site.Y);
     }
 }
Esempio n. 5
0
 public AllotingRN(CollectionsModel model)
 {
     m_Model = model;
     m_GeoObserver = model.GeoObserver;
     m_BTSCol = model.BtsEquipColl;
     m_RNCollection = model.RNColl;
     m_RCCollection = model.RCCOll;
     m_tplRelayCol = model.TplRelayCollection;
     m_Antenna = model.Antennas;
     if (model.TrafficForNetEntity != null)
     {
         this.m_ReceptionEquip = model.TrafficForNetEntity.ReceptionEquipmentList;
     }
     model.Alloting.AlloteAddRelayNodeEvent += new AlloteAddRelayNodeEventHandle(this.AllotingAddEvent);
     model.Alloting.AlloteDeleteRelayNodeEvent += new EventHandler<AlloteDeleteRelayNodeEventArgs>(this.AllotingDeleteEvent);
 }
Esempio n. 6
0
 public SiteValidateTool(SiteCollection siteColl, GeoInfoObserver geoInfo)
 {
     this.m_SiteCollection = siteColl;
     this.m_GeoInfo = geoInfo;
 }
Esempio n. 7
0
 public RelayNodeDesc(CollectionsModel collModel, RelayNode relayNode, GeoInfoObserver geoInfo, List<string> excludeNames)
     : this(collModel, relayNode, geoInfo)
 {
     this.m_newNames = excludeNames;
 }
Esempio n. 8
0
 public static void ConvertCoordinate(AntConfig config, GeoInfoObserver geoInfo)
 {
     if ((geoInfo.GeoProvider.HasProjection && (config.Longitude != 0.0)) && (config.Latitude != 0.0))
     {
         ConvertBLToDXDY(config, config.Parent.Parent as Site, geoInfo);
     }
     else
     {
         ConvertDXDYToBL(config, config.Parent.Parent as Site, geoInfo);
     }
 }
Esempio n. 9
0
 private static void ConvertDXDYToBL(AntConfig config, Site site, GeoInfoObserver geoInfo)
 {
     if (site != null)
     {
         double num;
         double num2;
         geoInfo.TransformXYToBL(site.X + config.DX, site.Y + config.DY, out num, out num2);
         config.Latitude = num;
         config.Longitude = num2;
     }
 }