public string LabelOf(StdVar AVariable) { string key = AVariable.ToString(); if (!Variables.ContainsKey(key)) { throw new Exception("Variable: " + key + " is undefined. " + "Please, check the XML definition file"); } return(LabelOf((string)Variables[key])); }
public string GetStdUOM(StdVar APrecVariable) { string s = APrecVariable.ToString(); return((string)Variables[s]); }