You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DataTypes.GetDataTypeId return node ID "i=22" instead of "i=887" for EUInformation #1679
The method NodeId GetDataTypeId(Type type) of DataTypes (DataTypes.Helpers.cs) returns the node ID "i=22" (Structure) when the type passed as argument is Opc.Ua.EUInformation. Why does it not return "i=887"?
GetDataTypeId calls TypeInfo.Construct(type) which does:
builtInType is then null, and then TypeInfo.Construct(type) return the TypeInfo for BuiltInType.ExtensionObject:
...// check for encodeable object.if(typeof(IEncodeable).GetTypeInfo().IsAssignableFrom(systemType.GetTypeInfo())||name=="IEncodeable"){returnnewTypeInfo(BuiltInType.ExtensionObject,ValueRanks.Scalar);}
This leads to the node ID "i=22" due to the later call to NodeId GetDataTypeId(TypeInfo typeInfo).
Is this normal?
Activity
EthanChangAED commentedon Jul 21, 2023
Hello @thomas-wirtz-bauman , are you still seeing this issue?