コード例 #1
0
 public SetTimeAverage(string name, TimeSpan span, AmphibianSoftware.VisualSail.Data.Statistics.Calculator.Calculator <T> calculator, T zero, StatisticType type, StatisticUnit metricUnit, StatisticUnit standardUnit, string description, bool selectedByDefault)
     : base(name, calculator, type, metricUnit, standardUnit, description, selectedByDefault)
 {
     _zero     = zero;
     _timespan = span;
     _values   = new SortedList <DateTime, T>();
 }
コード例 #2
0
ファイル: Statistic.cs プロジェクト: IanMadlenya/VisualSail
 public Statistic(string name, AmphibianSoftware.VisualSail.Data.Statistics.Calculator.Calculator <T> calculator, StatisticType type, StatisticUnit metricUnit, StatisticUnit standardUnit, string description, bool selectedByDefault)
 {
     _name              = name;
     _calculator        = calculator;
     _type              = type;
     _metricUnit        = metricUnit;
     _standardUnit      = standardUnit;
     _description       = description;
     _selectedByDefault = selectedByDefault;
 }
コード例 #3
0
 public Sum(string name, AmphibianSoftware.VisualSail.Data.Statistics.Calculator.Calculator <T> calculator, StatisticType type, StatisticUnit metricUnit, StatisticUnit standardUnit, string description, bool selectedByDefault) : base(name, calculator, type, metricUnit, standardUnit, description, selectedByDefault)
 {
 }