Closed mregen closed 4 years ago
from Opc.Ua.Types.bsd, the Reserved1 field is calculated incorrectly, Length should be 1 BinaryValidator fails otherwise.
<opc:StructuredType Name="DiagnosticInfo"> <opc:Documentation>A recursive structure containing diagnostic information associated with a status code.</opc:Documentation> <opc:Field Name="SymbolicIdSpecified" TypeName="opc:Bit" /> <opc:Field Name="NamespaceURISpecified" TypeName="opc:Bit" /> <opc:Field Name="LocalizedTextSpecified" TypeName="opc:Bit" /> <opc:Field Name="LocaleSpecified" TypeName="opc:Bit" /> <opc:Field Name="AdditionalInfoSpecified" TypeName="opc:Bit" /> <opc:Field Name="InnerStatusCodeSpecified" TypeName="opc:Bit" /> <opc:Field Name="InnerDiagnosticInfoSpecified" TypeName="opc:Bit" /> <opc:Field Name="Reserved1" TypeName="opc:Bit" Length="2" /> <opc:Field Name="SymbolicId" TypeName="opc:Int32" SwitchField="SymbolicIdSpecified" /> <opc:Field Name="NamespaceURI" TypeName="opc:Int32" SwitchField="NamespaceURISpecified" /> <opc:Field Name="Locale" TypeName="opc:Int32" SwitchField="LocaleSpecified" /> <opc:Field Name="LocalizedText" TypeName="opc:Int32" SwitchField="LocalizedTextSpecified" />
I think this was fixed during a sync call.
from Opc.Ua.Types.bsd, the Reserved1 field is calculated incorrectly, Length should be 1 BinaryValidator fails otherwise.