Skip to content

Commit

Permalink
Update encoders to suppress artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
randy-armstrong committed Nov 6, 2024
1 parent f5ef1b4 commit 58198ff
Show file tree
Hide file tree
Showing 11 changed files with 11,130 additions and 11,156 deletions.
11,065 changes: 5,527 additions & 5,538 deletions Stack/Opc.Ua.Core/Schema/Opc.Ua.NodeSet2.xml

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions Stack/Opc.Ua.Core/Schema/Opc.Ua.Types.bsd
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,6 @@
<opc:Field Name="CorrelationData" TypeName="opc:ByteString" />
<opc:Field Name="RequestorId" TypeName="opc:String" />
<opc:Field Name="TimeoutHint" TypeName="opc:Double" />
<opc:Field Name="Message" TypeName="ua:Variant" />
</opc:StructuredType>

<opc:StructuredType Name="JsonActionRequestMessage" BaseType="ua:ExtensionObject">
Expand All @@ -1346,7 +1345,6 @@
<opc:Field Name="MessageType" TypeName="opc:String" />
<opc:Field Name="RequestId" TypeName="opc:UInt16" />
<opc:Field Name="ActionState" TypeName="tns:ActionState" />
<opc:Field Name="Payload" TypeName="ua:ExtensionObject" />
</opc:StructuredType>

<opc:StructuredType Name="JsonActionResponseMessage" BaseType="ua:ExtensionObject">
Expand All @@ -1361,7 +1359,6 @@
<opc:Field Name="MessageType" TypeName="opc:String" />
<opc:Field Name="RequestId" TypeName="opc:UInt16" />
<opc:Field Name="ActionState" TypeName="tns:ActionState" />
<opc:Field Name="Payload" TypeName="ua:ExtensionObject" />
</opc:StructuredType>

<opc:StructuredType Name="AliasNameDataType" BaseType="ua:ExtensionObject">
Expand Down
3 changes: 0 additions & 3 deletions Stack/Opc.Ua.Core/Schema/Opc.Ua.Types.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2920,7 +2920,6 @@
<xs:element name="CorrelationData" type="xs:base64Binary" minOccurs="0" nillable="true" />
<xs:element name="RequestorId" type="xs:string" minOccurs="0" nillable="true" />
<xs:element name="TimeoutHint" type="xs:double" minOccurs="0" />
<xs:element name="Message" type="ua:Variant" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:element name="JsonActionNetworkMessage" type="tns:JsonActionNetworkMessage" />
Expand All @@ -2944,7 +2943,6 @@
<xs:element name="MessageType" type="xs:string" minOccurs="0" nillable="true" />
<xs:element name="RequestId" type="xs:unsignedShort" minOccurs="0" />
<xs:element name="ActionState" type="tns:ActionState" minOccurs="0" />
<xs:element name="Payload" type="ua:ExtensionObject" minOccurs="0" nillable="true" />
</xs:sequence>
</xs:complexType>
<xs:element name="JsonActionRequestMessage" type="tns:JsonActionRequestMessage" />
Expand All @@ -2969,7 +2967,6 @@
<xs:element name="MessageType" type="xs:string" minOccurs="0" nillable="true" />
<xs:element name="RequestId" type="xs:unsignedShort" minOccurs="0" />
<xs:element name="ActionState" type="tns:ActionState" minOccurs="0" />
<xs:element name="Payload" type="ua:ExtensionObject" minOccurs="0" nillable="true" />
</xs:sequence>
</xs:complexType>
<xs:element name="JsonActionResponseMessage" type="tns:JsonActionResponseMessage" />
Expand Down
42 changes: 0 additions & 42 deletions Stack/Opc.Ua.Core/Stack/Generated/Opc.Ua.DataTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27580,7 +27580,6 @@ private void Initialize()
m_correlationData = null;
m_requestorId = null;
m_timeoutHint = (double)0;
m_message = Variant.Null;
}
#endregion

Expand Down Expand Up @@ -27648,14 +27647,6 @@ public double TimeoutHint
get { return m_timeoutHint; }
set { m_timeoutHint = value; }
}

/// <remarks />
[DataMember(Name = "Message", IsRequired = false, Order = 9)]
public Variant Message
{
get { return m_message; }
set { m_message = value; }
}
#endregion

#region IEncodeable Members
Expand Down Expand Up @@ -27684,7 +27675,6 @@ public virtual void Encode(IEncoder encoder)
encoder.WriteByteString("CorrelationData", CorrelationData);
encoder.WriteString("RequestorId", RequestorId);
encoder.WriteDouble("TimeoutHint", TimeoutHint);
encoder.WriteVariant("Message", Message);

encoder.PopNamespace();
}
Expand All @@ -27702,7 +27692,6 @@ public virtual void Decode(IDecoder decoder)
CorrelationData = decoder.ReadByteString("CorrelationData");
RequestorId = decoder.ReadString("RequestorId");
TimeoutHint = decoder.ReadDouble("TimeoutHint");
Message = decoder.ReadVariant("Message");

decoder.PopNamespace();
}
Expand Down Expand Up @@ -27730,7 +27719,6 @@ public virtual bool IsEqual(IEncodeable encodeable)
if (!Utils.IsEqual(m_correlationData, value.m_correlationData)) return false;
if (!Utils.IsEqual(m_requestorId, value.m_requestorId)) return false;
if (!Utils.IsEqual(m_timeoutHint, value.m_timeoutHint)) return false;
if (!Utils.IsEqual(m_message, value.m_message)) return false;

return true;
}
Expand All @@ -27754,7 +27742,6 @@ public virtual object Clone()
clone.m_correlationData = (byte[])Utils.Clone(this.m_correlationData);
clone.m_requestorId = (string)Utils.Clone(this.m_requestorId);
clone.m_timeoutHint = (double)Utils.Clone(this.m_timeoutHint);
clone.m_message = (Variant)Utils.Clone(this.m_message);

return clone;
}
Expand All @@ -27769,7 +27756,6 @@ public virtual object Clone()
private byte[] m_correlationData;
private string m_requestorId;
private double m_timeoutHint;
private Variant m_message;
#endregion
}

Expand Down Expand Up @@ -27873,7 +27859,6 @@ private void Initialize()
m_messageType = null;
m_requestId = (ushort)0;
m_actionState = ActionState.Idle;
m_payload = null;
}
#endregion

Expand Down Expand Up @@ -27969,14 +27954,6 @@ public ActionState ActionState
get { return m_actionState; }
set { m_actionState = value; }
}

/// <remarks />
[DataMember(Name = "Payload", IsRequired = false, Order = 11)]
public ExtensionObject Payload
{
get { return m_payload; }
set { m_payload = value; }
}
#endregion

#region IEncodeable Members
Expand Down Expand Up @@ -28007,7 +27984,6 @@ public virtual void Encode(IEncoder encoder)
encoder.WriteString("MessageType", MessageType);
encoder.WriteUInt16("RequestId", RequestId);
encoder.WriteEnumerated("ActionState", ActionState);
encoder.WriteExtensionObject("Payload", Payload);

encoder.PopNamespace();
}
Expand All @@ -28027,7 +28003,6 @@ public virtual void Decode(IDecoder decoder)
MessageType = decoder.ReadString("MessageType");
RequestId = decoder.ReadUInt16("RequestId");
ActionState = (ActionState)decoder.ReadEnumerated("ActionState", typeof(ActionState));
Payload = decoder.ReadExtensionObject("Payload");

decoder.PopNamespace();
}
Expand Down Expand Up @@ -28057,7 +28032,6 @@ public virtual bool IsEqual(IEncodeable encodeable)
if (!Utils.IsEqual(m_messageType, value.m_messageType)) return false;
if (!Utils.IsEqual(m_requestId, value.m_requestId)) return false;
if (!Utils.IsEqual(m_actionState, value.m_actionState)) return false;
if (!Utils.IsEqual(m_payload, value.m_payload)) return false;

return true;
}
Expand All @@ -28083,7 +28057,6 @@ public virtual object Clone()
clone.m_messageType = (string)Utils.Clone(this.m_messageType);
clone.m_requestId = (ushort)Utils.Clone(this.m_requestId);
clone.m_actionState = (ActionState)Utils.Clone(this.m_actionState);
clone.m_payload = (ExtensionObject)Utils.Clone(this.m_payload);

return clone;
}
Expand All @@ -28100,7 +28073,6 @@ public virtual object Clone()
private string m_messageType;
private ushort m_requestId;
private ActionState m_actionState;
private ExtensionObject m_payload;
#endregion
}

Expand Down Expand Up @@ -28205,7 +28177,6 @@ private void Initialize()
m_messageType = null;
m_requestId = (ushort)0;
m_actionState = ActionState.Idle;
m_payload = null;
}
#endregion

Expand Down Expand Up @@ -28309,14 +28280,6 @@ public ActionState ActionState
get { return m_actionState; }
set { m_actionState = value; }
}

/// <remarks />
[DataMember(Name = "Payload", IsRequired = false, Order = 12)]
public ExtensionObject Payload
{
get { return m_payload; }
set { m_payload = value; }
}
#endregion

#region IEncodeable Members
Expand Down Expand Up @@ -28348,7 +28311,6 @@ public virtual void Encode(IEncoder encoder)
encoder.WriteString("MessageType", MessageType);
encoder.WriteUInt16("RequestId", RequestId);
encoder.WriteEnumerated("ActionState", ActionState);
encoder.WriteExtensionObject("Payload", Payload);

encoder.PopNamespace();
}
Expand All @@ -28369,7 +28331,6 @@ public virtual void Decode(IDecoder decoder)
MessageType = decoder.ReadString("MessageType");
RequestId = decoder.ReadUInt16("RequestId");
ActionState = (ActionState)decoder.ReadEnumerated("ActionState", typeof(ActionState));
Payload = decoder.ReadExtensionObject("Payload");

decoder.PopNamespace();
}
Expand Down Expand Up @@ -28400,7 +28361,6 @@ public virtual bool IsEqual(IEncodeable encodeable)
if (!Utils.IsEqual(m_messageType, value.m_messageType)) return false;
if (!Utils.IsEqual(m_requestId, value.m_requestId)) return false;
if (!Utils.IsEqual(m_actionState, value.m_actionState)) return false;
if (!Utils.IsEqual(m_payload, value.m_payload)) return false;

return true;
}
Expand All @@ -28427,7 +28387,6 @@ public virtual object Clone()
clone.m_messageType = (string)Utils.Clone(this.m_messageType);
clone.m_requestId = (ushort)Utils.Clone(this.m_requestId);
clone.m_actionState = (ActionState)Utils.Clone(this.m_actionState);
clone.m_payload = (ExtensionObject)Utils.Clone(this.m_payload);

return clone;
}
Expand All @@ -28445,7 +28404,6 @@ public virtual object Clone()
private string m_messageType;
private ushort m_requestId;
private ActionState m_actionState;
private ExtensionObject m_payload;
#endregion
}

Expand Down
Binary file modified Stack/Opc.Ua.Core/Stack/Generated/Opc.Ua.PredefinedNodes.uanodes
Binary file not shown.
Loading

0 comments on commit 58198ff

Please sign in to comment.