示例#1
0
 /// <summary>Get string of value by position in communication table</summary>
 /// <param name="ValuePosition">Position in table</param>
 /// <param name="uiValue">Value as unsigned 16 bit number</param>
 /// <returns>String of value (empty string, if not found)</returns>
 public string GetValueString(byte ValuePosition, UInt16 uiValue)
 {
     if (mLanguage != null)
     {
         return(mLanguage.GetValue((UInt16)ValuePosition, uiValue));
     }
     else
     {
         throw new NullReferenceException("Language block not initialized");
     }
 }