예제 #1
0
 private void AddUnitDefinition(Enumerations.Units unit, UnitTypes[] unitTypes, Func <double, double> formulaConvert, Func <double, double> formulaConvertBack) =>
 Units.Add(new Unit(unit, unitTypes, formulaConvert, formulaConvertBack));
예제 #2
0
 private void AddSIUnitDefinition(Enumerations.Units unit, UnitTypes[] unitTypes) =>
 Units.Add(new SIUnit(unit, unitTypes));