コード例 #1
0
 internal TrendTag(
     TrendsCategoryAbstract category,
     int id,
     string name,
     Func <string> descriptionGetter,
     Func <string> formatGetter,
     Func <string> engUnitGetter,
     double?minValue,
     double?maxValue)
 {
     _category          = category;
     _id                = id;
     _name              = name;
     _descriptionGetter = descriptionGetter;
     _formatGetter      = formatGetter;
     _engUnitGetter     = engUnitGetter;
     _minValue          = minValue;
     _maxValue          = maxValue;
 }
コード例 #2
0
ファイル: TrendTag.cs プロジェクト: guozanhua/phmi
 internal TrendTag(
     TrendsCategoryAbstract category,
     int id,
     string name,
     Func<string> descriptionGetter,
     Func<string> formatGetter,
     Func<string> engUnitGetter,
     double? minValue,
     double? maxValue)
 {
     _category = category;
     _id = id;
     _name = name;
     _descriptionGetter = descriptionGetter;
     _formatGetter = formatGetter;
     _engUnitGetter = engUnitGetter;
     _minValue = minValue;
     _maxValue = maxValue;
 }
コード例 #3
0
ファイル: TrendsService.cs プロジェクト: xxmingming/phmi
 public void Add(TrendsCategoryAbstract category)
 {
     _categories.Add(category);
 }
コード例 #4
0
ファイル: TrendsService.cs プロジェクト: xxmingming/phmi
 private void ApplyResult(TrendsCategoryAbstract category, RemapTrendsResult result)
 {
     _reporter.Report(result.Notifications);
     category.ApplyRemapResult(result);
 }
コード例 #5
0
ファイル: TrendsService.cs プロジェクト: guozanhua/phmi
 private void ApplyResult(TrendsCategoryAbstract category, RemapTrendsResult result)
 {
     _reporter.Report(result.Notifications);
     category.ApplyRemapResult(result);
 }
コード例 #6
0
ファイル: TrendsService.cs プロジェクト: guozanhua/phmi
 public void Add(TrendsCategoryAbstract category)
 {
     _categories.Add(category);
 }