实现了Mqtt服务器详情页的简单功能
This commit is contained in:
@@ -22,6 +22,8 @@ public class EnumDescriptionConverter : IValueConverter
|
||||
|
||||
private string GetEnumDescription(object enumObj)
|
||||
{
|
||||
if (enumObj == null) return null; // Add null check here
|
||||
|
||||
var fi = enumObj.GetType().GetField(enumObj.ToString());
|
||||
|
||||
var attributes =
|
||||
|
||||
Reference in New Issue
Block a user