2019-04-08 08:47:12 +02:00
|
|
|
|
// /**
|
|
|
|
|
// * File: PointOfPresence.cs
|
|
|
|
|
// * Author: haraldwolff
|
|
|
|
|
// *
|
|
|
|
|
// * This file and it's content is copyrighted by the Author and / or copyright holder.
|
|
|
|
|
// * Any use wihtout proper permission is illegal and may lead to legal actions.
|
|
|
|
|
// *
|
|
|
|
|
// *
|
|
|
|
|
// **/
|
|
|
|
|
using System;
|
|
|
|
|
using ln.types.odb;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using ln.types;
|
|
|
|
|
namespace ln.skyscanner.entities
|
|
|
|
|
{
|
|
|
|
|
public class PointOfPresence
|
|
|
|
|
{
|
|
|
|
|
public Guid ID = Guid.NewGuid();
|
|
|
|
|
|
|
|
|
|
public String Name { get; set; }
|
|
|
|
|
public String ForeignName { get; set; }
|
|
|
|
|
|
2019-04-11 08:30:13 +02:00
|
|
|
|
public GeoLocation GeoLocation { get; set; }
|
2019-04-08 08:47:12 +02:00
|
|
|
|
public DateTime Created { get; private set; } = DateTime.Now;
|
|
|
|
|
|
2019-06-28 10:01:30 +02:00
|
|
|
|
public IEnumerable<L2Segment> L2Segments
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2019-08-29 13:14:52 +02:00
|
|
|
|
throw new NotImplementedException();
|
2019-06-28 10:01:30 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-04-08 08:47:12 +02:00
|
|
|
|
public PointOfPresence()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-30 07:16:54 +02:00
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return string.Format("[PointOfPresence ID={0} Name={1} ForeignName={2}]",ID,Name,ForeignName);
|
|
|
|
|
}
|
2019-04-08 08:47:12 +02:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|