15项采集项

This commit is contained in:
liming 蔡
2026-08-13 10:01:28 +08:00
parent 140c22a857
commit a7a9037b9b
8 changed files with 156 additions and 38 deletions
+7 -1
View File
@@ -1226,8 +1226,14 @@ namespace JinYuan.MES
string[] keys = line.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries);
if (keys.Length == 3)
{
var temp = m.GetType().GetProperty(keys[1]).GetValue(m, null);
var prop = m.GetType().GetProperty(keys[1]);
if (prop == null)
{
continue;
}
var temp = prop.GetValue(m, null);
datavolist.Add(new TagDataVOListItem()
{
tagCode = keys[0],