//----------------------------------------------------------------------- // // Copyright (c) 2011 Deltares. All rights reserved. // // Tom The // tom.the@deltares.nl // 05-04-2011 // DataSource for data plugin //----------------------------------------------------------------------- namespace Deltares.Dam.Data.DataPlugins.Configuration { public class DataSource { public DataSourceType DataSourceType { get; set; } public string DataLocation { get; set; } public string DikeRingId { get; set; } public override string ToString() { return DataSourceType.ToString() + "|" + (string.IsNullOrWhiteSpace(DikeRingId) ? "" : DikeRingId) + "|" + DataLocation; } } }