整理PLC DB块对应关系,整理IO列表中层级配置
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user