namespace Deltares.Dam.Data { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class Gauge { public virtual string Name { get; set; } public virtual Location Location{ get; set; } public virtual double LocalX { get; set; } public double? Value { get; set; } public override string ToString() { return String.Format("{0} @ Location {1} | Local X={2}", this.Name, this.Location != null ? this.Location.Name : "?", this.LocalX); } } }