Index: DamEngine/trunk/src/Deltares.DamEngine.Data/General/TimeSeries/TimeSerie.cs =================================================================== diff -u -r4540 -r6110 --- DamEngine/trunk/src/Deltares.DamEngine.Data/General/TimeSeries/TimeSerie.cs (.../TimeSerie.cs) (revision 4540) +++ DamEngine/trunk/src/Deltares.DamEngine.Data/General/TimeSeries/TimeSerie.cs (.../TimeSerie.cs) (revision 6110) @@ -229,21 +229,21 @@ return -1; } - public string GetNearestBasisFileName(DateTime dateTime) - { - var res = ""; - var mindiff = 1e99; - double diff; - foreach (TimeSerieEntry entry in Entries) - { - diff = Math.Abs(entry.DateTime.ToFileTimeUtc() - dateTime.ToFileTimeUtc()); - if (diff < mindiff) - { - res = entry.BasisFileName; - mindiff = diff; - } - } - - return res; - } +// public string GetNearestBasisFileName(DateTime dateTime) +// { +// var res = ""; +// var mindiff = 1e99; +// double diff; +// foreach (TimeSerieEntry entry in Entries) +// { +// diff = Math.Abs(entry.DateTime.ToFileTimeUtc() - dateTime.ToFileTimeUtc()); +// if (diff < mindiff) +// { +// res = entry.BasisFileName; +// mindiff = diff; +// } +// } +// +// return res; +// } } \ No newline at end of file