/* ======================================================================== * Copyright (c) 2005-2022 The OPC Foundation, Inc. All rights reserved. * * OPC Foundation MIT License 1.00 * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following * conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. * * The complete license agreement can be found here: * http://opcfoundation.org/License/MIT/1.00/ * ======================================================================*/ using System; using System.Collections.Generic; #if (!NET_STANDARD) using System.Xml; using System.ServiceModel; using System.Runtime.Serialization; #endif namespace Opc.Ua { #region FindServers Service Messages #if (!OPCUA_EXCLUDE_FindServers) public partial class FindServersRequest : IServiceRequest { } public partial class FindServersResponse : IServiceResponse { } /// /// The message contract for the FindServers service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class FindServersMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public FindServersRequest FindServersRequest; /// /// Initializes an empty message. /// public FindServersMessage() { } /// /// Initializes the message with the body. /// public FindServersMessage(FindServersRequest FindServersRequest) { this.FindServersRequest = FindServersRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return FindServersRequest; } /// public object CreateResponse(IServiceResponse response) { FindServersResponse body = response as FindServersResponse; if (body == null) { body = new FindServersResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new FindServersResponseMessage(body); } #endregion } /// /// The message contract for the FindServers service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class FindServersResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public FindServersResponse FindServersResponse; /// /// Initializes an empty message. /// public FindServersResponseMessage() { } /// /// Initializes the message with the body. /// public FindServersResponseMessage(FindServersResponse FindServersResponse) { this.FindServersResponse = FindServersResponse; } /// /// Initializes the message with a service fault. /// public FindServersResponseMessage(ServiceFault ServiceFault) { this.FindServersResponse = new FindServersResponse(); if (ServiceFault != null) { this.FindServersResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region FindServersOnNetwork Service Messages #if (!OPCUA_EXCLUDE_FindServersOnNetwork) public partial class FindServersOnNetworkRequest : IServiceRequest { } public partial class FindServersOnNetworkResponse : IServiceResponse { } /// /// The message contract for the FindServersOnNetwork service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class FindServersOnNetworkMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public FindServersOnNetworkRequest FindServersOnNetworkRequest; /// /// Initializes an empty message. /// public FindServersOnNetworkMessage() { } /// /// Initializes the message with the body. /// public FindServersOnNetworkMessage(FindServersOnNetworkRequest FindServersOnNetworkRequest) { this.FindServersOnNetworkRequest = FindServersOnNetworkRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return FindServersOnNetworkRequest; } /// public object CreateResponse(IServiceResponse response) { FindServersOnNetworkResponse body = response as FindServersOnNetworkResponse; if (body == null) { body = new FindServersOnNetworkResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new FindServersOnNetworkResponseMessage(body); } #endregion } /// /// The message contract for the FindServersOnNetwork service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class FindServersOnNetworkResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public FindServersOnNetworkResponse FindServersOnNetworkResponse; /// /// Initializes an empty message. /// public FindServersOnNetworkResponseMessage() { } /// /// Initializes the message with the body. /// public FindServersOnNetworkResponseMessage(FindServersOnNetworkResponse FindServersOnNetworkResponse) { this.FindServersOnNetworkResponse = FindServersOnNetworkResponse; } /// /// Initializes the message with a service fault. /// public FindServersOnNetworkResponseMessage(ServiceFault ServiceFault) { this.FindServersOnNetworkResponse = new FindServersOnNetworkResponse(); if (ServiceFault != null) { this.FindServersOnNetworkResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region GetEndpoints Service Messages #if (!OPCUA_EXCLUDE_GetEndpoints) public partial class GetEndpointsRequest : IServiceRequest { } public partial class GetEndpointsResponse : IServiceResponse { } /// /// The message contract for the GetEndpoints service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class GetEndpointsMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public GetEndpointsRequest GetEndpointsRequest; /// /// Initializes an empty message. /// public GetEndpointsMessage() { } /// /// Initializes the message with the body. /// public GetEndpointsMessage(GetEndpointsRequest GetEndpointsRequest) { this.GetEndpointsRequest = GetEndpointsRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return GetEndpointsRequest; } /// public object CreateResponse(IServiceResponse response) { GetEndpointsResponse body = response as GetEndpointsResponse; if (body == null) { body = new GetEndpointsResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new GetEndpointsResponseMessage(body); } #endregion } /// /// The message contract for the GetEndpoints service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class GetEndpointsResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public GetEndpointsResponse GetEndpointsResponse; /// /// Initializes an empty message. /// public GetEndpointsResponseMessage() { } /// /// Initializes the message with the body. /// public GetEndpointsResponseMessage(GetEndpointsResponse GetEndpointsResponse) { this.GetEndpointsResponse = GetEndpointsResponse; } /// /// Initializes the message with a service fault. /// public GetEndpointsResponseMessage(ServiceFault ServiceFault) { this.GetEndpointsResponse = new GetEndpointsResponse(); if (ServiceFault != null) { this.GetEndpointsResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region RegisterServer Service Messages #if (!OPCUA_EXCLUDE_RegisterServer) public partial class RegisterServerRequest : IServiceRequest { } public partial class RegisterServerResponse : IServiceResponse { } /// /// The message contract for the RegisterServer service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class RegisterServerMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public RegisterServerRequest RegisterServerRequest; /// /// Initializes an empty message. /// public RegisterServerMessage() { } /// /// Initializes the message with the body. /// public RegisterServerMessage(RegisterServerRequest RegisterServerRequest) { this.RegisterServerRequest = RegisterServerRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return RegisterServerRequest; } /// public object CreateResponse(IServiceResponse response) { RegisterServerResponse body = response as RegisterServerResponse; if (body == null) { body = new RegisterServerResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new RegisterServerResponseMessage(body); } #endregion } /// /// The message contract for the RegisterServer service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class RegisterServerResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public RegisterServerResponse RegisterServerResponse; /// /// Initializes an empty message. /// public RegisterServerResponseMessage() { } /// /// Initializes the message with the body. /// public RegisterServerResponseMessage(RegisterServerResponse RegisterServerResponse) { this.RegisterServerResponse = RegisterServerResponse; } /// /// Initializes the message with a service fault. /// public RegisterServerResponseMessage(ServiceFault ServiceFault) { this.RegisterServerResponse = new RegisterServerResponse(); if (ServiceFault != null) { this.RegisterServerResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region RegisterServer2 Service Messages #if (!OPCUA_EXCLUDE_RegisterServer2) public partial class RegisterServer2Request : IServiceRequest { } public partial class RegisterServer2Response : IServiceResponse { } /// /// The message contract for the RegisterServer2 service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class RegisterServer2Message : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public RegisterServer2Request RegisterServer2Request; /// /// Initializes an empty message. /// public RegisterServer2Message() { } /// /// Initializes the message with the body. /// public RegisterServer2Message(RegisterServer2Request RegisterServer2Request) { this.RegisterServer2Request = RegisterServer2Request; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return RegisterServer2Request; } /// public object CreateResponse(IServiceResponse response) { RegisterServer2Response body = response as RegisterServer2Response; if (body == null) { body = new RegisterServer2Response(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new RegisterServer2ResponseMessage(body); } #endregion } /// /// The message contract for the RegisterServer2 service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class RegisterServer2ResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public RegisterServer2Response RegisterServer2Response; /// /// Initializes an empty message. /// public RegisterServer2ResponseMessage() { } /// /// Initializes the message with the body. /// public RegisterServer2ResponseMessage(RegisterServer2Response RegisterServer2Response) { this.RegisterServer2Response = RegisterServer2Response; } /// /// Initializes the message with a service fault. /// public RegisterServer2ResponseMessage(ServiceFault ServiceFault) { this.RegisterServer2Response = new RegisterServer2Response(); if (ServiceFault != null) { this.RegisterServer2Response.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region OpenSecureChannel Service Messages #if (!OPCUA_EXCLUDE_OpenSecureChannel) public partial class OpenSecureChannelRequest : IServiceRequest { } public partial class OpenSecureChannelResponse : IServiceResponse { } /// /// The message contract for the OpenSecureChannel service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class OpenSecureChannelMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public OpenSecureChannelRequest OpenSecureChannelRequest; /// /// Initializes an empty message. /// public OpenSecureChannelMessage() { } /// /// Initializes the message with the body. /// public OpenSecureChannelMessage(OpenSecureChannelRequest OpenSecureChannelRequest) { this.OpenSecureChannelRequest = OpenSecureChannelRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return OpenSecureChannelRequest; } /// public object CreateResponse(IServiceResponse response) { OpenSecureChannelResponse body = response as OpenSecureChannelResponse; if (body == null) { body = new OpenSecureChannelResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new OpenSecureChannelResponseMessage(body); } #endregion } /// /// The message contract for the OpenSecureChannel service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class OpenSecureChannelResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public OpenSecureChannelResponse OpenSecureChannelResponse; /// /// Initializes an empty message. /// public OpenSecureChannelResponseMessage() { } /// /// Initializes the message with the body. /// public OpenSecureChannelResponseMessage(OpenSecureChannelResponse OpenSecureChannelResponse) { this.OpenSecureChannelResponse = OpenSecureChannelResponse; } /// /// Initializes the message with a service fault. /// public OpenSecureChannelResponseMessage(ServiceFault ServiceFault) { this.OpenSecureChannelResponse = new OpenSecureChannelResponse(); if (ServiceFault != null) { this.OpenSecureChannelResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region CloseSecureChannel Service Messages #if (!OPCUA_EXCLUDE_CloseSecureChannel) public partial class CloseSecureChannelRequest : IServiceRequest { } public partial class CloseSecureChannelResponse : IServiceResponse { } /// /// The message contract for the CloseSecureChannel service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CloseSecureChannelMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public CloseSecureChannelRequest CloseSecureChannelRequest; /// /// Initializes an empty message. /// public CloseSecureChannelMessage() { } /// /// Initializes the message with the body. /// public CloseSecureChannelMessage(CloseSecureChannelRequest CloseSecureChannelRequest) { this.CloseSecureChannelRequest = CloseSecureChannelRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return CloseSecureChannelRequest; } /// public object CreateResponse(IServiceResponse response) { CloseSecureChannelResponse body = response as CloseSecureChannelResponse; if (body == null) { body = new CloseSecureChannelResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new CloseSecureChannelResponseMessage(body); } #endregion } /// /// The message contract for the CloseSecureChannel service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CloseSecureChannelResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public CloseSecureChannelResponse CloseSecureChannelResponse; /// /// Initializes an empty message. /// public CloseSecureChannelResponseMessage() { } /// /// Initializes the message with the body. /// public CloseSecureChannelResponseMessage(CloseSecureChannelResponse CloseSecureChannelResponse) { this.CloseSecureChannelResponse = CloseSecureChannelResponse; } /// /// Initializes the message with a service fault. /// public CloseSecureChannelResponseMessage(ServiceFault ServiceFault) { this.CloseSecureChannelResponse = new CloseSecureChannelResponse(); if (ServiceFault != null) { this.CloseSecureChannelResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region CreateSession Service Messages #if (!OPCUA_EXCLUDE_CreateSession) public partial class CreateSessionRequest : IServiceRequest { } public partial class CreateSessionResponse : IServiceResponse { } /// /// The message contract for the CreateSession service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CreateSessionMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public CreateSessionRequest CreateSessionRequest; /// /// Initializes an empty message. /// public CreateSessionMessage() { } /// /// Initializes the message with the body. /// public CreateSessionMessage(CreateSessionRequest CreateSessionRequest) { this.CreateSessionRequest = CreateSessionRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return CreateSessionRequest; } /// public object CreateResponse(IServiceResponse response) { CreateSessionResponse body = response as CreateSessionResponse; if (body == null) { body = new CreateSessionResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new CreateSessionResponseMessage(body); } #endregion } /// /// The message contract for the CreateSession service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CreateSessionResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public CreateSessionResponse CreateSessionResponse; /// /// Initializes an empty message. /// public CreateSessionResponseMessage() { } /// /// Initializes the message with the body. /// public CreateSessionResponseMessage(CreateSessionResponse CreateSessionResponse) { this.CreateSessionResponse = CreateSessionResponse; } /// /// Initializes the message with a service fault. /// public CreateSessionResponseMessage(ServiceFault ServiceFault) { this.CreateSessionResponse = new CreateSessionResponse(); if (ServiceFault != null) { this.CreateSessionResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region ActivateSession Service Messages #if (!OPCUA_EXCLUDE_ActivateSession) public partial class ActivateSessionRequest : IServiceRequest { } public partial class ActivateSessionResponse : IServiceResponse { } /// /// The message contract for the ActivateSession service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class ActivateSessionMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public ActivateSessionRequest ActivateSessionRequest; /// /// Initializes an empty message. /// public ActivateSessionMessage() { } /// /// Initializes the message with the body. /// public ActivateSessionMessage(ActivateSessionRequest ActivateSessionRequest) { this.ActivateSessionRequest = ActivateSessionRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return ActivateSessionRequest; } /// public object CreateResponse(IServiceResponse response) { ActivateSessionResponse body = response as ActivateSessionResponse; if (body == null) { body = new ActivateSessionResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new ActivateSessionResponseMessage(body); } #endregion } /// /// The message contract for the ActivateSession service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class ActivateSessionResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public ActivateSessionResponse ActivateSessionResponse; /// /// Initializes an empty message. /// public ActivateSessionResponseMessage() { } /// /// Initializes the message with the body. /// public ActivateSessionResponseMessage(ActivateSessionResponse ActivateSessionResponse) { this.ActivateSessionResponse = ActivateSessionResponse; } /// /// Initializes the message with a service fault. /// public ActivateSessionResponseMessage(ServiceFault ServiceFault) { this.ActivateSessionResponse = new ActivateSessionResponse(); if (ServiceFault != null) { this.ActivateSessionResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region CloseSession Service Messages #if (!OPCUA_EXCLUDE_CloseSession) public partial class CloseSessionRequest : IServiceRequest { } public partial class CloseSessionResponse : IServiceResponse { } /// /// The message contract for the CloseSession service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CloseSessionMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public CloseSessionRequest CloseSessionRequest; /// /// Initializes an empty message. /// public CloseSessionMessage() { } /// /// Initializes the message with the body. /// public CloseSessionMessage(CloseSessionRequest CloseSessionRequest) { this.CloseSessionRequest = CloseSessionRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return CloseSessionRequest; } /// public object CreateResponse(IServiceResponse response) { CloseSessionResponse body = response as CloseSessionResponse; if (body == null) { body = new CloseSessionResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new CloseSessionResponseMessage(body); } #endregion } /// /// The message contract for the CloseSession service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CloseSessionResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public CloseSessionResponse CloseSessionResponse; /// /// Initializes an empty message. /// public CloseSessionResponseMessage() { } /// /// Initializes the message with the body. /// public CloseSessionResponseMessage(CloseSessionResponse CloseSessionResponse) { this.CloseSessionResponse = CloseSessionResponse; } /// /// Initializes the message with a service fault. /// public CloseSessionResponseMessage(ServiceFault ServiceFault) { this.CloseSessionResponse = new CloseSessionResponse(); if (ServiceFault != null) { this.CloseSessionResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region Cancel Service Messages #if (!OPCUA_EXCLUDE_Cancel) public partial class CancelRequest : IServiceRequest { } public partial class CancelResponse : IServiceResponse { } /// /// The message contract for the Cancel service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CancelMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public CancelRequest CancelRequest; /// /// Initializes an empty message. /// public CancelMessage() { } /// /// Initializes the message with the body. /// public CancelMessage(CancelRequest CancelRequest) { this.CancelRequest = CancelRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return CancelRequest; } /// public object CreateResponse(IServiceResponse response) { CancelResponse body = response as CancelResponse; if (body == null) { body = new CancelResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new CancelResponseMessage(body); } #endregion } /// /// The message contract for the Cancel service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CancelResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public CancelResponse CancelResponse; /// /// Initializes an empty message. /// public CancelResponseMessage() { } /// /// Initializes the message with the body. /// public CancelResponseMessage(CancelResponse CancelResponse) { this.CancelResponse = CancelResponse; } /// /// Initializes the message with a service fault. /// public CancelResponseMessage(ServiceFault ServiceFault) { this.CancelResponse = new CancelResponse(); if (ServiceFault != null) { this.CancelResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region AddNodes Service Messages #if (!OPCUA_EXCLUDE_AddNodes) public partial class AddNodesRequest : IServiceRequest { } public partial class AddNodesResponse : IServiceResponse { } /// /// The message contract for the AddNodes service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class AddNodesMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public AddNodesRequest AddNodesRequest; /// /// Initializes an empty message. /// public AddNodesMessage() { } /// /// Initializes the message with the body. /// public AddNodesMessage(AddNodesRequest AddNodesRequest) { this.AddNodesRequest = AddNodesRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return AddNodesRequest; } /// public object CreateResponse(IServiceResponse response) { AddNodesResponse body = response as AddNodesResponse; if (body == null) { body = new AddNodesResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new AddNodesResponseMessage(body); } #endregion } /// /// The message contract for the AddNodes service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class AddNodesResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public AddNodesResponse AddNodesResponse; /// /// Initializes an empty message. /// public AddNodesResponseMessage() { } /// /// Initializes the message with the body. /// public AddNodesResponseMessage(AddNodesResponse AddNodesResponse) { this.AddNodesResponse = AddNodesResponse; } /// /// Initializes the message with a service fault. /// public AddNodesResponseMessage(ServiceFault ServiceFault) { this.AddNodesResponse = new AddNodesResponse(); if (ServiceFault != null) { this.AddNodesResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region AddReferences Service Messages #if (!OPCUA_EXCLUDE_AddReferences) public partial class AddReferencesRequest : IServiceRequest { } public partial class AddReferencesResponse : IServiceResponse { } /// /// The message contract for the AddReferences service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class AddReferencesMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public AddReferencesRequest AddReferencesRequest; /// /// Initializes an empty message. /// public AddReferencesMessage() { } /// /// Initializes the message with the body. /// public AddReferencesMessage(AddReferencesRequest AddReferencesRequest) { this.AddReferencesRequest = AddReferencesRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return AddReferencesRequest; } /// public object CreateResponse(IServiceResponse response) { AddReferencesResponse body = response as AddReferencesResponse; if (body == null) { body = new AddReferencesResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new AddReferencesResponseMessage(body); } #endregion } /// /// The message contract for the AddReferences service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class AddReferencesResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public AddReferencesResponse AddReferencesResponse; /// /// Initializes an empty message. /// public AddReferencesResponseMessage() { } /// /// Initializes the message with the body. /// public AddReferencesResponseMessage(AddReferencesResponse AddReferencesResponse) { this.AddReferencesResponse = AddReferencesResponse; } /// /// Initializes the message with a service fault. /// public AddReferencesResponseMessage(ServiceFault ServiceFault) { this.AddReferencesResponse = new AddReferencesResponse(); if (ServiceFault != null) { this.AddReferencesResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region DeleteNodes Service Messages #if (!OPCUA_EXCLUDE_DeleteNodes) public partial class DeleteNodesRequest : IServiceRequest { } public partial class DeleteNodesResponse : IServiceResponse { } /// /// The message contract for the DeleteNodes service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class DeleteNodesMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public DeleteNodesRequest DeleteNodesRequest; /// /// Initializes an empty message. /// public DeleteNodesMessage() { } /// /// Initializes the message with the body. /// public DeleteNodesMessage(DeleteNodesRequest DeleteNodesRequest) { this.DeleteNodesRequest = DeleteNodesRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return DeleteNodesRequest; } /// public object CreateResponse(IServiceResponse response) { DeleteNodesResponse body = response as DeleteNodesResponse; if (body == null) { body = new DeleteNodesResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new DeleteNodesResponseMessage(body); } #endregion } /// /// The message contract for the DeleteNodes service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class DeleteNodesResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public DeleteNodesResponse DeleteNodesResponse; /// /// Initializes an empty message. /// public DeleteNodesResponseMessage() { } /// /// Initializes the message with the body. /// public DeleteNodesResponseMessage(DeleteNodesResponse DeleteNodesResponse) { this.DeleteNodesResponse = DeleteNodesResponse; } /// /// Initializes the message with a service fault. /// public DeleteNodesResponseMessage(ServiceFault ServiceFault) { this.DeleteNodesResponse = new DeleteNodesResponse(); if (ServiceFault != null) { this.DeleteNodesResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region DeleteReferences Service Messages #if (!OPCUA_EXCLUDE_DeleteReferences) public partial class DeleteReferencesRequest : IServiceRequest { } public partial class DeleteReferencesResponse : IServiceResponse { } /// /// The message contract for the DeleteReferences service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class DeleteReferencesMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public DeleteReferencesRequest DeleteReferencesRequest; /// /// Initializes an empty message. /// public DeleteReferencesMessage() { } /// /// Initializes the message with the body. /// public DeleteReferencesMessage(DeleteReferencesRequest DeleteReferencesRequest) { this.DeleteReferencesRequest = DeleteReferencesRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return DeleteReferencesRequest; } /// public object CreateResponse(IServiceResponse response) { DeleteReferencesResponse body = response as DeleteReferencesResponse; if (body == null) { body = new DeleteReferencesResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new DeleteReferencesResponseMessage(body); } #endregion } /// /// The message contract for the DeleteReferences service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class DeleteReferencesResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public DeleteReferencesResponse DeleteReferencesResponse; /// /// Initializes an empty message. /// public DeleteReferencesResponseMessage() { } /// /// Initializes the message with the body. /// public DeleteReferencesResponseMessage(DeleteReferencesResponse DeleteReferencesResponse) { this.DeleteReferencesResponse = DeleteReferencesResponse; } /// /// Initializes the message with a service fault. /// public DeleteReferencesResponseMessage(ServiceFault ServiceFault) { this.DeleteReferencesResponse = new DeleteReferencesResponse(); if (ServiceFault != null) { this.DeleteReferencesResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region Browse Service Messages #if (!OPCUA_EXCLUDE_Browse) public partial class BrowseRequest : IServiceRequest { } public partial class BrowseResponse : IServiceResponse { } /// /// The message contract for the Browse service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class BrowseMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public BrowseRequest BrowseRequest; /// /// Initializes an empty message. /// public BrowseMessage() { } /// /// Initializes the message with the body. /// public BrowseMessage(BrowseRequest BrowseRequest) { this.BrowseRequest = BrowseRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return BrowseRequest; } /// public object CreateResponse(IServiceResponse response) { BrowseResponse body = response as BrowseResponse; if (body == null) { body = new BrowseResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new BrowseResponseMessage(body); } #endregion } /// /// The message contract for the Browse service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class BrowseResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public BrowseResponse BrowseResponse; /// /// Initializes an empty message. /// public BrowseResponseMessage() { } /// /// Initializes the message with the body. /// public BrowseResponseMessage(BrowseResponse BrowseResponse) { this.BrowseResponse = BrowseResponse; } /// /// Initializes the message with a service fault. /// public BrowseResponseMessage(ServiceFault ServiceFault) { this.BrowseResponse = new BrowseResponse(); if (ServiceFault != null) { this.BrowseResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region BrowseNext Service Messages #if (!OPCUA_EXCLUDE_BrowseNext) public partial class BrowseNextRequest : IServiceRequest { } public partial class BrowseNextResponse : IServiceResponse { } /// /// The message contract for the BrowseNext service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class BrowseNextMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public BrowseNextRequest BrowseNextRequest; /// /// Initializes an empty message. /// public BrowseNextMessage() { } /// /// Initializes the message with the body. /// public BrowseNextMessage(BrowseNextRequest BrowseNextRequest) { this.BrowseNextRequest = BrowseNextRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return BrowseNextRequest; } /// public object CreateResponse(IServiceResponse response) { BrowseNextResponse body = response as BrowseNextResponse; if (body == null) { body = new BrowseNextResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new BrowseNextResponseMessage(body); } #endregion } /// /// The message contract for the BrowseNext service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class BrowseNextResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public BrowseNextResponse BrowseNextResponse; /// /// Initializes an empty message. /// public BrowseNextResponseMessage() { } /// /// Initializes the message with the body. /// public BrowseNextResponseMessage(BrowseNextResponse BrowseNextResponse) { this.BrowseNextResponse = BrowseNextResponse; } /// /// Initializes the message with a service fault. /// public BrowseNextResponseMessage(ServiceFault ServiceFault) { this.BrowseNextResponse = new BrowseNextResponse(); if (ServiceFault != null) { this.BrowseNextResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region TranslateBrowsePathsToNodeIds Service Messages #if (!OPCUA_EXCLUDE_TranslateBrowsePathsToNodeIds) public partial class TranslateBrowsePathsToNodeIdsRequest : IServiceRequest { } public partial class TranslateBrowsePathsToNodeIdsResponse : IServiceResponse { } /// /// The message contract for the TranslateBrowsePathsToNodeIds service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class TranslateBrowsePathsToNodeIdsMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public TranslateBrowsePathsToNodeIdsRequest TranslateBrowsePathsToNodeIdsRequest; /// /// Initializes an empty message. /// public TranslateBrowsePathsToNodeIdsMessage() { } /// /// Initializes the message with the body. /// public TranslateBrowsePathsToNodeIdsMessage(TranslateBrowsePathsToNodeIdsRequest TranslateBrowsePathsToNodeIdsRequest) { this.TranslateBrowsePathsToNodeIdsRequest = TranslateBrowsePathsToNodeIdsRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return TranslateBrowsePathsToNodeIdsRequest; } /// public object CreateResponse(IServiceResponse response) { TranslateBrowsePathsToNodeIdsResponse body = response as TranslateBrowsePathsToNodeIdsResponse; if (body == null) { body = new TranslateBrowsePathsToNodeIdsResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new TranslateBrowsePathsToNodeIdsResponseMessage(body); } #endregion } /// /// The message contract for the TranslateBrowsePathsToNodeIds service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class TranslateBrowsePathsToNodeIdsResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public TranslateBrowsePathsToNodeIdsResponse TranslateBrowsePathsToNodeIdsResponse; /// /// Initializes an empty message. /// public TranslateBrowsePathsToNodeIdsResponseMessage() { } /// /// Initializes the message with the body. /// public TranslateBrowsePathsToNodeIdsResponseMessage(TranslateBrowsePathsToNodeIdsResponse TranslateBrowsePathsToNodeIdsResponse) { this.TranslateBrowsePathsToNodeIdsResponse = TranslateBrowsePathsToNodeIdsResponse; } /// /// Initializes the message with a service fault. /// public TranslateBrowsePathsToNodeIdsResponseMessage(ServiceFault ServiceFault) { this.TranslateBrowsePathsToNodeIdsResponse = new TranslateBrowsePathsToNodeIdsResponse(); if (ServiceFault != null) { this.TranslateBrowsePathsToNodeIdsResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region RegisterNodes Service Messages #if (!OPCUA_EXCLUDE_RegisterNodes) public partial class RegisterNodesRequest : IServiceRequest { } public partial class RegisterNodesResponse : IServiceResponse { } /// /// The message contract for the RegisterNodes service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class RegisterNodesMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public RegisterNodesRequest RegisterNodesRequest; /// /// Initializes an empty message. /// public RegisterNodesMessage() { } /// /// Initializes the message with the body. /// public RegisterNodesMessage(RegisterNodesRequest RegisterNodesRequest) { this.RegisterNodesRequest = RegisterNodesRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return RegisterNodesRequest; } /// public object CreateResponse(IServiceResponse response) { RegisterNodesResponse body = response as RegisterNodesResponse; if (body == null) { body = new RegisterNodesResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new RegisterNodesResponseMessage(body); } #endregion } /// /// The message contract for the RegisterNodes service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class RegisterNodesResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public RegisterNodesResponse RegisterNodesResponse; /// /// Initializes an empty message. /// public RegisterNodesResponseMessage() { } /// /// Initializes the message with the body. /// public RegisterNodesResponseMessage(RegisterNodesResponse RegisterNodesResponse) { this.RegisterNodesResponse = RegisterNodesResponse; } /// /// Initializes the message with a service fault. /// public RegisterNodesResponseMessage(ServiceFault ServiceFault) { this.RegisterNodesResponse = new RegisterNodesResponse(); if (ServiceFault != null) { this.RegisterNodesResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region UnregisterNodes Service Messages #if (!OPCUA_EXCLUDE_UnregisterNodes) public partial class UnregisterNodesRequest : IServiceRequest { } public partial class UnregisterNodesResponse : IServiceResponse { } /// /// The message contract for the UnregisterNodes service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class UnregisterNodesMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public UnregisterNodesRequest UnregisterNodesRequest; /// /// Initializes an empty message. /// public UnregisterNodesMessage() { } /// /// Initializes the message with the body. /// public UnregisterNodesMessage(UnregisterNodesRequest UnregisterNodesRequest) { this.UnregisterNodesRequest = UnregisterNodesRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return UnregisterNodesRequest; } /// public object CreateResponse(IServiceResponse response) { UnregisterNodesResponse body = response as UnregisterNodesResponse; if (body == null) { body = new UnregisterNodesResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new UnregisterNodesResponseMessage(body); } #endregion } /// /// The message contract for the UnregisterNodes service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class UnregisterNodesResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public UnregisterNodesResponse UnregisterNodesResponse; /// /// Initializes an empty message. /// public UnregisterNodesResponseMessage() { } /// /// Initializes the message with the body. /// public UnregisterNodesResponseMessage(UnregisterNodesResponse UnregisterNodesResponse) { this.UnregisterNodesResponse = UnregisterNodesResponse; } /// /// Initializes the message with a service fault. /// public UnregisterNodesResponseMessage(ServiceFault ServiceFault) { this.UnregisterNodesResponse = new UnregisterNodesResponse(); if (ServiceFault != null) { this.UnregisterNodesResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region QueryFirst Service Messages #if (!OPCUA_EXCLUDE_QueryFirst) public partial class QueryFirstRequest : IServiceRequest { } public partial class QueryFirstResponse : IServiceResponse { } /// /// The message contract for the QueryFirst service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class QueryFirstMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public QueryFirstRequest QueryFirstRequest; /// /// Initializes an empty message. /// public QueryFirstMessage() { } /// /// Initializes the message with the body. /// public QueryFirstMessage(QueryFirstRequest QueryFirstRequest) { this.QueryFirstRequest = QueryFirstRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return QueryFirstRequest; } /// public object CreateResponse(IServiceResponse response) { QueryFirstResponse body = response as QueryFirstResponse; if (body == null) { body = new QueryFirstResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new QueryFirstResponseMessage(body); } #endregion } /// /// The message contract for the QueryFirst service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class QueryFirstResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public QueryFirstResponse QueryFirstResponse; /// /// Initializes an empty message. /// public QueryFirstResponseMessage() { } /// /// Initializes the message with the body. /// public QueryFirstResponseMessage(QueryFirstResponse QueryFirstResponse) { this.QueryFirstResponse = QueryFirstResponse; } /// /// Initializes the message with a service fault. /// public QueryFirstResponseMessage(ServiceFault ServiceFault) { this.QueryFirstResponse = new QueryFirstResponse(); if (ServiceFault != null) { this.QueryFirstResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region QueryNext Service Messages #if (!OPCUA_EXCLUDE_QueryNext) public partial class QueryNextRequest : IServiceRequest { } public partial class QueryNextResponse : IServiceResponse { } /// /// The message contract for the QueryNext service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class QueryNextMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public QueryNextRequest QueryNextRequest; /// /// Initializes an empty message. /// public QueryNextMessage() { } /// /// Initializes the message with the body. /// public QueryNextMessage(QueryNextRequest QueryNextRequest) { this.QueryNextRequest = QueryNextRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return QueryNextRequest; } /// public object CreateResponse(IServiceResponse response) { QueryNextResponse body = response as QueryNextResponse; if (body == null) { body = new QueryNextResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new QueryNextResponseMessage(body); } #endregion } /// /// The message contract for the QueryNext service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class QueryNextResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public QueryNextResponse QueryNextResponse; /// /// Initializes an empty message. /// public QueryNextResponseMessage() { } /// /// Initializes the message with the body. /// public QueryNextResponseMessage(QueryNextResponse QueryNextResponse) { this.QueryNextResponse = QueryNextResponse; } /// /// Initializes the message with a service fault. /// public QueryNextResponseMessage(ServiceFault ServiceFault) { this.QueryNextResponse = new QueryNextResponse(); if (ServiceFault != null) { this.QueryNextResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region Read Service Messages #if (!OPCUA_EXCLUDE_Read) public partial class ReadRequest : IServiceRequest { } public partial class ReadResponse : IServiceResponse { } /// /// The message contract for the Read service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class ReadMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public ReadRequest ReadRequest; /// /// Initializes an empty message. /// public ReadMessage() { } /// /// Initializes the message with the body. /// public ReadMessage(ReadRequest ReadRequest) { this.ReadRequest = ReadRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return ReadRequest; } /// public object CreateResponse(IServiceResponse response) { ReadResponse body = response as ReadResponse; if (body == null) { body = new ReadResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new ReadResponseMessage(body); } #endregion } /// /// The message contract for the Read service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class ReadResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public ReadResponse ReadResponse; /// /// Initializes an empty message. /// public ReadResponseMessage() { } /// /// Initializes the message with the body. /// public ReadResponseMessage(ReadResponse ReadResponse) { this.ReadResponse = ReadResponse; } /// /// Initializes the message with a service fault. /// public ReadResponseMessage(ServiceFault ServiceFault) { this.ReadResponse = new ReadResponse(); if (ServiceFault != null) { this.ReadResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region HistoryRead Service Messages #if (!OPCUA_EXCLUDE_HistoryRead) public partial class HistoryReadRequest : IServiceRequest { } public partial class HistoryReadResponse : IServiceResponse { } /// /// The message contract for the HistoryRead service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class HistoryReadMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public HistoryReadRequest HistoryReadRequest; /// /// Initializes an empty message. /// public HistoryReadMessage() { } /// /// Initializes the message with the body. /// public HistoryReadMessage(HistoryReadRequest HistoryReadRequest) { this.HistoryReadRequest = HistoryReadRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return HistoryReadRequest; } /// public object CreateResponse(IServiceResponse response) { HistoryReadResponse body = response as HistoryReadResponse; if (body == null) { body = new HistoryReadResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new HistoryReadResponseMessage(body); } #endregion } /// /// The message contract for the HistoryRead service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class HistoryReadResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public HistoryReadResponse HistoryReadResponse; /// /// Initializes an empty message. /// public HistoryReadResponseMessage() { } /// /// Initializes the message with the body. /// public HistoryReadResponseMessage(HistoryReadResponse HistoryReadResponse) { this.HistoryReadResponse = HistoryReadResponse; } /// /// Initializes the message with a service fault. /// public HistoryReadResponseMessage(ServiceFault ServiceFault) { this.HistoryReadResponse = new HistoryReadResponse(); if (ServiceFault != null) { this.HistoryReadResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region Write Service Messages #if (!OPCUA_EXCLUDE_Write) public partial class WriteRequest : IServiceRequest { } public partial class WriteResponse : IServiceResponse { } /// /// The message contract for the Write service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class WriteMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public WriteRequest WriteRequest; /// /// Initializes an empty message. /// public WriteMessage() { } /// /// Initializes the message with the body. /// public WriteMessage(WriteRequest WriteRequest) { this.WriteRequest = WriteRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return WriteRequest; } /// public object CreateResponse(IServiceResponse response) { WriteResponse body = response as WriteResponse; if (body == null) { body = new WriteResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new WriteResponseMessage(body); } #endregion } /// /// The message contract for the Write service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class WriteResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public WriteResponse WriteResponse; /// /// Initializes an empty message. /// public WriteResponseMessage() { } /// /// Initializes the message with the body. /// public WriteResponseMessage(WriteResponse WriteResponse) { this.WriteResponse = WriteResponse; } /// /// Initializes the message with a service fault. /// public WriteResponseMessage(ServiceFault ServiceFault) { this.WriteResponse = new WriteResponse(); if (ServiceFault != null) { this.WriteResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region HistoryUpdate Service Messages #if (!OPCUA_EXCLUDE_HistoryUpdate) public partial class HistoryUpdateRequest : IServiceRequest { } public partial class HistoryUpdateResponse : IServiceResponse { } /// /// The message contract for the HistoryUpdate service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class HistoryUpdateMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public HistoryUpdateRequest HistoryUpdateRequest; /// /// Initializes an empty message. /// public HistoryUpdateMessage() { } /// /// Initializes the message with the body. /// public HistoryUpdateMessage(HistoryUpdateRequest HistoryUpdateRequest) { this.HistoryUpdateRequest = HistoryUpdateRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return HistoryUpdateRequest; } /// public object CreateResponse(IServiceResponse response) { HistoryUpdateResponse body = response as HistoryUpdateResponse; if (body == null) { body = new HistoryUpdateResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new HistoryUpdateResponseMessage(body); } #endregion } /// /// The message contract for the HistoryUpdate service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class HistoryUpdateResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public HistoryUpdateResponse HistoryUpdateResponse; /// /// Initializes an empty message. /// public HistoryUpdateResponseMessage() { } /// /// Initializes the message with the body. /// public HistoryUpdateResponseMessage(HistoryUpdateResponse HistoryUpdateResponse) { this.HistoryUpdateResponse = HistoryUpdateResponse; } /// /// Initializes the message with a service fault. /// public HistoryUpdateResponseMessage(ServiceFault ServiceFault) { this.HistoryUpdateResponse = new HistoryUpdateResponse(); if (ServiceFault != null) { this.HistoryUpdateResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region Call Service Messages #if (!OPCUA_EXCLUDE_Call) public partial class CallRequest : IServiceRequest { } public partial class CallResponse : IServiceResponse { } /// /// The message contract for the Call service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CallMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public CallRequest CallRequest; /// /// Initializes an empty message. /// public CallMessage() { } /// /// Initializes the message with the body. /// public CallMessage(CallRequest CallRequest) { this.CallRequest = CallRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return CallRequest; } /// public object CreateResponse(IServiceResponse response) { CallResponse body = response as CallResponse; if (body == null) { body = new CallResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new CallResponseMessage(body); } #endregion } /// /// The message contract for the Call service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CallResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public CallResponse CallResponse; /// /// Initializes an empty message. /// public CallResponseMessage() { } /// /// Initializes the message with the body. /// public CallResponseMessage(CallResponse CallResponse) { this.CallResponse = CallResponse; } /// /// Initializes the message with a service fault. /// public CallResponseMessage(ServiceFault ServiceFault) { this.CallResponse = new CallResponse(); if (ServiceFault != null) { this.CallResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region CreateMonitoredItems Service Messages #if (!OPCUA_EXCLUDE_CreateMonitoredItems) public partial class CreateMonitoredItemsRequest : IServiceRequest { } public partial class CreateMonitoredItemsResponse : IServiceResponse { } /// /// The message contract for the CreateMonitoredItems service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CreateMonitoredItemsMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public CreateMonitoredItemsRequest CreateMonitoredItemsRequest; /// /// Initializes an empty message. /// public CreateMonitoredItemsMessage() { } /// /// Initializes the message with the body. /// public CreateMonitoredItemsMessage(CreateMonitoredItemsRequest CreateMonitoredItemsRequest) { this.CreateMonitoredItemsRequest = CreateMonitoredItemsRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return CreateMonitoredItemsRequest; } /// public object CreateResponse(IServiceResponse response) { CreateMonitoredItemsResponse body = response as CreateMonitoredItemsResponse; if (body == null) { body = new CreateMonitoredItemsResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new CreateMonitoredItemsResponseMessage(body); } #endregion } /// /// The message contract for the CreateMonitoredItems service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CreateMonitoredItemsResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public CreateMonitoredItemsResponse CreateMonitoredItemsResponse; /// /// Initializes an empty message. /// public CreateMonitoredItemsResponseMessage() { } /// /// Initializes the message with the body. /// public CreateMonitoredItemsResponseMessage(CreateMonitoredItemsResponse CreateMonitoredItemsResponse) { this.CreateMonitoredItemsResponse = CreateMonitoredItemsResponse; } /// /// Initializes the message with a service fault. /// public CreateMonitoredItemsResponseMessage(ServiceFault ServiceFault) { this.CreateMonitoredItemsResponse = new CreateMonitoredItemsResponse(); if (ServiceFault != null) { this.CreateMonitoredItemsResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region ModifyMonitoredItems Service Messages #if (!OPCUA_EXCLUDE_ModifyMonitoredItems) public partial class ModifyMonitoredItemsRequest : IServiceRequest { } public partial class ModifyMonitoredItemsResponse : IServiceResponse { } /// /// The message contract for the ModifyMonitoredItems service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class ModifyMonitoredItemsMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public ModifyMonitoredItemsRequest ModifyMonitoredItemsRequest; /// /// Initializes an empty message. /// public ModifyMonitoredItemsMessage() { } /// /// Initializes the message with the body. /// public ModifyMonitoredItemsMessage(ModifyMonitoredItemsRequest ModifyMonitoredItemsRequest) { this.ModifyMonitoredItemsRequest = ModifyMonitoredItemsRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return ModifyMonitoredItemsRequest; } /// public object CreateResponse(IServiceResponse response) { ModifyMonitoredItemsResponse body = response as ModifyMonitoredItemsResponse; if (body == null) { body = new ModifyMonitoredItemsResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new ModifyMonitoredItemsResponseMessage(body); } #endregion } /// /// The message contract for the ModifyMonitoredItems service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class ModifyMonitoredItemsResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public ModifyMonitoredItemsResponse ModifyMonitoredItemsResponse; /// /// Initializes an empty message. /// public ModifyMonitoredItemsResponseMessage() { } /// /// Initializes the message with the body. /// public ModifyMonitoredItemsResponseMessage(ModifyMonitoredItemsResponse ModifyMonitoredItemsResponse) { this.ModifyMonitoredItemsResponse = ModifyMonitoredItemsResponse; } /// /// Initializes the message with a service fault. /// public ModifyMonitoredItemsResponseMessage(ServiceFault ServiceFault) { this.ModifyMonitoredItemsResponse = new ModifyMonitoredItemsResponse(); if (ServiceFault != null) { this.ModifyMonitoredItemsResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region SetMonitoringMode Service Messages #if (!OPCUA_EXCLUDE_SetMonitoringMode) public partial class SetMonitoringModeRequest : IServiceRequest { } public partial class SetMonitoringModeResponse : IServiceResponse { } /// /// The message contract for the SetMonitoringMode service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class SetMonitoringModeMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public SetMonitoringModeRequest SetMonitoringModeRequest; /// /// Initializes an empty message. /// public SetMonitoringModeMessage() { } /// /// Initializes the message with the body. /// public SetMonitoringModeMessage(SetMonitoringModeRequest SetMonitoringModeRequest) { this.SetMonitoringModeRequest = SetMonitoringModeRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return SetMonitoringModeRequest; } /// public object CreateResponse(IServiceResponse response) { SetMonitoringModeResponse body = response as SetMonitoringModeResponse; if (body == null) { body = new SetMonitoringModeResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new SetMonitoringModeResponseMessage(body); } #endregion } /// /// The message contract for the SetMonitoringMode service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class SetMonitoringModeResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public SetMonitoringModeResponse SetMonitoringModeResponse; /// /// Initializes an empty message. /// public SetMonitoringModeResponseMessage() { } /// /// Initializes the message with the body. /// public SetMonitoringModeResponseMessage(SetMonitoringModeResponse SetMonitoringModeResponse) { this.SetMonitoringModeResponse = SetMonitoringModeResponse; } /// /// Initializes the message with a service fault. /// public SetMonitoringModeResponseMessage(ServiceFault ServiceFault) { this.SetMonitoringModeResponse = new SetMonitoringModeResponse(); if (ServiceFault != null) { this.SetMonitoringModeResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region SetTriggering Service Messages #if (!OPCUA_EXCLUDE_SetTriggering) public partial class SetTriggeringRequest : IServiceRequest { } public partial class SetTriggeringResponse : IServiceResponse { } /// /// The message contract for the SetTriggering service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class SetTriggeringMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public SetTriggeringRequest SetTriggeringRequest; /// /// Initializes an empty message. /// public SetTriggeringMessage() { } /// /// Initializes the message with the body. /// public SetTriggeringMessage(SetTriggeringRequest SetTriggeringRequest) { this.SetTriggeringRequest = SetTriggeringRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return SetTriggeringRequest; } /// public object CreateResponse(IServiceResponse response) { SetTriggeringResponse body = response as SetTriggeringResponse; if (body == null) { body = new SetTriggeringResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new SetTriggeringResponseMessage(body); } #endregion } /// /// The message contract for the SetTriggering service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class SetTriggeringResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public SetTriggeringResponse SetTriggeringResponse; /// /// Initializes an empty message. /// public SetTriggeringResponseMessage() { } /// /// Initializes the message with the body. /// public SetTriggeringResponseMessage(SetTriggeringResponse SetTriggeringResponse) { this.SetTriggeringResponse = SetTriggeringResponse; } /// /// Initializes the message with a service fault. /// public SetTriggeringResponseMessage(ServiceFault ServiceFault) { this.SetTriggeringResponse = new SetTriggeringResponse(); if (ServiceFault != null) { this.SetTriggeringResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region DeleteMonitoredItems Service Messages #if (!OPCUA_EXCLUDE_DeleteMonitoredItems) public partial class DeleteMonitoredItemsRequest : IServiceRequest { } public partial class DeleteMonitoredItemsResponse : IServiceResponse { } /// /// The message contract for the DeleteMonitoredItems service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class DeleteMonitoredItemsMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public DeleteMonitoredItemsRequest DeleteMonitoredItemsRequest; /// /// Initializes an empty message. /// public DeleteMonitoredItemsMessage() { } /// /// Initializes the message with the body. /// public DeleteMonitoredItemsMessage(DeleteMonitoredItemsRequest DeleteMonitoredItemsRequest) { this.DeleteMonitoredItemsRequest = DeleteMonitoredItemsRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return DeleteMonitoredItemsRequest; } /// public object CreateResponse(IServiceResponse response) { DeleteMonitoredItemsResponse body = response as DeleteMonitoredItemsResponse; if (body == null) { body = new DeleteMonitoredItemsResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new DeleteMonitoredItemsResponseMessage(body); } #endregion } /// /// The message contract for the DeleteMonitoredItems service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class DeleteMonitoredItemsResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public DeleteMonitoredItemsResponse DeleteMonitoredItemsResponse; /// /// Initializes an empty message. /// public DeleteMonitoredItemsResponseMessage() { } /// /// Initializes the message with the body. /// public DeleteMonitoredItemsResponseMessage(DeleteMonitoredItemsResponse DeleteMonitoredItemsResponse) { this.DeleteMonitoredItemsResponse = DeleteMonitoredItemsResponse; } /// /// Initializes the message with a service fault. /// public DeleteMonitoredItemsResponseMessage(ServiceFault ServiceFault) { this.DeleteMonitoredItemsResponse = new DeleteMonitoredItemsResponse(); if (ServiceFault != null) { this.DeleteMonitoredItemsResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region CreateSubscription Service Messages #if (!OPCUA_EXCLUDE_CreateSubscription) public partial class CreateSubscriptionRequest : IServiceRequest { } public partial class CreateSubscriptionResponse : IServiceResponse { } /// /// The message contract for the CreateSubscription service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CreateSubscriptionMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public CreateSubscriptionRequest CreateSubscriptionRequest; /// /// Initializes an empty message. /// public CreateSubscriptionMessage() { } /// /// Initializes the message with the body. /// public CreateSubscriptionMessage(CreateSubscriptionRequest CreateSubscriptionRequest) { this.CreateSubscriptionRequest = CreateSubscriptionRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return CreateSubscriptionRequest; } /// public object CreateResponse(IServiceResponse response) { CreateSubscriptionResponse body = response as CreateSubscriptionResponse; if (body == null) { body = new CreateSubscriptionResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new CreateSubscriptionResponseMessage(body); } #endregion } /// /// The message contract for the CreateSubscription service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class CreateSubscriptionResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public CreateSubscriptionResponse CreateSubscriptionResponse; /// /// Initializes an empty message. /// public CreateSubscriptionResponseMessage() { } /// /// Initializes the message with the body. /// public CreateSubscriptionResponseMessage(CreateSubscriptionResponse CreateSubscriptionResponse) { this.CreateSubscriptionResponse = CreateSubscriptionResponse; } /// /// Initializes the message with a service fault. /// public CreateSubscriptionResponseMessage(ServiceFault ServiceFault) { this.CreateSubscriptionResponse = new CreateSubscriptionResponse(); if (ServiceFault != null) { this.CreateSubscriptionResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region ModifySubscription Service Messages #if (!OPCUA_EXCLUDE_ModifySubscription) public partial class ModifySubscriptionRequest : IServiceRequest { } public partial class ModifySubscriptionResponse : IServiceResponse { } /// /// The message contract for the ModifySubscription service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class ModifySubscriptionMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public ModifySubscriptionRequest ModifySubscriptionRequest; /// /// Initializes an empty message. /// public ModifySubscriptionMessage() { } /// /// Initializes the message with the body. /// public ModifySubscriptionMessage(ModifySubscriptionRequest ModifySubscriptionRequest) { this.ModifySubscriptionRequest = ModifySubscriptionRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return ModifySubscriptionRequest; } /// public object CreateResponse(IServiceResponse response) { ModifySubscriptionResponse body = response as ModifySubscriptionResponse; if (body == null) { body = new ModifySubscriptionResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new ModifySubscriptionResponseMessage(body); } #endregion } /// /// The message contract for the ModifySubscription service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class ModifySubscriptionResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public ModifySubscriptionResponse ModifySubscriptionResponse; /// /// Initializes an empty message. /// public ModifySubscriptionResponseMessage() { } /// /// Initializes the message with the body. /// public ModifySubscriptionResponseMessage(ModifySubscriptionResponse ModifySubscriptionResponse) { this.ModifySubscriptionResponse = ModifySubscriptionResponse; } /// /// Initializes the message with a service fault. /// public ModifySubscriptionResponseMessage(ServiceFault ServiceFault) { this.ModifySubscriptionResponse = new ModifySubscriptionResponse(); if (ServiceFault != null) { this.ModifySubscriptionResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region SetPublishingMode Service Messages #if (!OPCUA_EXCLUDE_SetPublishingMode) public partial class SetPublishingModeRequest : IServiceRequest { } public partial class SetPublishingModeResponse : IServiceResponse { } /// /// The message contract for the SetPublishingMode service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class SetPublishingModeMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public SetPublishingModeRequest SetPublishingModeRequest; /// /// Initializes an empty message. /// public SetPublishingModeMessage() { } /// /// Initializes the message with the body. /// public SetPublishingModeMessage(SetPublishingModeRequest SetPublishingModeRequest) { this.SetPublishingModeRequest = SetPublishingModeRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return SetPublishingModeRequest; } /// public object CreateResponse(IServiceResponse response) { SetPublishingModeResponse body = response as SetPublishingModeResponse; if (body == null) { body = new SetPublishingModeResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new SetPublishingModeResponseMessage(body); } #endregion } /// /// The message contract for the SetPublishingMode service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class SetPublishingModeResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public SetPublishingModeResponse SetPublishingModeResponse; /// /// Initializes an empty message. /// public SetPublishingModeResponseMessage() { } /// /// Initializes the message with the body. /// public SetPublishingModeResponseMessage(SetPublishingModeResponse SetPublishingModeResponse) { this.SetPublishingModeResponse = SetPublishingModeResponse; } /// /// Initializes the message with a service fault. /// public SetPublishingModeResponseMessage(ServiceFault ServiceFault) { this.SetPublishingModeResponse = new SetPublishingModeResponse(); if (ServiceFault != null) { this.SetPublishingModeResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region Publish Service Messages #if (!OPCUA_EXCLUDE_Publish) public partial class PublishRequest : IServiceRequest { } public partial class PublishResponse : IServiceResponse { } /// /// The message contract for the Publish service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class PublishMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public PublishRequest PublishRequest; /// /// Initializes an empty message. /// public PublishMessage() { } /// /// Initializes the message with the body. /// public PublishMessage(PublishRequest PublishRequest) { this.PublishRequest = PublishRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return PublishRequest; } /// public object CreateResponse(IServiceResponse response) { PublishResponse body = response as PublishResponse; if (body == null) { body = new PublishResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new PublishResponseMessage(body); } #endregion } /// /// The message contract for the Publish service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class PublishResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public PublishResponse PublishResponse; /// /// Initializes an empty message. /// public PublishResponseMessage() { } /// /// Initializes the message with the body. /// public PublishResponseMessage(PublishResponse PublishResponse) { this.PublishResponse = PublishResponse; } /// /// Initializes the message with a service fault. /// public PublishResponseMessage(ServiceFault ServiceFault) { this.PublishResponse = new PublishResponse(); if (ServiceFault != null) { this.PublishResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region Republish Service Messages #if (!OPCUA_EXCLUDE_Republish) public partial class RepublishRequest : IServiceRequest { } public partial class RepublishResponse : IServiceResponse { } /// /// The message contract for the Republish service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class RepublishMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public RepublishRequest RepublishRequest; /// /// Initializes an empty message. /// public RepublishMessage() { } /// /// Initializes the message with the body. /// public RepublishMessage(RepublishRequest RepublishRequest) { this.RepublishRequest = RepublishRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return RepublishRequest; } /// public object CreateResponse(IServiceResponse response) { RepublishResponse body = response as RepublishResponse; if (body == null) { body = new RepublishResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new RepublishResponseMessage(body); } #endregion } /// /// The message contract for the Republish service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class RepublishResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public RepublishResponse RepublishResponse; /// /// Initializes an empty message. /// public RepublishResponseMessage() { } /// /// Initializes the message with the body. /// public RepublishResponseMessage(RepublishResponse RepublishResponse) { this.RepublishResponse = RepublishResponse; } /// /// Initializes the message with a service fault. /// public RepublishResponseMessage(ServiceFault ServiceFault) { this.RepublishResponse = new RepublishResponse(); if (ServiceFault != null) { this.RepublishResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region TransferSubscriptions Service Messages #if (!OPCUA_EXCLUDE_TransferSubscriptions) public partial class TransferSubscriptionsRequest : IServiceRequest { } public partial class TransferSubscriptionsResponse : IServiceResponse { } /// /// The message contract for the TransferSubscriptions service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class TransferSubscriptionsMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public TransferSubscriptionsRequest TransferSubscriptionsRequest; /// /// Initializes an empty message. /// public TransferSubscriptionsMessage() { } /// /// Initializes the message with the body. /// public TransferSubscriptionsMessage(TransferSubscriptionsRequest TransferSubscriptionsRequest) { this.TransferSubscriptionsRequest = TransferSubscriptionsRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return TransferSubscriptionsRequest; } /// public object CreateResponse(IServiceResponse response) { TransferSubscriptionsResponse body = response as TransferSubscriptionsResponse; if (body == null) { body = new TransferSubscriptionsResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new TransferSubscriptionsResponseMessage(body); } #endregion } /// /// The message contract for the TransferSubscriptions service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class TransferSubscriptionsResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public TransferSubscriptionsResponse TransferSubscriptionsResponse; /// /// Initializes an empty message. /// public TransferSubscriptionsResponseMessage() { } /// /// Initializes the message with the body. /// public TransferSubscriptionsResponseMessage(TransferSubscriptionsResponse TransferSubscriptionsResponse) { this.TransferSubscriptionsResponse = TransferSubscriptionsResponse; } /// /// Initializes the message with a service fault. /// public TransferSubscriptionsResponseMessage(ServiceFault ServiceFault) { this.TransferSubscriptionsResponse = new TransferSubscriptionsResponse(); if (ServiceFault != null) { this.TransferSubscriptionsResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion #region DeleteSubscriptions Service Messages #if (!OPCUA_EXCLUDE_DeleteSubscriptions) public partial class DeleteSubscriptionsRequest : IServiceRequest { } public partial class DeleteSubscriptionsResponse : IServiceResponse { } /// /// The message contract for the DeleteSubscriptions service. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class DeleteSubscriptionsMessage : IServiceMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace = Namespaces.OpcUaXsd, Order = 0)] #endif public DeleteSubscriptionsRequest DeleteSubscriptionsRequest; /// /// Initializes an empty message. /// public DeleteSubscriptionsMessage() { } /// /// Initializes the message with the body. /// public DeleteSubscriptionsMessage(DeleteSubscriptionsRequest DeleteSubscriptionsRequest) { this.DeleteSubscriptionsRequest = DeleteSubscriptionsRequest; } #region IServiceMessage Members /// public IServiceRequest GetRequest() { return DeleteSubscriptionsRequest; } /// public object CreateResponse(IServiceResponse response) { DeleteSubscriptionsResponse body = response as DeleteSubscriptionsResponse; if (body == null) { body = new DeleteSubscriptionsResponse(); body.ResponseHeader = ((ServiceFault)response).ResponseHeader; } return new DeleteSubscriptionsResponseMessage(body); } #endregion } /// /// The message contract for the DeleteSubscriptions service response. /// /// [System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")] #if (!NET_STANDARD) [MessageContract(IsWrapped=false)] #endif public class DeleteSubscriptionsResponseMessage { /// /// The body of the message. /// #if (!NET_STANDARD) [MessageBodyMember(Namespace=Namespaces.OpcUaXsd, Order=0)] #endif public DeleteSubscriptionsResponse DeleteSubscriptionsResponse; /// /// Initializes an empty message. /// public DeleteSubscriptionsResponseMessage() { } /// /// Initializes the message with the body. /// public DeleteSubscriptionsResponseMessage(DeleteSubscriptionsResponse DeleteSubscriptionsResponse) { this.DeleteSubscriptionsResponse = DeleteSubscriptionsResponse; } /// /// Initializes the message with a service fault. /// public DeleteSubscriptionsResponseMessage(ServiceFault ServiceFault) { this.DeleteSubscriptionsResponse = new DeleteSubscriptionsResponse(); if (ServiceFault != null) { this.DeleteSubscriptionsResponse.ResponseHeader = ServiceFault.ResponseHeader; } } } #endif #endregion }