Changeset 9614 for branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/Aggregation/AggregateWithMeanCommand.cs
- Timestamp:
- 06/12/13 13:32:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/Aggregation/AggregateWithMeanCommand.cs
r7267 r9614 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 25 using System.Text; 23 using HeuristicLab.DataImporter.Command.View; 26 24 using HeuristicLab.DataImporter.Data; 27 25 using HeuristicLab.DataImporter.Data.CommandBase; 28 26 using HeuristicLab.DataImporter.Data.Model; 29 using HeuristicLab.DataImporter.Command.View;30 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 28 … … 35 32 "Aggregation", Position = 0, OptionsView = typeof(AggregationCommandView))] 36 33 public class AggregateWithMeanCommand : AggregateCommandBase { 37 private AggregateWithMeanCommand() 38 : base(null,string.Empty,null) { 39 } 34 [StorableConstructor] 35 protected AggregateWithMeanCommand(bool deserializing) : base(deserializing) { } 40 36 41 37 public AggregateWithMeanCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) … … 58 54 } 59 55 } 60 return cnt != 0 ? value/cnt : (double?)null;56 return cnt != 0 ? value / cnt : (double?)null; 61 57 } 62 58 }
Note: See TracChangeset
for help on using the changeset viewer.