ConverterInitializeData Method

Initialize the data catalog for the specified session.

Definition

Namespace: ConversionCalc
Assembly: ConversionCalc (in ConversionCalc.dll) Version: 25.1109.1402+460980fe794ed921231d4cff278ac7c37ae486a2
C#
public static void InitializeData(
	Converter converter,
	string jsonData
)

Parameters

converter  Converter
Reference to the converter to be initialized.
jsonData  String
JSON string data containing the catalog definition to be parsed.

Remarks

The Converter Data Catalog schema for this version follows:
  • **Catalog**.
    • **Remarks** (StringList). One or more lines of space-extended multiline text.
    • **Domains** (DomainCollection). Collection of calculation domains like *Density*, *Temperature*, etc.
      • **DomainName** (String). Name of the domain.
      • **Remarks** (StringList). One or more lines of space-extended multiline text.
      • **Conversions**. (ConversionCollection). Collection of uni-directional calculation conversions, orientent toward the base.
        • **EntryType** (String). Type of conversion entry: {None|Base|Conversion|Procedure}.
        • **Aliases** (StringList). List of alternative names under which the same conversion can be performed.
        • **Value** (FloatingPoint). A conversion value used to calclate this step.

See Also