예제 #1
0
 public void ActiveCellMsg(GeoCellEventArgs args)
 {
     if (this.GeoActiveCellEvent != null)
     {
         this.GeoActiveCellEvent(args);
     }
 }
예제 #2
0
 private void CellCol_CellDeleteEvent(object sender, NETranceiverEventArgs e)
 {
     if (sender.ToString() != "GIS")
     {
         List<GeoCell> cellList = new List<GeoCell>();
         foreach (Transceiver transceiver in e.Transceiver)
         {
             GeoCell geoNECell = Transceiver.GetGeoNECell(transceiver);
             cellList.Add(geoNECell);
         }
         GeoCellEventArgs args = new GeoCellEventArgs(cellList);
         if (this.m_GeoMsgChange != null)
         {
             this.m_GeoMsgChange.DeleteCellMsgChange(args);
             this.m_GeoMsgChange.MapRedraw();
         }
     }
 }
예제 #3
0
 public void AddRelayCellMsgChange(GeoCellEventArgs args)
 {
     m_NetEntityData.AddRelayCellAlone(args.RelayCells);
 }
예제 #4
0
 public void AddCellMsgChange(GeoCellEventArgs cellArgs)
 {
     this.m_NetEntityData.AddCellAlone(cellArgs.TranceiverList);
 }
예제 #5
0
 protected virtual bool OnGeoUpdatePosInfoMsg(GeoSiteEventArgs e1, GeoCellEventArgs e2, GeoRepeaterEventArgs e3)
 {
     bool flag = false;
     bool flag2 = false;
     bool flag3 = false;
     if (this.GeoUpdateSitePosEvent != null)
     {
         flag = this.GeoUpdateSitePosEvent(e1);
     }
     if (this.GeoUpdateCellPosEvent != null)
     {
         flag2 = this.GeoUpdateCellPosEvent(e2);
     }
     if (this.GeoUpdateRepeaterPosEvent != null)
     {
         flag3 = this.GeoUpdateRepeaterPosEvent(e3);
     }
     return ((flag & flag2) & flag3);
 }
예제 #6
0
 protected virtual bool OnGeoDeleteCellMsg(GeoCellEventArgs cellargs)
 {
     bool flag = false;
     if (this.GeoDeleteCellEvent != null)
     {
         flag = this.GeoDeleteCellEvent(cellargs);
         this.ResetUndoRedo();
     }
     return flag;
 }
예제 #7
0
 public void ModifyCellMsgChange(GeoCellEventArgs args)
 {
     this.m_NetEntityData.ModifyCells(args.TranceiverList);
 }
예제 #8
0
 public bool GeoUpdatePosInfoMsg(List<GeoSite> siteList, List<GeoCell> cellList, List<GeoRepeater> repeaterList)
 {
     GeoSiteEventArgs args = new GeoSiteEventArgs(siteList);
     GeoCellEventArgs args2 = new GeoCellEventArgs(cellList);
     GeoRepeaterEventArgs args3 = new GeoRepeaterEventArgs(repeaterList);
     return this.OnGeoUpdatePosInfoMsg(args, args2, args3);
 }
예제 #9
0
 public bool GeoDeleteCellMsg(List<GeoCell> cellList)
 {
     GeoCellEventArgs cellargs = new GeoCellEventArgs(cellList);
     return this.OnGeoDeleteCellMsg(cellargs);
 }
예제 #10
0
 public void GeoActiveCellMsg(List<GeoCell> cellList)
 {
     GeoCellEventArgs args = new GeoCellEventArgs(cellList);
     if (this.GeoActiveCellEvent != null)
     {
         this.GeoActiveCellEvent(args);
     }
 }
예제 #11
0
 public void DeleteCellMsgChange(GeoCellEventArgs args)
 {
     this.m_NetEntityData.DeleteCellsByID(args.TranceiverList);
 }
예제 #12
0
 public bool CollectDataAndDisplay()
 {
     this.GetNEproList();
     List<GeoSite> siteList = this.m_Editor.SetGeoSiteList();
     List<GeoCell> cellList = this.m_Editor.SetGeoCellList();
     if (this.m_NetEntityEvent != null)
     {
         GeoSiteEventArgs args = new GeoSiteEventArgs(siteList);
         GeoCellEventArgs args2 = new GeoCellEventArgs(cellList);
         this.m_NetEntityEvent.ModifySiteMsgChange(args);
         this.m_NetEntityEvent.ModifyCellMsgChange(args2);
         this.m_NetEntityEvent.SetGeoSiteDisplayStyle(this.m_Editor.GisDisplay.SiteDisPlayPara);
         this.m_NetEntityEvent.SetGeoCellDisplayStyle(this.m_Editor.GisDisplay.CellDisPlayPara);
         this.m_NetEntityEvent.MapRedraw();
     }
     if (!this.SetAllDisPlayControlValue())
     {
         MessageBoxUtil.ShowInfo(NEResource.NE_INVALID_INPUT);
         return false;
     }
     return true;
 }