public void ActiveCellMsg(GeoCellEventArgs args) { if (this.GeoActiveCellEvent != null) { this.GeoActiveCellEvent(args); } }
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(); } } }
public void AddRelayCellMsgChange(GeoCellEventArgs args) { m_NetEntityData.AddRelayCellAlone(args.RelayCells); }
public void AddCellMsgChange(GeoCellEventArgs cellArgs) { this.m_NetEntityData.AddCellAlone(cellArgs.TranceiverList); }
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); }
protected virtual bool OnGeoDeleteCellMsg(GeoCellEventArgs cellargs) { bool flag = false; if (this.GeoDeleteCellEvent != null) { flag = this.GeoDeleteCellEvent(cellargs); this.ResetUndoRedo(); } return flag; }
public void ModifyCellMsgChange(GeoCellEventArgs args) { this.m_NetEntityData.ModifyCells(args.TranceiverList); }
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); }
public bool GeoDeleteCellMsg(List<GeoCell> cellList) { GeoCellEventArgs cellargs = new GeoCellEventArgs(cellList); return this.OnGeoDeleteCellMsg(cellargs); }
public void GeoActiveCellMsg(List<GeoCell> cellList) { GeoCellEventArgs args = new GeoCellEventArgs(cellList); if (this.GeoActiveCellEvent != null) { this.GeoActiveCellEvent(args); } }
public void DeleteCellMsgChange(GeoCellEventArgs args) { this.m_NetEntityData.DeleteCellsByID(args.TranceiverList); }
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; }