GREET API
Exposed interfaces to create modules that can be loaded in GREET
 All Classes Namespaces Files Functions Enumerations Enumerator Properties Events
IUnitGroup.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Reflection;
6 
7 namespace PlugInsInterfaces.DataTypes
8 {
13  [Obfuscation(Feature = "renaming", Exclude = true)]
14  public interface IUnitGroup
15  {
19  [Obfuscation(Feature = "renaming", Exclude = true)]
20  string Name { get; }
24  [Obfuscation(Feature = "renaming", Exclude = true)]
25  string DefaultUnitStr { get; }
29  [Obfuscation(Feature = "renaming", Exclude = true)]
30  string OverrideUnitStr { get; }
37  [Obfuscation(Feature = "renaming", Exclude = true)]
38  double ConvertFromOverrideToDefault(double valueToConvert);
44  [Obfuscation(Feature = "renaming", Exclude = true)]
45  double ConvertFromDefaultToOverride(double valueToConvert);
52  [Obfuscation(Feature = "renaming", Exclude = true)]
53  double ConvertFromDefaultToSpecific(double valueToConvert, string unit);
54  }
55 }
A unit group represents "energy" or "volume" the default unit used are the unit used by the calcu...
Definition: IUnitGroup.cs:14