public GeoRepeater clone() { GeoRepeater repeater = new GeoRepeater(); repeater.Azimuth = this.Azimuth; repeater.ID = base.ID; repeater.Label = base.Label; repeater.Name = base.Name; repeater.Visible = base.Visible; repeater.XOffset = this.XOffset; repeater.YOffset = this.YOffset; repeater.Cell = this.Cell; this.SetNewPosition(); return repeater; }
public void GeoAddRepeaterMsg(double x, double y, ref List<GeoRepeater> repeaters) { GeoRepeater item = new GeoRepeater(x, y); GeoRepeaterEventArgs e = new GeoRepeaterEventArgs(); e.RepeatorList.Add(item); this.OnGeoAddRepeaterMsg(e, ref repeaters); }
private GeoRepeater GetGeoNERepeater(Repeater lteRepeater) { GeoRepeater repeater = new GeoRepeater(lteRepeater.DX, lteRepeater.DY); repeater.Azimuth = 0.0; if (null != lteRepeater.ConverageAntConfig) { repeater.Azimuth = lteRepeater.ConverageAntConfig.Azimuth; } repeater.ID = lteRepeater.ID; repeater.Name = lteRepeater.Name; repeater.Label = lteRepeater.Name; repeater.Visible = lteRepeater.Visible; repeater.Cell = Transceiver.GetGeoNECell(lteRepeater.Parent); return repeater; }