Index: DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/DamEngineIo/FillXmlInputFromDamUi.cs =================================================================== diff -u -r6173 -r6199 --- DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/DamEngineIo/FillXmlInputFromDamUi.cs (.../FillXmlInputFromDamUi.cs) (revision 6173) +++ DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/DamEngineIo/FillXmlInputFromDamUi.cs (.../FillXmlInputFromDamUi.cs) (revision 6199) @@ -230,53 +230,24 @@ var inputTimeSerie = new DamEngine.Io.XmlInput.TimeSerie(); inputTimeSerie.Entries = new TimeSerieEntries(); inputTimeSerie.Entries.TimeSerieEntry = new TimeSerieEntriesTimeSerieEntry[timeSerie.Entries.Count]; - inputTimeSerie.TimeStep = new TimeSerieTimeStep(); inputTimeSerie.LocationId = timeSerie.LocationId; inputTimeSerie.ParameterId = timeSerie.ParameterId; inputTimeSerie.ForecastDateTime = timeSerie.ForecastDateTime; - inputTimeSerie.Type = timeSerie.Type; inputTimeSerie.StartDateTime = timeSerie.StartDateTime; inputTimeSerie.EndDateTime = timeSerie.EndDateTime; inputTimeSerie.MissVal = timeSerie.MissVal; - inputTimeSerie.LongName = timeSerie.LongName; - inputTimeSerie.StationName = timeSerie.StationName; inputTimeSerie.Units = timeSerie.Units; - inputTimeSerie.SourceOrganisation = timeSerie.SourceOrganisation; - inputTimeSerie.SourceSystem = timeSerie.SourceSystem; - inputTimeSerie.FileDescription = timeSerie.FileDescription; - inputTimeSerie.Region = timeSerie.Region; - inputTimeSerie.TimeStep.Multiplier = timeSerie.TimeStep.Multiplier; - inputTimeSerie.TimeStep.Divider = timeSerie.TimeStep.Divider; - inputTimeSerie.TimeStep.MultiplierSpecified1 = timeSerie.TimeStep.MultiplierSpecified; - inputTimeSerie.TimeStep.DividerSpecified1 = timeSerie.TimeStep.DividerSpecified; - inputTimeSerie.TimeStep.TimeStepUnit = ConversionHelper.ConvertToInputTimeStepUnit(timeSerie.TimeStep.Unit); var timeSerieEntryIndex = 0; foreach (TimeSerieEntry timestepEntry in timeSerie.Entries) { - // TimeSerieEntriesTimeSerieEntryStochastValue stochastValue = null; - // if (timestepEntry.StochastValue != null) - // { - // stochastValue = new TimeSerieEntriesTimeSerieEntryStochastValue - // { - // Distribution = timestepEntry.StochastValue.Distribution, - // Mean = timestepEntry.StochastValue.Mean, - // StandardDeviation = timestepEntry.StochastValue.StandardDeviation - // }; - // } - var timeStep = new TimeSerieEntriesTimeSerieEntry { DateTime = timestepEntry.DateTime, Value = timestepEntry.Value - // BasisFileNameWMF = timestepEntry.BasisFileName, - // Flagnietechtgebruikt = timestepEntry.Flag, - // RelativeCalculationPathName = timestepEntry.RelativeCalculationPathName, - // StochastValue = stochastValue }; inputTimeSerie.Entries.TimeSerieEntry[timeSerieEntryIndex] = timeStep; timeSerieEntryIndex++; } - operationalInputTimeSeries[timeSerieIndex] = inputTimeSerie; timeSerieIndex++; }