Example #1
0
        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]));
        }
Example #2
0
        public string GetStdUOM(StdVar APrecVariable)
        {
            string s = APrecVariable.ToString();

            return((string)Variables[s]);
        }