整理PLC DB块对应关系,整理IO列表中层级配置

This commit is contained in:
hanqiangqiang
2026-07-06 16:55:42 +08:00
parent a00a0a42b4
commit d930588fc2
6 changed files with 1138 additions and 1212 deletions
@@ -59,26 +59,35 @@ namespace MECF.Framework.Common.IOCore
public object Clone()
{
return new NotifiableIoItem
try
{
Address = Address,
BlockIndex = BlockIndex,
BlockOffset = BlockOffset,
BoolValue = BoolValue,
Description = Description,
Display_En = Display_En,
Display_Zh = Display_Zh,
AltName = AltName,
HoldValue = HoldValue,
Index = Index,
Name = Name,
Provider = Provider,
ShortValue = ShortValue,
FloatValue = FloatValue,
IntValue = IntValue,
StringValue = StringValue,
Visible = Visible
};
return new NotifiableIoItem
{
Address = Address,
BlockIndex = BlockIndex,
BlockOffset = BlockOffset,
BoolValue = BoolValue,
Description = Description,
Display_En = Display_En,
Display_Zh = Display_Zh,
AltName = AltName,
HoldValue = HoldValue,
Index = Index,
Name = Name,
Provider = Provider,
ShortValue = ShortValue,
FloatValue = FloatValue,
IntValue = IntValue,
StringValue = StringValue,
Visible = Visible
};
}
catch (Exception ex)
{
throw;
}
}
}
}