Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/12/13 13:32:34 (12 years ago)
Author:
mkommend
Message:

#1734: Added StorableConstructor to all storable DataImporter classes.

Location:
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/TimeSeries
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/TimeSeries/ChangeDateTimeColumnToDoubleColumn.cs

    r7267 r9614  
    2323using System.Collections.Generic;
    2424using System.Linq;
    25 using System.Text;
     25using System.Windows.Forms;
     26using HeuristicLab.DataImporter.Command.View;
     27using HeuristicLab.DataImporter.Data;
    2628using HeuristicLab.DataImporter.Data.CommandBase;
    2729using HeuristicLab.DataImporter.Data.Model;
    2830using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    29 using HeuristicLab.DataImporter.Data;
    30 using HeuristicLab.DataImporter.Command.View;
    31 using System.Windows.Forms;
    3231
    3332namespace HeuristicLab.DataImporter.Command {
     
    4241    private IEnumerable<SortOrder> oldSortOrder;
    4342
    44     private ChangeDateTimeColumnToDoubleColumn()
    45       : base(null, string.Empty, null) {
     43    [StorableConstructor]
     44    protected ChangeDateTimeColumnToDoubleColumn(bool deserializing)
     45      : base(deserializing) {
    4646      newColumns = new List<ColumnBase>();
    4747      oldColumns = new List<ColumnBase>();
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/TimeSeries/DeleteNotEquidistantRowsCommand.cs

    r7267 r9614  
    2323using System.Collections.Generic;
    2424using System.Linq;
    25 using System.Text;
    2625using System.Windows.Forms;
    27 using System.Xml;
     26using HeuristicLab.DataImporter.Command.View;
     27using HeuristicLab.DataImporter.Data;
    2828using HeuristicLab.DataImporter.Data.CommandBase;
    2929using HeuristicLab.DataImporter.Data.Model;
    30 using HeuristicLab.DataImporter.Data;
    31 using HeuristicLab.DataImporter.Command.View;
    3230using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3331
     
    4240    private IEnumerable<SortOrder> oldSortOrder;
    4341
    44     private DeleteNotEquidistantRowsCommand()
    45       : base(null, string.Empty) {
     42    [StorableConstructor]
     43    protected DeleteNotEquidistantRowsCommand(bool deserializing)
     44      : base(deserializing) {
    4645      oldColumns = new List<ColumnBase>();
    4746    }
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/TimeSeries/EquidistantSamplingCommand.cs

    r7267 r9614  
    2323using System.Collections.Generic;
    2424using System.Linq;
    25 using System.Text;
    2625using System.Windows.Forms;
    27 using System.Xml;
     26using HeuristicLab.DataImporter.Command.View;
     27using HeuristicLab.DataImporter.Data;
    2828using HeuristicLab.DataImporter.Data.CommandBase;
    2929using HeuristicLab.DataImporter.Data.Model;
    30 using HeuristicLab.DataImporter.Data;
    31 using HeuristicLab.DataImporter.Command.View;
    3230using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3331
     
    4038    private DateTimeColumn columnToSample;
    4139
    42     private EquidistantSamplingCommand()
    43       : base(null, string.Empty) {
    44     }
    45 
     40    [StorableConstructor]
     41    protected EquidistantSamplingCommand(bool deserializing) : base(deserializing) { }
    4642    public EquidistantSamplingCommand(DataSet dataSet, string columnGroupName)
    4743      : base(dataSet, columnGroupName) {
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/TimeSeries/EquidistantTimeSeriesCommandBase.cs

    r7267 r9614  
    2121
    2222using System;
    23 using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
     23using HeuristicLab.DataImporter.Data;
    2624using HeuristicLab.DataImporter.Data.CommandBase;
     25using HeuristicLab.DataImporter.Data.Model;
    2726using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    28 using HeuristicLab.DataImporter.Data.Model;
    29 using HeuristicLab.DataImporter.Data;
    3027
    3128namespace HeuristicLab.DataImporter.Command {
    3229  [StorableClass]
    3330  public abstract class EquidistantTimeSeriesCommandBase : ColumnGroupCommandBase {
    34     private EquidistantTimeSeriesCommandBase()
    35       : base(null, string.Empty) {
    36     }
    37 
     31    [StorableConstructor]
     32    protected EquidistantTimeSeriesCommandBase(bool deserializing) : base(deserializing) { }
    3833    public EquidistantTimeSeriesCommandBase(DataSet dataSet, string columnGroupName)
    3934      : base(dataSet, columnGroupName) {
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/TimeSeries/InterpolateMissingValues.cs

    r7267 r9614  
    2323using System.Collections.Generic;
    2424using System.Linq;
    25 using System.Text;
    2625using System.Windows.Forms;
     26using HeuristicLab.DataImporter.Data;
    2727using HeuristicLab.DataImporter.Data.CommandBase;
    2828using HeuristicLab.DataImporter.Data.Model;
    29 using HeuristicLab.DataImporter.Data;
    30 using HeuristicLab.DataImporter.Command.View;
    3129using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3230
     
    3937    private DateTimeColumn columnToSample;
    4038
    41     private InterpolateMissingValues()
    42       : base(null, string.Empty, null) {
    43     }
    44 
     39    [StorableConstructor]
     40    protected InterpolateMissingValues(bool deserializing) : base(deserializing) { }
    4541    public InterpolateMissingValues(DataSet dataSet, string columnGroupName, int[] affectedColumns)
    4642      : base(dataSet, columnGroupName, affectedColumns) {
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/TimeSeries/SetPartOfDateTimeCommand.cs

    r7267 r9614  
    2323using System.Collections.Generic;
    2424using System.Linq;
    25 using System.Text;
    2625using System.Windows.Forms;
    27 using System.Xml;
     26using HeuristicLab.DataImporter.Command.View;
     27using HeuristicLab.DataImporter.Data;
    2828using HeuristicLab.DataImporter.Data.CommandBase;
    2929using HeuristicLab.DataImporter.Data.Model;
    30 using HeuristicLab.DataImporter.Data;
    31 using HeuristicLab.DataImporter.Command.View;
    3230using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3331
     
    4139    private IEnumerable<SortOrder> oldSortOrder;
    4240
    43     private SetPartOfDateTimeCommand()
    44       : base(null, string.Empty, null) {
    45     }
    46 
     41    [StorableConstructor]
     42    protected SetPartOfDateTimeCommand(bool deserializing) : base(deserializing) { }
    4743    public SetPartOfDateTimeCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns)
    4844      : base(dataSet, columnGroupName, affectedColumns) {
Note: See TracChangeset for help on using the changeset viewer.