Type t = Farsightedgo.Localization.LanguageManager.Instance.GetType();//获得该类的Type
foreach (PropertyInfo pi in t.GetProperties())
{
if (pi.Name == DeviceName)
{
Name = pi.GetValue(Farsightedgo.Localization.LanguageManager.Instance,null).ToString();
break;
}
}