mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-22 03:24:29 +08:00
no message
This commit is contained in:
@@ -13,6 +13,7 @@ using BootstrapBlazor.Components;
|
|||||||
|
|
||||||
using System.Collections.Concurrent;
|
using System.Collections.Concurrent;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
using System.Security.Cryptography.X509Certificates;
|
||||||
|
|
||||||
using TouchSocket.Core;
|
using TouchSocket.Core;
|
||||||
|
|
||||||
@@ -141,6 +142,10 @@ Dictionary<long, Channel> channelDicts)
|
|||||||
|
|
||||||
foreach (var item in propertyInfos)
|
foreach (var item in propertyInfos)
|
||||||
{
|
{
|
||||||
|
if (item.Name == nameof(Variable.Id))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
var desc = type.GetPropertyDisplayName(item.Name);
|
var desc = type.GetPropertyDisplayName(item.Name);
|
||||||
row.TryAdd(desc ?? item.Name, item.GetValue(variable)?.ToString());
|
row.TryAdd(desc ?? item.Name, item.GetValue(variable)?.ToString());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user