/* ========================================================================
* Copyright (c) 2005-2020 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;
using System.Text;
using System.Xml;
using System.Runtime.Serialization;
using Opc.Ua;
namespace Opc.Ua.MTConnect
{
#region MTDevicesState Class
#if (!OPCUA_EXCLUDE_MTDevicesState)
///
/// Stores an instance of the MTDevicesType ObjectType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class MTDevicesState : FolderState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public MTDevicesState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.ObjectTypes.MTDevicesType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
if (MTConnectVersion != null)
{
MTConnectVersion.Initialize(context, MTConnectVersion_InitializationString);
}
if (OPCUAMappingDate != null)
{
OPCUAMappingDate.Initialize(context, OPCUAMappingDate_InitializationString);
}
if (OPCUAVersion != null)
{
OPCUAVersion.Initialize(context, OPCUAVersion_InitializationString);
}
}
#region Initialization String
private const string MTConnectVersion_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"EAAAAE1UQ29ubmVjdFZlcnNpb24BAdcZAC8AP9cZAAAADP////8BAf////8AAAAA";
private const string OPCUAMappingDate_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"EAAAAE9QQ1VBTWFwcGluZ0RhdGUBAdgZAC8AP9gZAAAADf////8BAf////8AAAAA";
private const string OPCUAVersion_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"DAAAAE9QQ1VBVmVyc2lvbgEB2RkALwA/2RkAAAAM/////wEB/////wAAAAA=";
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8EYIACAQAAAAEA" +
"FQAAAE1URGV2aWNlc1R5cGVJbnN0YW5jZQEB1hkBAdYZ1hkAAP////8DAAAAFWCJCgIAAAABABAAAABN" +
"VENvbm5lY3RWZXJzaW9uAQHXGQAvAD/XGQAAAAz/////AQH/////AAAAABVgiQoCAAAAAQAQAAAAT1BD" +
"VUFNYXBwaW5nRGF0ZQEB2BkALwA/2BkAAAAN/////wEB/////wAAAAAVYIkKAgAAAAEADAAAAE9QQ1VB" +
"VmVyc2lvbgEB2RkALwA/2RkAAAAM/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
///
public BaseDataVariableState MTConnectVersion
{
get
{
return m_mTConnectVersion;
}
set
{
if (!Object.ReferenceEquals(m_mTConnectVersion, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_mTConnectVersion = value;
}
}
///
public BaseDataVariableState OPCUAMappingDate
{
get
{
return m_oPCUAMappingDate;
}
set
{
if (!Object.ReferenceEquals(m_oPCUAMappingDate, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_oPCUAMappingDate = value;
}
}
///
public BaseDataVariableState OPCUAVersion
{
get
{
return m_oPCUAVersion;
}
set
{
if (!Object.ReferenceEquals(m_oPCUAVersion, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_oPCUAVersion = value;
}
}
#endregion
#region Overridden Methods
///
/// Populates a list with the children that belong to the node.
///
/// The context for the system being accessed.
/// The list of children to populate.
public override void GetChildren(
ISystemContext context,
IList children)
{
if (m_mTConnectVersion != null)
{
children.Add(m_mTConnectVersion);
}
if (m_oPCUAMappingDate != null)
{
children.Add(m_oPCUAMappingDate);
}
if (m_oPCUAVersion != null)
{
children.Add(m_oPCUAVersion);
}
base.GetChildren(context, children);
}
///
/// Finds the child with the specified browse name.
///
protected override BaseInstanceState FindChild(
ISystemContext context,
QualifiedName browseName,
bool createOrReplace,
BaseInstanceState replacement)
{
if (QualifiedName.IsNull(browseName))
{
return null;
}
BaseInstanceState instance = null;
switch (browseName.Name)
{
case Opc.Ua.MTConnect.BrowseNames.MTConnectVersion:
{
if (createOrReplace)
{
if (MTConnectVersion == null)
{
if (replacement == null)
{
MTConnectVersion = new BaseDataVariableState(this);
}
else
{
MTConnectVersion = (BaseDataVariableState)replacement;
}
}
}
instance = MTConnectVersion;
break;
}
case Opc.Ua.MTConnect.BrowseNames.OPCUAMappingDate:
{
if (createOrReplace)
{
if (OPCUAMappingDate == null)
{
if (replacement == null)
{
OPCUAMappingDate = new BaseDataVariableState(this);
}
else
{
OPCUAMappingDate = (BaseDataVariableState)replacement;
}
}
}
instance = OPCUAMappingDate;
break;
}
case Opc.Ua.MTConnect.BrowseNames.OPCUAVersion:
{
if (createOrReplace)
{
if (OPCUAVersion == null)
{
if (replacement == null)
{
OPCUAVersion = new BaseDataVariableState(this);
}
else
{
OPCUAVersion = (BaseDataVariableState)replacement;
}
}
}
instance = OPCUAVersion;
break;
}
}
if (instance != null)
{
return instance;
}
return base.FindChild(context, browseName, createOrReplace, replacement);
}
#endregion
#region Private Fields
private BaseDataVariableState m_mTConnectVersion;
private BaseDataVariableState m_oPCUAMappingDate;
private BaseDataVariableState m_oPCUAVersion;
#endregion
}
#endif
#endregion
#region MTDeviceState Class
#if (!OPCUA_EXCLUDE_MTDeviceState)
///
/// Stores an instance of the MTDeviceType ObjectType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class MTDeviceState : BaseObjectState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public MTDeviceState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.ObjectTypes.MTDeviceType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
if (Configuration != null)
{
Configuration.Initialize(context, Configuration_InitializationString);
}
if (SampleInterval != null)
{
SampleInterval.Initialize(context, SampleInterval_InitializationString);
}
if (Conditions != null)
{
Conditions.Initialize(context, Conditions_InitializationString);
}
}
#region Initialization String
private const string Configuration_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"DQAAAENvbmZpZ3VyYXRpb24BAeAZAC4AROAZAAAADP////8BAf////8AAAAA";
private const string SampleInterval_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"DgAAAFNhbXBsZUludGVydmFsAQHhGQAuAEThGQAAAQAiAf////8BAf////8AAAAA";
private const string Conditions_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8EYIAKAQAAAAEA" +
"CgAAAENvbmRpdGlvbnMBAeQZAC8APeQZAAD/////AAAAAA==";
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8EYIACAQAAAAEA" +
"FAAAAE1URGV2aWNlVHlwZUluc3RhbmNlAQHaGQEB2hnaGQAA/////wgAAAAVYIkKAgAAAAEADAAAAEF2" +
"YWlsYWJpbGl0eQEB2xkALwEAPQnbGQAAAAz/////AQH/////AAAAABVgiQoCAAAAAQAMAAAATWFudWZh" +
"Y3R1cmVyAQHeGQAuAETeGQAAAAz/////AQH/////AAAAABVgiQoCAAAAAQAMAAAAU2VyaWFsTnVtYmVy" +
"AQHfGQAuAETfGQAAAAz/////AQH/////AAAAABVgiQoCAAAAAQANAAAAQ29uZmlndXJhdGlvbgEB4BkA" +
"LgBE4BkAAAAM/////wEB/////wAAAAAVYIkKAgAAAAEADgAAAFNhbXBsZUludGVydmFsAQHhGQAuAETh" +
"GQAAAQAiAf////8BAf////8AAAAABGCACgEAAAABAAkAAABEYXRhSXRlbXMBAeIZAC8APeIZAAD/////" +
"AAAAAARggAoBAAAAAQAKAAAAQ29tcG9uZW50cwEB4xkALwA94xkAAP////8AAAAABGCACgEAAAABAAoA" +
"AABDb25kaXRpb25zAQHkGQAvAD3kGQAA/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
///
public DataItemState Availability
{
get
{
return m_availability;
}
set
{
if (!Object.ReferenceEquals(m_availability, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_availability = value;
}
}
///
public PropertyState Manufacturer
{
get
{
return m_manufacturer;
}
set
{
if (!Object.ReferenceEquals(m_manufacturer, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_manufacturer = value;
}
}
///
public PropertyState SerialNumber
{
get
{
return m_serialNumber;
}
set
{
if (!Object.ReferenceEquals(m_serialNumber, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_serialNumber = value;
}
}
///
public PropertyState Configuration
{
get
{
return m_configuration;
}
set
{
if (!Object.ReferenceEquals(m_configuration, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_configuration = value;
}
}
///
public PropertyState SampleInterval
{
get
{
return m_sampleInterval;
}
set
{
if (!Object.ReferenceEquals(m_sampleInterval, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_sampleInterval = value;
}
}
///
public FolderState DataItems
{
get
{
return m_dataItems;
}
set
{
if (!Object.ReferenceEquals(m_dataItems, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_dataItems = value;
}
}
///
public FolderState Components
{
get
{
return m_components;
}
set
{
if (!Object.ReferenceEquals(m_components, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_components = value;
}
}
///
public FolderState Conditions
{
get
{
return m_conditions;
}
set
{
if (!Object.ReferenceEquals(m_conditions, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_conditions = value;
}
}
#endregion
#region Overridden Methods
///
/// Populates a list with the children that belong to the node.
///
/// The context for the system being accessed.
/// The list of children to populate.
public override void GetChildren(
ISystemContext context,
IList children)
{
if (m_availability != null)
{
children.Add(m_availability);
}
if (m_manufacturer != null)
{
children.Add(m_manufacturer);
}
if (m_serialNumber != null)
{
children.Add(m_serialNumber);
}
if (m_configuration != null)
{
children.Add(m_configuration);
}
if (m_sampleInterval != null)
{
children.Add(m_sampleInterval);
}
if (m_dataItems != null)
{
children.Add(m_dataItems);
}
if (m_components != null)
{
children.Add(m_components);
}
if (m_conditions != null)
{
children.Add(m_conditions);
}
base.GetChildren(context, children);
}
///
/// Finds the child with the specified browse name.
///
protected override BaseInstanceState FindChild(
ISystemContext context,
QualifiedName browseName,
bool createOrReplace,
BaseInstanceState replacement)
{
if (QualifiedName.IsNull(browseName))
{
return null;
}
BaseInstanceState instance = null;
switch (browseName.Name)
{
case Opc.Ua.MTConnect.BrowseNames.Availability:
{
if (createOrReplace)
{
if (Availability == null)
{
if (replacement == null)
{
Availability = new DataItemState(this);
}
else
{
Availability = (DataItemState)replacement;
}
}
}
instance = Availability;
break;
}
case Opc.Ua.MTConnect.BrowseNames.Manufacturer:
{
if (createOrReplace)
{
if (Manufacturer == null)
{
if (replacement == null)
{
Manufacturer = new PropertyState(this);
}
else
{
Manufacturer = (PropertyState)replacement;
}
}
}
instance = Manufacturer;
break;
}
case Opc.Ua.MTConnect.BrowseNames.SerialNumber:
{
if (createOrReplace)
{
if (SerialNumber == null)
{
if (replacement == null)
{
SerialNumber = new PropertyState(this);
}
else
{
SerialNumber = (PropertyState)replacement;
}
}
}
instance = SerialNumber;
break;
}
case Opc.Ua.MTConnect.BrowseNames.Configuration:
{
if (createOrReplace)
{
if (Configuration == null)
{
if (replacement == null)
{
Configuration = new PropertyState(this);
}
else
{
Configuration = (PropertyState)replacement;
}
}
}
instance = Configuration;
break;
}
case Opc.Ua.MTConnect.BrowseNames.SampleInterval:
{
if (createOrReplace)
{
if (SampleInterval == null)
{
if (replacement == null)
{
SampleInterval = new PropertyState(this);
}
else
{
SampleInterval = (PropertyState)replacement;
}
}
}
instance = SampleInterval;
break;
}
case Opc.Ua.MTConnect.BrowseNames.DataItems:
{
if (createOrReplace)
{
if (DataItems == null)
{
if (replacement == null)
{
DataItems = new FolderState(this);
}
else
{
DataItems = (FolderState)replacement;
}
}
}
instance = DataItems;
break;
}
case Opc.Ua.MTConnect.BrowseNames.Components:
{
if (createOrReplace)
{
if (Components == null)
{
if (replacement == null)
{
Components = new FolderState(this);
}
else
{
Components = (FolderState)replacement;
}
}
}
instance = Components;
break;
}
case Opc.Ua.MTConnect.BrowseNames.Conditions:
{
if (createOrReplace)
{
if (Conditions == null)
{
if (replacement == null)
{
Conditions = new FolderState(this);
}
else
{
Conditions = (FolderState)replacement;
}
}
}
instance = Conditions;
break;
}
}
if (instance != null)
{
return instance;
}
return base.FindChild(context, browseName, createOrReplace, replacement);
}
#endregion
#region Private Fields
private DataItemState m_availability;
private PropertyState m_manufacturer;
private PropertyState m_serialNumber;
private PropertyState m_configuration;
private PropertyState m_sampleInterval;
private FolderState m_dataItems;
private FolderState m_components;
private FolderState m_conditions;
#endregion
}
#endif
#endregion
#region MTComponentState Class
#if (!OPCUA_EXCLUDE_MTComponentState)
///
/// Stores an instance of the MTComponentType ObjectType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class MTComponentState : MTDeviceState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public MTComponentState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.ObjectTypes.MTComponentType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
if (Model != null)
{
Model.Initialize(context, Model_InitializationString);
}
if (Station != null)
{
Station.Initialize(context, Station_InitializationString);
}
}
#region Initialization String
private const string Model_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"BQAAAE1vZGVsAQHwGQAuAETwGQAAAAz/////AQH/////AAAAAA==";
private const string Station_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"BwAAAFN0YXRpb24BAfEZAC4ARPEZAAABACIB/////wEB/////wAAAAA=";
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8EYIACAQAAAAEA" +
"FwAAAE1UQ29tcG9uZW50VHlwZUluc3RhbmNlAQHlGQEB5RnlGQAA/////wcAAAAVYIkKAgAAAAEADAAA" +
"AEF2YWlsYWJpbGl0eQEB5hkALwEAPQnmGQAAAAz/////AQH/////AAAAABVgiQoCAAAAAQAMAAAATWFu" +
"dWZhY3R1cmVyAQHpGQAuAETpGQAAAAz/////AQH/////AAAAABVgiQoCAAAAAQAMAAAAU2VyaWFsTnVt" +
"YmVyAQHqGQAuAETqGQAAAAz/////AQH/////AAAAAARggAoBAAAAAQAJAAAARGF0YUl0ZW1zAQHtGQAv" +
"AD3tGQAA/////wAAAAAEYIAKAQAAAAEACgAAAENvbXBvbmVudHMBAe4ZAC8APe4ZAAD/////AAAAABVg" +
"iQoCAAAAAQAFAAAATW9kZWwBAfAZAC4ARPAZAAAADP////8BAf////8AAAAAFWCJCgIAAAABAAcAAABT" +
"dGF0aW9uAQHxGQAuAETxGQAAAQAiAf////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
///
public PropertyState Model
{
get
{
return m_model;
}
set
{
if (!Object.ReferenceEquals(m_model, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_model = value;
}
}
///
public PropertyState Station
{
get
{
return m_station;
}
set
{
if (!Object.ReferenceEquals(m_station, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_station = value;
}
}
#endregion
#region Overridden Methods
///
/// Populates a list with the children that belong to the node.
///
/// The context for the system being accessed.
/// The list of children to populate.
public override void GetChildren(
ISystemContext context,
IList children)
{
if (m_model != null)
{
children.Add(m_model);
}
if (m_station != null)
{
children.Add(m_station);
}
base.GetChildren(context, children);
}
///
/// Finds the child with the specified browse name.
///
protected override BaseInstanceState FindChild(
ISystemContext context,
QualifiedName browseName,
bool createOrReplace,
BaseInstanceState replacement)
{
if (QualifiedName.IsNull(browseName))
{
return null;
}
BaseInstanceState instance = null;
switch (browseName.Name)
{
case Opc.Ua.MTConnect.BrowseNames.Model:
{
if (createOrReplace)
{
if (Model == null)
{
if (replacement == null)
{
Model = new PropertyState(this);
}
else
{
Model = (PropertyState)replacement;
}
}
}
instance = Model;
break;
}
case Opc.Ua.MTConnect.BrowseNames.Station:
{
if (createOrReplace)
{
if (Station == null)
{
if (replacement == null)
{
Station = new PropertyState(this);
}
else
{
Station = (PropertyState)replacement;
}
}
}
instance = Station;
break;
}
}
if (instance != null)
{
return instance;
}
return base.FindChild(context, browseName, createOrReplace, replacement);
}
#endregion
#region Private Fields
private PropertyState m_model;
private PropertyState m_station;
#endregion
}
#endif
#endregion
#region MTAxesState Class
#if (!OPCUA_EXCLUDE_MTAxesState)
///
/// Stores an instance of the MTAxesType ObjectType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class MTAxesState : MTDeviceState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public MTAxesState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.ObjectTypes.MTAxesType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
if (LinearAxesX != null)
{
LinearAxesX.Initialize(context, LinearAxesX_InitializationString);
}
if (LinearAxesY != null)
{
LinearAxesY.Initialize(context, LinearAxesY_InitializationString);
}
if (LinearAxesZ != null)
{
LinearAxesZ.Initialize(context, LinearAxesZ_InitializationString);
}
if (RotoryAxesA != null)
{
RotoryAxesA.Initialize(context, RotoryAxesA_InitializationString);
}
if (RotoryAxesB != null)
{
RotoryAxesB.Initialize(context, RotoryAxesB_InitializationString);
}
if (RotoryAxesC != null)
{
RotoryAxesC.Initialize(context, RotoryAxesC_InitializationString);
}
}
#region Initialization String
private const string LinearAxesX_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"CwAAAExpbmVhckF4ZXNYAQH9GQAuAET9GQAAAAz/////AQH/////AAAAAA==";
private const string LinearAxesY_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"CwAAAExpbmVhckF4ZXNZAQH+GQAuAET+GQAAAAz/////AQH/////AAAAAA==";
private const string LinearAxesZ_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"CwAAAExpbmVhckF4ZXNaAQH/GQAuAET/GQAAAAz/////AQH/////AAAAAA==";
private const string RotoryAxesA_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"CwAAAFJvdG9yeUF4ZXNBAQEAGgAuAEQAGgAAAAz/////AQH/////AAAAAA==";
private const string RotoryAxesB_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"CwAAAFJvdG9yeUF4ZXNCAQEBGgAuAEQBGgAAAAz/////AQH/////AAAAAA==";
private const string RotoryAxesC_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"CwAAAFJvdG9yeUF4ZXNDAQECGgAuAEQCGgAAAAz/////AQH/////AAAAAA==";
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8EYIACAQAAAAEA" +
"EgAAAE1UQXhlc1R5cGVJbnN0YW5jZQEB8hkBAfIZ8hkAAP////8LAAAAFWCJCgIAAAABAAwAAABBdmFp" +
"bGFiaWxpdHkBAfMZAC8BAD0J8xkAAAAM/////wEB/////wAAAAAVYIkKAgAAAAEADAAAAE1hbnVmYWN0" +
"dXJlcgEB9hkALgBE9hkAAAAM/////wEB/////wAAAAAVYIkKAgAAAAEADAAAAFNlcmlhbE51bWJlcgEB" +
"9xkALgBE9xkAAAAM/////wEB/////wAAAAAEYIAKAQAAAAEACQAAAERhdGFJdGVtcwEB+hkALwA9+hkA" +
"AP////8AAAAABGCACgEAAAABAAoAAABDb21wb25lbnRzAQH7GQAvAD37GQAA/////wAAAAAVYIkKAgAA" +
"AAEACwAAAExpbmVhckF4ZXNYAQH9GQAuAET9GQAAAAz/////AQH/////AAAAABVgiQoCAAAAAQALAAAA" +
"TGluZWFyQXhlc1kBAf4ZAC4ARP4ZAAAADP////8BAf////8AAAAAFWCJCgIAAAABAAsAAABMaW5lYXJB" +
"eGVzWgEB/xkALgBE/xkAAAAM/////wEB/////wAAAAAVYIkKAgAAAAEACwAAAFJvdG9yeUF4ZXNBAQEA" +
"GgAuAEQAGgAAAAz/////AQH/////AAAAABVgiQoCAAAAAQALAAAAUm90b3J5QXhlc0IBAQEaAC4ARAEa" +
"AAAADP////8BAf////8AAAAAFWCJCgIAAAABAAsAAABSb3RvcnlBeGVzQwEBAhoALgBEAhoAAAAM////" +
"/wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
///
public PropertyState LinearAxesX
{
get
{
return m_linearAxesX;
}
set
{
if (!Object.ReferenceEquals(m_linearAxesX, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_linearAxesX = value;
}
}
///
public PropertyState LinearAxesY
{
get
{
return m_linearAxesY;
}
set
{
if (!Object.ReferenceEquals(m_linearAxesY, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_linearAxesY = value;
}
}
///
public PropertyState LinearAxesZ
{
get
{
return m_linearAxesZ;
}
set
{
if (!Object.ReferenceEquals(m_linearAxesZ, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_linearAxesZ = value;
}
}
///
public PropertyState RotoryAxesA
{
get
{
return m_rotoryAxesA;
}
set
{
if (!Object.ReferenceEquals(m_rotoryAxesA, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_rotoryAxesA = value;
}
}
///
public PropertyState RotoryAxesB
{
get
{
return m_rotoryAxesB;
}
set
{
if (!Object.ReferenceEquals(m_rotoryAxesB, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_rotoryAxesB = value;
}
}
///
public PropertyState RotoryAxesC
{
get
{
return m_rotoryAxesC;
}
set
{
if (!Object.ReferenceEquals(m_rotoryAxesC, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_rotoryAxesC = value;
}
}
#endregion
#region Overridden Methods
///
/// Populates a list with the children that belong to the node.
///
/// The context for the system being accessed.
/// The list of children to populate.
public override void GetChildren(
ISystemContext context,
IList children)
{
if (m_linearAxesX != null)
{
children.Add(m_linearAxesX);
}
if (m_linearAxesY != null)
{
children.Add(m_linearAxesY);
}
if (m_linearAxesZ != null)
{
children.Add(m_linearAxesZ);
}
if (m_rotoryAxesA != null)
{
children.Add(m_rotoryAxesA);
}
if (m_rotoryAxesB != null)
{
children.Add(m_rotoryAxesB);
}
if (m_rotoryAxesC != null)
{
children.Add(m_rotoryAxesC);
}
base.GetChildren(context, children);
}
///
/// Finds the child with the specified browse name.
///
protected override BaseInstanceState FindChild(
ISystemContext context,
QualifiedName browseName,
bool createOrReplace,
BaseInstanceState replacement)
{
if (QualifiedName.IsNull(browseName))
{
return null;
}
BaseInstanceState instance = null;
switch (browseName.Name)
{
case Opc.Ua.MTConnect.BrowseNames.LinearAxesX:
{
if (createOrReplace)
{
if (LinearAxesX == null)
{
if (replacement == null)
{
LinearAxesX = new PropertyState(this);
}
else
{
LinearAxesX = (PropertyState)replacement;
}
}
}
instance = LinearAxesX;
break;
}
case Opc.Ua.MTConnect.BrowseNames.LinearAxesY:
{
if (createOrReplace)
{
if (LinearAxesY == null)
{
if (replacement == null)
{
LinearAxesY = new PropertyState(this);
}
else
{
LinearAxesY = (PropertyState)replacement;
}
}
}
instance = LinearAxesY;
break;
}
case Opc.Ua.MTConnect.BrowseNames.LinearAxesZ:
{
if (createOrReplace)
{
if (LinearAxesZ == null)
{
if (replacement == null)
{
LinearAxesZ = new PropertyState(this);
}
else
{
LinearAxesZ = (PropertyState)replacement;
}
}
}
instance = LinearAxesZ;
break;
}
case Opc.Ua.MTConnect.BrowseNames.RotoryAxesA:
{
if (createOrReplace)
{
if (RotoryAxesA == null)
{
if (replacement == null)
{
RotoryAxesA = new PropertyState(this);
}
else
{
RotoryAxesA = (PropertyState)replacement;
}
}
}
instance = RotoryAxesA;
break;
}
case Opc.Ua.MTConnect.BrowseNames.RotoryAxesB:
{
if (createOrReplace)
{
if (RotoryAxesB == null)
{
if (replacement == null)
{
RotoryAxesB = new PropertyState(this);
}
else
{
RotoryAxesB = (PropertyState)replacement;
}
}
}
instance = RotoryAxesB;
break;
}
case Opc.Ua.MTConnect.BrowseNames.RotoryAxesC:
{
if (createOrReplace)
{
if (RotoryAxesC == null)
{
if (replacement == null)
{
RotoryAxesC = new PropertyState(this);
}
else
{
RotoryAxesC = (PropertyState)replacement;
}
}
}
instance = RotoryAxesC;
break;
}
}
if (instance != null)
{
return instance;
}
return base.FindChild(context, browseName, createOrReplace, replacement);
}
#endregion
#region Private Fields
private PropertyState m_linearAxesX;
private PropertyState m_linearAxesY;
private PropertyState m_linearAxesZ;
private PropertyState m_rotoryAxesA;
private PropertyState m_rotoryAxesB;
private PropertyState m_rotoryAxesC;
#endregion
}
#endif
#endregion
#region MTControllerState Class
#if (!OPCUA_EXCLUDE_MTControllerState)
///
/// Stores an instance of the MTControllerType ObjectType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class MTControllerState : MTDeviceState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public MTControllerState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.ObjectTypes.MTControllerType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8EYIACAQAAAAEA" +
"GAAAAE1UQ29udHJvbGxlclR5cGVJbnN0YW5jZQEBAxoBAQMaAxoAAP////8FAAAAFWCJCgIAAAABAAwA" +
"AABBdmFpbGFiaWxpdHkBAQQaAC8BAD0JBBoAAAAM/////wEB/////wAAAAAVYIkKAgAAAAEADAAAAE1h" +
"bnVmYWN0dXJlcgEBBxoALgBEBxoAAAAM/////wEB/////wAAAAAVYIkKAgAAAAEADAAAAFNlcmlhbE51" +
"bWJlcgEBCBoALgBECBoAAAAM/////wEB/////wAAAAAEYIAKAQAAAAEACQAAAERhdGFJdGVtcwEBCxoA" +
"LwA9CxoAAP////8AAAAABGCACgEAAAABAAoAAABDb21wb25lbnRzAQEMGgAvAD0MGgAA/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region MTDoorState Class
#if (!OPCUA_EXCLUDE_MTDoorState)
///
/// Stores an instance of the MTDoorType ObjectType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class MTDoorState : MTDeviceState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public MTDoorState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.ObjectTypes.MTDoorType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
if (DoorState != null)
{
DoorState.Initialize(context, DoorState_InitializationString);
}
}
#region Initialization String
private const string DoorState_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"CQAAAERvb3JTdGF0ZQEBGRoALgBEGRoAAAAM/////wEB/////wAAAAA=";
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8EYIACAQAAAAEA" +
"EgAAAE1URG9vclR5cGVJbnN0YW5jZQEBDhoBAQ4aDhoAAP////8GAAAAFWCJCgIAAAABAAwAAABBdmFp" +
"bGFiaWxpdHkBAQ8aAC8BAD0JDxoAAAAM/////wEB/////wAAAAAVYIkKAgAAAAEADAAAAE1hbnVmYWN0" +
"dXJlcgEBEhoALgBEEhoAAAAM/////wEB/////wAAAAAVYIkKAgAAAAEADAAAAFNlcmlhbE51bWJlcgEB" +
"ExoALgBEExoAAAAM/////wEB/////wAAAAAEYIAKAQAAAAEACQAAAERhdGFJdGVtcwEBFhoALwA9FhoA" +
"AP////8AAAAABGCACgEAAAABAAoAAABDb21wb25lbnRzAQEXGgAvAD0XGgAA/////wAAAAAVYIkKAgAA" +
"AAEACQAAAERvb3JTdGF0ZQEBGRoALgBEGRoAAAAM/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
///
public PropertyState DoorState
{
get
{
return m_doorState;
}
set
{
if (!Object.ReferenceEquals(m_doorState, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_doorState = value;
}
}
#endregion
#region Overridden Methods
///
/// Populates a list with the children that belong to the node.
///
/// The context for the system being accessed.
/// The list of children to populate.
public override void GetChildren(
ISystemContext context,
IList children)
{
if (m_doorState != null)
{
children.Add(m_doorState);
}
base.GetChildren(context, children);
}
///
/// Finds the child with the specified browse name.
///
protected override BaseInstanceState FindChild(
ISystemContext context,
QualifiedName browseName,
bool createOrReplace,
BaseInstanceState replacement)
{
if (QualifiedName.IsNull(browseName))
{
return null;
}
BaseInstanceState instance = null;
switch (browseName.Name)
{
case Opc.Ua.MTConnect.BrowseNames.DoorState:
{
if (createOrReplace)
{
if (DoorState == null)
{
if (replacement == null)
{
DoorState = new PropertyState(this);
}
else
{
DoorState = (PropertyState)replacement;
}
}
}
instance = DoorState;
break;
}
}
if (instance != null)
{
return instance;
}
return base.FindChild(context, browseName, createOrReplace, replacement);
}
#endregion
#region Private Fields
private PropertyState m_doorState;
#endregion
}
#endif
#endregion
#region MTActuatorState Class
#if (!OPCUA_EXCLUDE_MTActuatorState)
///
/// Stores an instance of the MTActuatorType ObjectType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class MTActuatorState : MTDeviceState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public MTActuatorState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.ObjectTypes.MTActuatorType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
if (LinearAxesX != null)
{
LinearAxesX.Initialize(context, LinearAxesX_InitializationString);
}
}
#region Initialization String
private const string LinearAxesX_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"CwAAAExpbmVhckF4ZXNYAQElGgAuAEQlGgAAAAz/////AQH/////AAAAAA==";
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8EYIACAQAAAAEA" +
"FgAAAE1UQWN0dWF0b3JUeXBlSW5zdGFuY2UBARoaAQEaGhoaAAD/////BgAAABVgiQoCAAAAAQAMAAAA" +
"QXZhaWxhYmlsaXR5AQEbGgAvAQA9CRsaAAAADP////8BAf////8AAAAAFWCJCgIAAAABAAwAAABNYW51" +
"ZmFjdHVyZXIBAR4aAC4ARB4aAAAADP////8BAf////8AAAAAFWCJCgIAAAABAAwAAABTZXJpYWxOdW1i" +
"ZXIBAR8aAC4ARB8aAAAADP////8BAf////8AAAAABGCACgEAAAABAAkAAABEYXRhSXRlbXMBASIaAC8A" +
"PSIaAAD/////AAAAAARggAoBAAAAAQAKAAAAQ29tcG9uZW50cwEBIxoALwA9IxoAAP////8AAAAAFWCJ" +
"CgIAAAABAAsAAABMaW5lYXJBeGVzWAEBJRoALgBEJRoAAAAM/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
///
public PropertyState LinearAxesX
{
get
{
return m_linearAxesX;
}
set
{
if (!Object.ReferenceEquals(m_linearAxesX, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_linearAxesX = value;
}
}
#endregion
#region Overridden Methods
///
/// Populates a list with the children that belong to the node.
///
/// The context for the system being accessed.
/// The list of children to populate.
public override void GetChildren(
ISystemContext context,
IList children)
{
if (m_linearAxesX != null)
{
children.Add(m_linearAxesX);
}
base.GetChildren(context, children);
}
///
/// Finds the child with the specified browse name.
///
protected override BaseInstanceState FindChild(
ISystemContext context,
QualifiedName browseName,
bool createOrReplace,
BaseInstanceState replacement)
{
if (QualifiedName.IsNull(browseName))
{
return null;
}
BaseInstanceState instance = null;
switch (browseName.Name)
{
case Opc.Ua.MTConnect.BrowseNames.LinearAxesX:
{
if (createOrReplace)
{
if (LinearAxesX == null)
{
if (replacement == null)
{
LinearAxesX = new PropertyState(this);
}
else
{
LinearAxesX = (PropertyState)replacement;
}
}
}
instance = LinearAxesX;
break;
}
}
if (instance != null)
{
return instance;
}
return base.FindChild(context, browseName, createOrReplace, replacement);
}
#endregion
#region Private Fields
private PropertyState m_linearAxesX;
#endregion
}
#endif
#endregion
#region MTSampleDataItemState Class
#if (!OPCUA_EXCLUDE_MTSampleDataItemState)
///
/// Stores an instance of the MTSampleDataItemType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class MTSampleDataItemState : AnalogItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public MTSampleDataItemState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.MTSampleDataItemType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
if (CoordinateSystem != null)
{
CoordinateSystem.Initialize(context, CoordinateSystem_InitializationString);
}
if (NativeUnits != null)
{
NativeUnits.Initialize(context, NativeUnits_InitializationString);
}
if (NativeScale != null)
{
NativeScale.Initialize(context, NativeScale_InitializationString);
}
if (SampleInterval != null)
{
SampleInterval.Initialize(context, SampleInterval_InitializationString);
}
}
#region Initialization String
private const string CoordinateSystem_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"EAAAAENvb3JkaW5hdGVTeXN0ZW0BASwaAC4ARCwaAAABAQMn/////wEB/////wAAAAA=";
private const string NativeUnits_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"CwAAAE5hdGl2ZVVuaXRzAQEtGgAuAEQtGgAAAQB3A/////8BAf////8AAAAA";
private const string NativeScale_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"CwAAAE5hdGl2ZVNjYWxlAQEuGgAuAEQuGgAAAAr/////AQH/////AAAAAA==";
private const string SampleInterval_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"DgAAAFNhbXBsZUludGVydmFsAQEvGgAuAEQvGgAAAQAiAf////8BAf////8AAAAA";
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"HAAAAE1UU2FtcGxlRGF0YUl0ZW1UeXBlSW5zdGFuY2UBASYaAQEmGiYaAAAAGv7///8BAf////8FAAAA" +
"FWCJCgIAAAAAAAcAAABFVVJhbmdlAQEqGgAuAEQqGgAAAQB0A/////8BAf////8AAAAAFWCJCgIAAAAB" +
"ABAAAABDb29yZGluYXRlU3lzdGVtAQEsGgAuAEQsGgAAAQEDJ/////8BAf////8AAAAAFWCJCgIAAAAB" +
"AAsAAABOYXRpdmVVbml0cwEBLRoALgBELRoAAAEAdwP/////AQH/////AAAAABVgiQoCAAAAAQALAAAA" +
"TmF0aXZlU2NhbGUBAS4aAC4ARC4aAAAACv////8BAf////8AAAAAFWCJCgIAAAABAA4AAABTYW1wbGVJ" +
"bnRlcnZhbAEBLxoALgBELxoAAAEAIgH/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
///
public PropertyState CoordinateSystem
{
get
{
return m_coordinateSystem;
}
set
{
if (!Object.ReferenceEquals(m_coordinateSystem, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_coordinateSystem = value;
}
}
///
public PropertyState NativeUnits
{
get
{
return m_nativeUnits;
}
set
{
if (!Object.ReferenceEquals(m_nativeUnits, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_nativeUnits = value;
}
}
///
public PropertyState NativeScale
{
get
{
return m_nativeScale;
}
set
{
if (!Object.ReferenceEquals(m_nativeScale, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_nativeScale = value;
}
}
///
public PropertyState SampleInterval
{
get
{
return m_sampleInterval;
}
set
{
if (!Object.ReferenceEquals(m_sampleInterval, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_sampleInterval = value;
}
}
#endregion
#region Overridden Methods
///
/// Populates a list with the children that belong to the node.
///
/// The context for the system being accessed.
/// The list of children to populate.
public override void GetChildren(
ISystemContext context,
IList children)
{
if (m_coordinateSystem != null)
{
children.Add(m_coordinateSystem);
}
if (m_nativeUnits != null)
{
children.Add(m_nativeUnits);
}
if (m_nativeScale != null)
{
children.Add(m_nativeScale);
}
if (m_sampleInterval != null)
{
children.Add(m_sampleInterval);
}
base.GetChildren(context, children);
}
///
/// Finds the child with the specified browse name.
///
protected override BaseInstanceState FindChild(
ISystemContext context,
QualifiedName browseName,
bool createOrReplace,
BaseInstanceState replacement)
{
if (QualifiedName.IsNull(browseName))
{
return null;
}
BaseInstanceState instance = null;
switch (browseName.Name)
{
case Opc.Ua.MTConnect.BrowseNames.CoordinateSystem:
{
if (createOrReplace)
{
if (CoordinateSystem == null)
{
if (replacement == null)
{
CoordinateSystem = new PropertyState(this);
}
else
{
CoordinateSystem = (PropertyState)replacement;
}
}
}
instance = CoordinateSystem;
break;
}
case Opc.Ua.MTConnect.BrowseNames.NativeUnits:
{
if (createOrReplace)
{
if (NativeUnits == null)
{
if (replacement == null)
{
NativeUnits = new PropertyState(this);
}
else
{
NativeUnits = (PropertyState)replacement;
}
}
}
instance = NativeUnits;
break;
}
case Opc.Ua.MTConnect.BrowseNames.NativeScale:
{
if (createOrReplace)
{
if (NativeScale == null)
{
if (replacement == null)
{
NativeScale = new PropertyState(this);
}
else
{
NativeScale = (PropertyState)replacement;
}
}
}
instance = NativeScale;
break;
}
case Opc.Ua.MTConnect.BrowseNames.SampleInterval:
{
if (createOrReplace)
{
if (SampleInterval == null)
{
if (replacement == null)
{
SampleInterval = new PropertyState(this);
}
else
{
SampleInterval = (PropertyState)replacement;
}
}
}
instance = SampleInterval;
break;
}
}
if (instance != null)
{
return instance;
}
return base.FindChild(context, browseName, createOrReplace, replacement);
}
#endregion
#region Private Fields
private PropertyState m_coordinateSystem;
private PropertyState m_nativeUnits;
private PropertyState m_nativeScale;
private PropertyState m_sampleInterval;
#endregion
}
#region MTSampleDataItemState Class
///
/// A typed version of the MTSampleDataItemType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class MTSampleDataItemState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public MTSampleDataItemState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region AccelerationState Class
#if (!OPCUA_EXCLUDE_AccelerationState)
///
/// Stores an instance of the AccelerationType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class AccelerationState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public AccelerationState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.AccelerationType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GAAAAEFjY2VsZXJhdGlvblR5cGVJbnN0YW5jZQEBMBoBATAaMBoAAAAa/////wEB/////wEAAAAVYIkK" +
"AgAAAAAABwAAAEVVUmFuZ2UBATQaAC4ARDQaAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region AccelerationState Class
///
/// A typed version of the AccelerationType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class AccelerationState : AccelerationState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public AccelerationState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region AccumulatedTimeState Class
#if (!OPCUA_EXCLUDE_AccumulatedTimeState)
///
/// Stores an instance of the AccumulatedTimeType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class AccumulatedTimeState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public AccumulatedTimeState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.AccumulatedTimeType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GwAAAEFjY3VtdWxhdGVkVGltZVR5cGVJbnN0YW5jZQEBOhoBAToaOhoAAAAa/////wEB/////wEAAAAV" +
"YIkKAgAAAAAABwAAAEVVUmFuZ2UBAT4aAC4ARD4aAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region AccumulatedTimeState Class
///
/// A typed version of the AccumulatedTimeType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class AccumulatedTimeState : AccumulatedTimeState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public AccumulatedTimeState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region AmperageState Class
#if (!OPCUA_EXCLUDE_AmperageState)
///
/// Stores an instance of the AmperageType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class AmperageState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public AmperageState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.AmperageType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FAAAAEFtcGVyYWdlVHlwZUluc3RhbmNlAQFEGgEBRBpEGgAAABr/////AQH/////AQAAABVgiQoCAAAA" +
"AAAHAAAARVVSYW5nZQEBSBoALgBESBoAAAEAdAP/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region AmperageState Class
///
/// A typed version of the AmperageType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class AmperageState : AmperageState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public AmperageState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region AngleState Class
#if (!OPCUA_EXCLUDE_AngleState)
///
/// Stores an instance of the AngleType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class AngleState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public AngleState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.AngleType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EQAAAEFuZ2xlVHlwZUluc3RhbmNlAQFOGgEBThpOGgAAABr/////AQH/////AQAAABVgiQoCAAAAAAAH" +
"AAAARVVSYW5nZQEBUhoALgBEUhoAAAEAdAP/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region AngleState Class
///
/// A typed version of the AngleType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class AngleState : AngleState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public AngleState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region AngularAccelerationState Class
#if (!OPCUA_EXCLUDE_AngularAccelerationState)
///
/// Stores an instance of the AngularAccelerationType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class AngularAccelerationState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public AngularAccelerationState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.AngularAccelerationType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"HwAAAEFuZ3VsYXJBY2NlbGVyYXRpb25UeXBlSW5zdGFuY2UBAVgaAQFYGlgaAAAAGv////8BAf////8B" +
"AAAAFWCJCgIAAAAAAAcAAABFVVJhbmdlAQFcGgAuAERcGgAAAQB0A/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region AngularAccelerationState Class
///
/// A typed version of the AngularAccelerationType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class AngularAccelerationState : AngularAccelerationState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public AngularAccelerationState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region AngularVelocityState Class
#if (!OPCUA_EXCLUDE_AngularVelocityState)
///
/// Stores an instance of the AngularVelocityType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class AngularVelocityState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public AngularVelocityState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.AngularVelocityType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GwAAAEFuZ3VsYXJWZWxvY2l0eVR5cGVJbnN0YW5jZQEBYhoBAWIaYhoAAAAa/////wEB/////wEAAAAV" +
"YIkKAgAAAAAABwAAAEVVUmFuZ2UBAWYaAC4ARGYaAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region AngularVelocityState Class
///
/// A typed version of the AngularVelocityType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class AngularVelocityState : AngularVelocityState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public AngularVelocityState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region AxisFeedrateState Class
#if (!OPCUA_EXCLUDE_AxisFeedrateState)
///
/// Stores an instance of the AxisFeedrateType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class AxisFeedrateState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public AxisFeedrateState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.AxisFeedrateType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GAAAAEF4aXNGZWVkcmF0ZVR5cGVJbnN0YW5jZQEBbBoBAWwabBoAAAAa/////wEB/////wEAAAAVYIkK" +
"AgAAAAAABwAAAEVVUmFuZ2UBAXAaAC4ARHAaAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region AxisFeedrateState Class
///
/// A typed version of the AxisFeedrateType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class AxisFeedrateState : AxisFeedrateState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public AxisFeedrateState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region ConcentrationState Class
#if (!OPCUA_EXCLUDE_ConcentrationState)
///
/// Stores an instance of the ConcentrationType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class ConcentrationState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public ConcentrationState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.ConcentrationType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GQAAAENvbmNlbnRyYXRpb25UeXBlSW5zdGFuY2UBAXYaAQF2GnYaAAAAGv////8BAf////8BAAAAFWCJ" +
"CgIAAAAAAAcAAABFVVJhbmdlAQF6GgAuAER6GgAAAQB0A/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region ConcentrationState Class
///
/// A typed version of the ConcentrationType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class ConcentrationState : ConcentrationState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public ConcentrationState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region ConductivityState Class
#if (!OPCUA_EXCLUDE_ConductivityState)
///
/// Stores an instance of the ConductivityType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class ConductivityState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public ConductivityState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.ConductivityType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GAAAAENvbmR1Y3Rpdml0eVR5cGVJbnN0YW5jZQEBgBoBAYAagBoAAAAa/////wEB/////wEAAAAVYIkK" +
"AgAAAAAABwAAAEVVUmFuZ2UBAYQaAC4ARIQaAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region ConductivityState Class
///
/// A typed version of the ConductivityType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class ConductivityState : ConductivityState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public ConductivityState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region DisplacementState Class
#if (!OPCUA_EXCLUDE_DisplacementState)
///
/// Stores an instance of the DisplacementType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class DisplacementState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public DisplacementState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.DisplacementType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GAAAAERpc3BsYWNlbWVudFR5cGVJbnN0YW5jZQEBihoBAYoaihoAAAAa/////wEB/////wEAAAAVYIkK" +
"AgAAAAAABwAAAEVVUmFuZ2UBAY4aAC4ARI4aAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region DisplacementState Class
///
/// A typed version of the DisplacementType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class DisplacementState : DisplacementState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public DisplacementState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region ElectricalEnergyState Class
#if (!OPCUA_EXCLUDE_ElectricalEnergyState)
///
/// Stores an instance of the ElectricalEnergyType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class ElectricalEnergyState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public ElectricalEnergyState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.ElectricalEnergyType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"HAAAAEVsZWN0cmljYWxFbmVyZ3lUeXBlSW5zdGFuY2UBAZQaAQGUGpQaAAAAGv////8BAf////8BAAAA" +
"FWCJCgIAAAAAAAcAAABFVVJhbmdlAQGYGgAuAESYGgAAAQB0A/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region ElectricalEnergyState Class
///
/// A typed version of the ElectricalEnergyType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class ElectricalEnergyState : ElectricalEnergyState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public ElectricalEnergyState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region FillLevelState Class
#if (!OPCUA_EXCLUDE_FillLevelState)
///
/// Stores an instance of the FillLevelType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class FillLevelState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public FillLevelState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.FillLevelType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FQAAAEZpbGxMZXZlbFR5cGVJbnN0YW5jZQEBnhoBAZ4anhoAAAAa/////wEB/////wEAAAAVYIkKAgAA" +
"AAAABwAAAEVVUmFuZ2UBAaIaAC4ARKIaAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region FillLevelState Class
///
/// A typed version of the FillLevelType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class FillLevelState : FillLevelState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public FillLevelState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region FlowState Class
#if (!OPCUA_EXCLUDE_FlowState)
///
/// Stores an instance of the FlowType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class FlowState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public FlowState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.FlowType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EAAAAEZsb3dUeXBlSW5zdGFuY2UBAagaAQGoGqgaAAAAGv////8BAf////8BAAAAFWCJCgIAAAAAAAcA" +
"AABFVVJhbmdlAQGsGgAuAESsGgAAAQB0A/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region FlowState Class
///
/// A typed version of the FlowType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class FlowState : FlowState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public FlowState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region FrequencyState Class
#if (!OPCUA_EXCLUDE_FrequencyState)
///
/// Stores an instance of the FrequencyType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class FrequencyState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public FrequencyState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.FrequencyType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FQAAAEZyZXF1ZW5jeVR5cGVJbnN0YW5jZQEBshoBAbIashoAAAAa/////wEB/////wEAAAAVYIkKAgAA" +
"AAAABwAAAEVVUmFuZ2UBAbYaAC4ARLYaAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region FrequencyState Class
///
/// A typed version of the FrequencyType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class FrequencyState : FrequencyState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public FrequencyState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region LinearForceState Class
#if (!OPCUA_EXCLUDE_LinearForceState)
///
/// Stores an instance of the LinearForceType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class LinearForceState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public LinearForceState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.LinearForceType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FwAAAExpbmVhckZvcmNlVHlwZUluc3RhbmNlAQG8GgEBvBq8GgAAABr/////AQH/////AQAAABVgiQoC" +
"AAAAAAAHAAAARVVSYW5nZQEBwBoALgBEwBoAAAEAdAP/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region LinearForceState Class
///
/// A typed version of the LinearForceType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class LinearForceState : LinearForceState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public LinearForceState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region LoadState Class
#if (!OPCUA_EXCLUDE_LoadState)
///
/// Stores an instance of the LoadType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class LoadState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public LoadState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.LoadType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EAAAAExvYWRUeXBlSW5zdGFuY2UBAcYaAQHGGsYaAAAAGv////8BAf////8BAAAAFWCJCgIAAAAAAAcA" +
"AABFVVJhbmdlAQHKGgAuAETKGgAAAQB0A/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region LoadState Class
///
/// A typed version of the LoadType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class LoadState : LoadState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public LoadState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region MassState Class
#if (!OPCUA_EXCLUDE_MassState)
///
/// Stores an instance of the MassType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class MassState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public MassState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.MassType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EAAAAE1hc3NUeXBlSW5zdGFuY2UBAdAaAQHQGtAaAAAAGv////8BAf////8BAAAAFWCJCgIAAAAAAAcA" +
"AABFVVJhbmdlAQHUGgAuAETUGgAAAQB0A/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region MassState Class
///
/// A typed version of the MassType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class MassState : MassState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public MassState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region PathFeedrateState Class
#if (!OPCUA_EXCLUDE_PathFeedrateState)
///
/// Stores an instance of the PathFeedrateType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class PathFeedrateState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public PathFeedrateState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.PathFeedrateType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GAAAAFBhdGhGZWVkcmF0ZVR5cGVJbnN0YW5jZQEB2hoBAdoa2hoAAAAa/////wEB/////wEAAAAVYIkK" +
"AgAAAAAABwAAAEVVUmFuZ2UBAd4aAC4ARN4aAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region PathFeedrateState Class
///
/// A typed version of the PathFeedrateType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class PathFeedrateState : PathFeedrateState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public PathFeedrateState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region PathPositionState Class
#if (!OPCUA_EXCLUDE_PathPositionState)
///
/// Stores an instance of the PathPositionType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class PathPositionState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public PathPositionState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.PathPositionType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GAAAAFBhdGhQb3NpdGlvblR5cGVJbnN0YW5jZQEB5BoBAeQa5BoAAAAa/////wEB/////wEAAAAVYIkK" +
"AgAAAAAABwAAAEVVUmFuZ2UBAegaAC4AROgaAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region PathPositionState Class
///
/// A typed version of the PathPositionType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class PathPositionState : PathPositionState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public PathPositionState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region PHState Class
#if (!OPCUA_EXCLUDE_PHState)
///
/// Stores an instance of the PHType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class PHState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public PHState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.PHType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"DgAAAFBIVHlwZUluc3RhbmNlAQHuGgEB7hruGgAAABr/////AQH/////AQAAABVgiQoCAAAAAAAHAAAA" +
"RVVSYW5nZQEB8hoALgBE8hoAAAEAdAP/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region PHState Class
///
/// A typed version of the PHType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class PHState : PHState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public PHState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region PositionState Class
#if (!OPCUA_EXCLUDE_PositionState)
///
/// Stores an instance of the PositionType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class PositionState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public PositionState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.PositionType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FAAAAFBvc2l0aW9uVHlwZUluc3RhbmNlAQH4GgEB+Br4GgAAABr/////AQH/////AQAAABVgiQoCAAAA" +
"AAAHAAAARVVSYW5nZQEB/BoALgBE/BoAAAEAdAP/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region PositionState Class
///
/// A typed version of the PositionType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class PositionState : PositionState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public PositionState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region PowerFactorState Class
#if (!OPCUA_EXCLUDE_PowerFactorState)
///
/// Stores an instance of the PowerFactorType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class PowerFactorState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public PowerFactorState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.PowerFactorType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FwAAAFBvd2VyRmFjdG9yVHlwZUluc3RhbmNlAQECGwEBAhsCGwAAABr/////AQH/////AQAAABVgiQoC" +
"AAAAAAAHAAAARVVSYW5nZQEBBhsALgBEBhsAAAEAdAP/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region PowerFactorState Class
///
/// A typed version of the PowerFactorType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class PowerFactorState : PowerFactorState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public PowerFactorState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region PressureState Class
#if (!OPCUA_EXCLUDE_PressureState)
///
/// Stores an instance of the PressureType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class PressureState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public PressureState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.PressureType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FAAAAFByZXNzdXJlVHlwZUluc3RhbmNlAQEMGwEBDBsMGwAAABr/////AQH/////AQAAABVgiQoCAAAA" +
"AAAHAAAARVVSYW5nZQEBEBsALgBEEBsAAAEAdAP/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region PressureState Class
///
/// A typed version of the PressureType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class PressureState : PressureState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public PressureState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region ResistanceState Class
#if (!OPCUA_EXCLUDE_ResistanceState)
///
/// Stores an instance of the ResistanceType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class ResistanceState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public ResistanceState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.ResistanceType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FgAAAFJlc2lzdGFuY2VUeXBlSW5zdGFuY2UBARYbAQEWGxYbAAAAGv////8BAf////8BAAAAFWCJCgIA" +
"AAAAAAcAAABFVVJhbmdlAQEaGwAuAEQaGwAAAQB0A/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region ResistanceState Class
///
/// A typed version of the ResistanceType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class ResistanceState : ResistanceState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public ResistanceState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region RotationalVelocityState Class
#if (!OPCUA_EXCLUDE_RotationalVelocityState)
///
/// Stores an instance of the RotationalVelocityType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class RotationalVelocityState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public RotationalVelocityState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.RotationalVelocityType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"HgAAAFJvdGF0aW9uYWxWZWxvY2l0eVR5cGVJbnN0YW5jZQEBIBsBASAbIBsAAAAa/////wEB/////wEA" +
"AAAVYIkKAgAAAAAABwAAAEVVUmFuZ2UBASQbAC4ARCQbAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region RotationalVelocityState Class
///
/// A typed version of the RotationalVelocityType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class RotationalVelocityState : RotationalVelocityState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public RotationalVelocityState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region SoundPressureState Class
#if (!OPCUA_EXCLUDE_SoundPressureState)
///
/// Stores an instance of the SoundPressureType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class SoundPressureState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public SoundPressureState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.SoundPressureType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GQAAAFNvdW5kUHJlc3N1cmVUeXBlSW5zdGFuY2UBASobAQEqGyobAAAAGv////8BAf////8BAAAAFWCJ" +
"CgIAAAAAAAcAAABFVVJhbmdlAQEuGwAuAEQuGwAAAQB0A/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region SoundPressureState Class
///
/// A typed version of the SoundPressureType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class SoundPressureState : SoundPressureState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public SoundPressureState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region StrainState Class
#if (!OPCUA_EXCLUDE_StrainState)
///
/// Stores an instance of the StrainType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class StrainState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public StrainState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.StrainType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EgAAAFN0cmFpblR5cGVJbnN0YW5jZQEBNBsBATQbNBsAAAAa/////wEB/////wEAAAAVYIkKAgAAAAAA" +
"BwAAAEVVUmFuZ2UBATgbAC4ARDgbAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region StrainState Class
///
/// A typed version of the StrainType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class StrainState : StrainState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public StrainState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region TemperatureState Class
#if (!OPCUA_EXCLUDE_TemperatureState)
///
/// Stores an instance of the TemperatureType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class TemperatureState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public TemperatureState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.TemperatureType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FwAAAFRlbXBlcmF0dXJlVHlwZUluc3RhbmNlAQE+GwEBPhs+GwAAABr/////AQH/////AQAAABVgiQoC" +
"AAAAAAAHAAAARVVSYW5nZQEBQhsALgBEQhsAAAEAdAP/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region TemperatureState Class
///
/// A typed version of the TemperatureType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class TemperatureState : TemperatureState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public TemperatureState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region TiltState Class
#if (!OPCUA_EXCLUDE_TiltState)
///
/// Stores an instance of the TiltType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class TiltState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public TiltState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.TiltType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EAAAAFRpbHRUeXBlSW5zdGFuY2UBAUgbAQFIG0gbAAAAGv////8BAf////8BAAAAFWCJCgIAAAAAAAcA" +
"AABFVVJhbmdlAQFMGwAuAERMGwAAAQB0A/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region TiltState Class
///
/// A typed version of the TiltType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class TiltState : TiltState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public TiltState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region TorqueState Class
#if (!OPCUA_EXCLUDE_TorqueState)
///
/// Stores an instance of the TorqueType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class TorqueState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public TorqueState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.TorqueType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EgAAAFRvcnF1ZVR5cGVJbnN0YW5jZQEBUhsBAVIbUhsAAAAa/////wEB/////wEAAAAVYIkKAgAAAAAA" +
"BwAAAEVVUmFuZ2UBAVYbAC4ARFYbAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region TorqueState Class
///
/// A typed version of the TorqueType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class TorqueState : TorqueState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public TorqueState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region VelocityState Class
#if (!OPCUA_EXCLUDE_VelocityState)
///
/// Stores an instance of the VelocityType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class VelocityState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public VelocityState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.VelocityType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FAAAAFZlbG9jaXR5VHlwZUluc3RhbmNlAQFcGwEBXBtcGwAAABr/////AQH/////AQAAABVgiQoCAAAA" +
"AAAHAAAARVVSYW5nZQEBYBsALgBEYBsAAAEAdAP/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region VelocityState Class
///
/// A typed version of the VelocityType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class VelocityState : VelocityState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public VelocityState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region ViscosityState Class
#if (!OPCUA_EXCLUDE_ViscosityState)
///
/// Stores an instance of the ViscosityType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class ViscosityState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public ViscosityState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.ViscosityType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FQAAAFZpc2Nvc2l0eVR5cGVJbnN0YW5jZQEBZhsBAWYbZhsAAAAa/////wEB/////wEAAAAVYIkKAgAA" +
"AAAABwAAAEVVUmFuZ2UBAWobAC4ARGobAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region ViscosityState Class
///
/// A typed version of the ViscosityType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class ViscosityState : ViscosityState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public ViscosityState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region VoltageState Class
#if (!OPCUA_EXCLUDE_VoltageState)
///
/// Stores an instance of the VoltageType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class VoltageState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public VoltageState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.VoltageType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EwAAAFZvbHRhZ2VUeXBlSW5zdGFuY2UBAXAbAQFwG3AbAAAAGv////8BAf////8BAAAAFWCJCgIAAAAA" +
"AAcAAABFVVJhbmdlAQF0GwAuAER0GwAAAQB0A/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region VoltageState Class
///
/// A typed version of the VoltageType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class VoltageState : VoltageState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public VoltageState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region VoltAmpereState Class
#if (!OPCUA_EXCLUDE_VoltAmpereState)
///
/// Stores an instance of the VoltAmpereType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class VoltAmpereState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public VoltAmpereState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.VoltAmpereType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FgAAAFZvbHRBbXBlcmVUeXBlSW5zdGFuY2UBAXobAQF6G3obAAAAGv////8BAf////8BAAAAFWCJCgIA" +
"AAAAAAcAAABFVVJhbmdlAQF+GwAuAER+GwAAAQB0A/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region VoltAmpereState Class
///
/// A typed version of the VoltAmpereType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class VoltAmpereState : VoltAmpereState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public VoltAmpereState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region VoltAmpereReactiveState Class
#if (!OPCUA_EXCLUDE_VoltAmpereReactiveState)
///
/// Stores an instance of the VoltAmpereReactiveType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class VoltAmpereReactiveState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public VoltAmpereReactiveState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.VoltAmpereReactiveType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"HgAAAFZvbHRBbXBlcmVSZWFjdGl2ZVR5cGVJbnN0YW5jZQEBhBsBAYQbhBsAAAAa/////wEB/////wEA" +
"AAAVYIkKAgAAAAAABwAAAEVVUmFuZ2UBAYgbAC4ARIgbAAABAHQD/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region VoltAmpereReactiveState Class
///
/// A typed version of the VoltAmpereReactiveType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class VoltAmpereReactiveState : VoltAmpereReactiveState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public VoltAmpereReactiveState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region WattageState Class
#if (!OPCUA_EXCLUDE_WattageState)
///
/// Stores an instance of the WattageType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class WattageState : MTSampleDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public WattageState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.WattageType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.Number, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EwAAAFdhdHRhZ2VUeXBlSW5zdGFuY2UBAY4bAQGOG44bAAAAGv////8BAf////8BAAAAFWCJCgIAAAAA" +
"AAcAAABFVVJhbmdlAQGSGwAuAESSGwAAAQB0A/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#region WattageState Class
///
/// A typed version of the WattageType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class WattageState : WattageState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public WattageState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region MTEventDataItemState Class
#if (!OPCUA_EXCLUDE_MTEventDataItemState)
///
/// Stores an instance of the MTEventDataItemType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class MTEventDataItemState : DiscreteItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public MTEventDataItemState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.MTEventDataItemType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.BaseDataType, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
if (CoordinateSystem != null)
{
CoordinateSystem.Initialize(context, CoordinateSystem_InitializationString);
}
if (SampleInterval != null)
{
SampleInterval.Initialize(context, SampleInterval_InitializationString);
}
}
#region Initialization String
private const string CoordinateSystem_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"EAAAAENvb3JkaW5hdGVTeXN0ZW0BAZsbAC4ARJsbAAABAQMn/////wEB/////wAAAAA=";
private const string SampleInterval_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"DgAAAFNhbXBsZUludGVydmFsAQGcGwAuAEScGwAAAQAiAf////8BAf////8AAAAA";
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GwAAAE1URXZlbnREYXRhSXRlbVR5cGVJbnN0YW5jZQEBmBsBAZgbmBsAAAAY/////wEB/////wIAAAAV" +
"YIkKAgAAAAEAEAAAAENvb3JkaW5hdGVTeXN0ZW0BAZsbAC4ARJsbAAABAQMn/////wEB/////wAAAAAV" +
"YIkKAgAAAAEADgAAAFNhbXBsZUludGVydmFsAQGcGwAuAEScGwAAAQAiAf////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
///
public PropertyState CoordinateSystem
{
get
{
return m_coordinateSystem;
}
set
{
if (!Object.ReferenceEquals(m_coordinateSystem, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_coordinateSystem = value;
}
}
///
public PropertyState SampleInterval
{
get
{
return m_sampleInterval;
}
set
{
if (!Object.ReferenceEquals(m_sampleInterval, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_sampleInterval = value;
}
}
#endregion
#region Overridden Methods
///
/// Populates a list with the children that belong to the node.
///
/// The context for the system being accessed.
/// The list of children to populate.
public override void GetChildren(
ISystemContext context,
IList children)
{
if (m_coordinateSystem != null)
{
children.Add(m_coordinateSystem);
}
if (m_sampleInterval != null)
{
children.Add(m_sampleInterval);
}
base.GetChildren(context, children);
}
///
/// Finds the child with the specified browse name.
///
protected override BaseInstanceState FindChild(
ISystemContext context,
QualifiedName browseName,
bool createOrReplace,
BaseInstanceState replacement)
{
if (QualifiedName.IsNull(browseName))
{
return null;
}
BaseInstanceState instance = null;
switch (browseName.Name)
{
case Opc.Ua.MTConnect.BrowseNames.CoordinateSystem:
{
if (createOrReplace)
{
if (CoordinateSystem == null)
{
if (replacement == null)
{
CoordinateSystem = new PropertyState(this);
}
else
{
CoordinateSystem = (PropertyState)replacement;
}
}
}
instance = CoordinateSystem;
break;
}
case Opc.Ua.MTConnect.BrowseNames.SampleInterval:
{
if (createOrReplace)
{
if (SampleInterval == null)
{
if (replacement == null)
{
SampleInterval = new PropertyState(this);
}
else
{
SampleInterval = (PropertyState)replacement;
}
}
}
instance = SampleInterval;
break;
}
}
if (instance != null)
{
return instance;
}
return base.FindChild(context, browseName, createOrReplace, replacement);
}
#endregion
#region Private Fields
private PropertyState m_coordinateSystem;
private PropertyState m_sampleInterval;
#endregion
}
#region MTEventDataItemState Class
///
/// A typed version of the MTEventDataItemType variable.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public class MTEventDataItemState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the instance with its defalt attribute values.
///
public MTEventDataItemState(NodeState parent) : base(parent)
{
Value = default(T);
}
///
/// Initializes the instance with the default values.
///
protected override void Initialize(ISystemContext context)
{
base.Initialize(context);
Value = default(T);
DataType = TypeInfo.GetDataTypeId(typeof(T));
ValueRank = TypeInfo.GetValueRank(typeof(T));
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
#endregion
#region Public Members
///
/// The value of the variable.
///
public new T Value
{
get
{
return CheckTypeBeforeCast(base.Value, true);
}
set
{
base.Value = value;
}
}
#endregion
}
#endregion
#endif
#endregion
#region ActiveAxesState Class
#if (!OPCUA_EXCLUDE_ActiveAxesState)
///
/// Stores an instance of the ActiveAxesType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class ActiveAxesState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public ActiveAxesState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.ActiveAxesType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.String, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FgAAAEFjdGl2ZUF4ZXNUeXBlSW5zdGFuY2UBAZ0bAQGdG50bAAAADP////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region ActuatorStateState Class
#if (!OPCUA_EXCLUDE_ActuatorStateState)
///
/// Stores an instance of the ActuatorStateType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class ActuatorStateState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public ActuatorStateState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.ActuatorStateType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.DataTypes.ActuatorStateTypeEnum, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GQAAAEFjdHVhdG9yU3RhdGVUeXBlSW5zdGFuY2UBAaIbAQGiG6IbAAABAesm/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region AvailabilityState Class
#if (!OPCUA_EXCLUDE_AvailabilityState)
///
/// Stores an instance of the AvailabilityType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class AvailabilityState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public AvailabilityState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.AvailabilityType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.DataTypes.AvailabilityTypeEnum, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GAAAAEF2YWlsYWJpbGl0eVR5cGVJbnN0YW5jZQEBpxsBAacbpxsAAAEB8yb/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region AxesCouplingState Class
#if (!OPCUA_EXCLUDE_AxesCouplingState)
///
/// Stores an instance of the AxesCouplingType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class AxesCouplingState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public AxesCouplingState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.AxesCouplingType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.DataTypes.AxesCouplingTypeEnum, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GAAAAEF4ZXNDb3VwbGluZ1R5cGVJbnN0YW5jZQEBrBsBAawbrBsAAAEB9Sb/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region BlockState Class
#if (!OPCUA_EXCLUDE_BlockState)
///
/// Stores an instance of the BlockType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class BlockState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public BlockState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.BlockType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.String, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EQAAAEJsb2NrVHlwZUluc3RhbmNlAQHrAwEB6wPrAwAAAAz/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region ClampStateState Class
#if (!OPCUA_EXCLUDE_ClampStateState)
///
/// Stores an instance of the ClampStateType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class ClampStateState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public ClampStateState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.ClampStateType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.DataTypes.ClampStateTypeEnum, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FgAAAENsYW1wU3RhdGVUeXBlSW5zdGFuY2UBAbUbAQG1G7UbAAABAf4m/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region ControllerModeState Class
#if (!OPCUA_EXCLUDE_ControllerModeState)
///
/// Stores an instance of the ControllerModeType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class ControllerModeState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public ControllerModeState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.ControllerModeType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.DataTypes.ControllerModeTypeEnum, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GgAAAENvbnRyb2xsZXJNb2RlVHlwZUluc3RhbmNlAQG6GwEBuhu6GwAAAQEBJ/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region CoupledAxesState Class
#if (!OPCUA_EXCLUDE_CoupledAxesState)
///
/// Stores an instance of the CoupledAxesType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class CoupledAxesState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public CoupledAxesState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.CoupledAxesType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.String, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FwAAAENvdXBsZWRBeGVzVHlwZUluc3RhbmNlAQG/GwEBvxu/GwAAAAz/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region DirectionState Class
#if (!OPCUA_EXCLUDE_DirectionState)
///
/// Stores an instance of the DirectionType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class DirectionState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public DirectionState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.DirectionType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.DataTypes.DirectionTypeEnum, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FQAAAERpcmVjdGlvblR5cGVJbnN0YW5jZQEBxBsBAcQbxBsAAAEBGif/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region DoorStateState Class
#if (!OPCUA_EXCLUDE_DoorStateState)
///
/// Stores an instance of the DoorStateType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class DoorStateState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public DoorStateState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.DoorStateType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.DataTypes.DoorStateTypeEnum, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FQAAAERvb3JTdGF0ZVR5cGVJbnN0YW5jZQEByRsBAckbyRsAAAEBHCf/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region EmergencyStopState Class
#if (!OPCUA_EXCLUDE_EmergencyStopState)
///
/// Stores an instance of the EmergencyStopType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class EmergencyStopState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public EmergencyStopState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.EmergencyStopType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.DataTypes.EmergencyStopTypeEnum, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GQAAAEVtZXJnZW5jeVN0b3BUeXBlSW5zdGFuY2UBAc4bAQHOG84bAAABASEn/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region ExecutionState Class
#if (!OPCUA_EXCLUDE_ExecutionState)
///
/// Stores an instance of the ExecutionType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class ExecutionState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public ExecutionState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.ExecutionType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.DataTypes.ExecutionTypeEnum, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FQAAAEV4ZWN1dGlvblR5cGVJbnN0YW5jZQEB0xsBAdMb0xsAAAEBJCf/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region LineState Class
#if (!OPCUA_EXCLUDE_LineState)
///
/// Stores an instance of the LineType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class LineState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public LineState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.LineType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.UInt16, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EAAAAExpbmVUeXBlSW5zdGFuY2UBAdgbAQHYG9gbAAAABf////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region MessageState Class
#if (!OPCUA_EXCLUDE_MessageState)
///
/// Stores an instance of the MessageType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class MessageState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public MessageState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.MessageType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.String, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EwAAAE1lc3NhZ2VUeXBlSW5zdGFuY2UBAd0bAQHdG90bAAAADP////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region PalletIdState Class
#if (!OPCUA_EXCLUDE_PalletIdState)
///
/// Stores an instance of the PalletIdType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class PalletIdState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public PalletIdState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.PalletIdType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.String, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FAAAAFBhbGxldElkVHlwZUluc3RhbmNlAQHiGwEB4hviGwAAAAz/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region PartCountState Class
#if (!OPCUA_EXCLUDE_PartCountState)
///
/// Stores an instance of the PartCountType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class PartCountState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public PartCountState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.PartCountType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.UInt16, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FQAAAFBhcnRDb3VudFR5cGVJbnN0YW5jZQEB5xsBAecb5xsAAAAF/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region PartIdState Class
#if (!OPCUA_EXCLUDE_PartIdState)
///
/// Stores an instance of the PartIdType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class PartIdState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public PartIdState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.PartIdType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.String, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EgAAAFBhcnRJZFR5cGVJbnN0YW5jZQEB7BsBAewb7BsAAAAM/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region PathModeState Class
#if (!OPCUA_EXCLUDE_PathModeState)
///
/// Stores an instance of the PathModeType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class PathModeState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public PathModeState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.PathModeType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.DataTypes.PathModeTypeEnum, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FAAAAFBhdGhNb2RlVHlwZUluc3RhbmNlAQHxGwEB8RvxGwAAAQFIJ/////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region PowerStateState Class
#if (!OPCUA_EXCLUDE_PowerStateState)
///
/// Stores an instance of the PowerStateType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class PowerStateState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public PowerStateState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.PowerStateType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.DataTypes.PowerStateTypeEnum, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FgAAAFBvd2VyU3RhdGVUeXBlSW5zdGFuY2UBAfYbAQH2G/YbAAABAUon/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region ProgramState Class
#if (!OPCUA_EXCLUDE_ProgramState)
///
/// Stores an instance of the ProgramType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class ProgramState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public ProgramState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.ProgramType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.String, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"EwAAAFByb2dyYW1UeXBlSW5zdGFuY2UBAfsbAQH7G/sbAAAADP////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region RotaryModeState Class
#if (!OPCUA_EXCLUDE_RotaryModeState)
///
/// Stores an instance of the RotaryModeType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class RotaryModeState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public RotaryModeState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.RotaryModeType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.DataTypes.RotaryModeTypeEnum, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FgAAAFJvdGFyeU1vZGVUeXBlSW5zdGFuY2UBAQAcAQEAHAAcAAABAVEn/////wEB/////wAAAAA=";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region ToolAssetIdState Class
#if (!OPCUA_EXCLUDE_ToolAssetIdState)
///
/// Stores an instance of the ToolAssetIdType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class ToolAssetIdState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public ToolAssetIdState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.ToolAssetIdType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.String, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FwAAAFRvb2xBc3NldElkVHlwZUluc3RhbmNlAQEFHAEBBRwFHAAAAAz/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region ToolNumberState Class
#if (!OPCUA_EXCLUDE_ToolNumberState)
///
/// Stores an instance of the ToolNumberType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class ToolNumberState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public ToolNumberState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.ToolNumberType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.UInt16, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"FgAAAFRvb2xOdW1iZXJUeXBlSW5zdGFuY2UBAQocAQEKHAocAAAABf////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region WorkHoldingIdState Class
#if (!OPCUA_EXCLUDE_WorkHoldingIdState)
///
/// Stores an instance of the WorkHoldingIdType VariableType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class WorkHoldingIdState : MTEventDataItemState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public WorkHoldingIdState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.VariableTypes.WorkHoldingIdType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
///
/// Returns the id of the default data type node for the instance.
///
protected override NodeId GetDefaultDataTypeId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.DataTypes.String, Opc.Ua.Namespaces.OpcUa, namespaceUris);
}
///
/// Returns the id of the default value rank for the instance.
///
protected override int GetDefaultValueRank()
{
return ValueRanks.Scalar;
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
}
#region Initialization String
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkCAgAAAAEA" +
"GQAAAFdvcmtIb2xkaW5nSWRUeXBlSW5zdGFuY2UBAQ8cAQEPHA8cAAAADP////8BAf////8AAAAA";
#endregion
#endif
#endregion
#region Public Properties
#endregion
#region Overridden Methods
#endregion
#region Private Fields
#endregion
}
#endif
#endregion
#region MTConditionState Class
#if (!OPCUA_EXCLUDE_MTConditionState)
///
/// Stores an instance of the MTConditionType ObjectType.
///
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
public partial class MTConditionState : ConditionState
{
#region Constructors
///
/// Initializes the type with its default attribute values.
///
public MTConditionState(NodeState parent) : base(parent)
{
}
///
/// Returns the id of the default type definition node for the instance.
///
protected override NodeId GetDefaultTypeDefinitionId(NamespaceTable namespaceUris)
{
return Opc.Ua.NodeId.Create(Opc.Ua.MTConnect.ObjectTypes.MTConditionType, Opc.Ua.MTConnect.Namespaces.OpcUaMTConnect, namespaceUris);
}
#if (!OPCUA_EXCLUDE_InitializationStrings)
///
/// Initializes the instance.
///
protected override void Initialize(ISystemContext context)
{
Initialize(context, InitializationString);
InitializeOptionalChildren(context);
}
///
/// Initializes the instance with a node.
///
protected override void Initialize(ISystemContext context, NodeState source)
{
InitializeOptionalChildren(context);
base.Initialize(context, source);
}
///
/// Initializes the any option children defined for the instance.
///
protected override void InitializeOptionalChildren(ISystemContext context)
{
base.InitializeOptionalChildren(context);
if (LimitState != null)
{
LimitState.Initialize(context, LimitState_InitializationString);
}
if (NativeCode != null)
{
NativeCode.Initialize(context, NativeCode_InitializationString);
}
if (NativeSeverity != null)
{
NativeSeverity.Initialize(context, NativeSeverity_InitializationString);
}
}
#region Initialization String
private const string LimitState_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8EYIAKAQAAAAEA" +
"CgAAAExpbWl0U3RhdGUBAUMcAC8BAGYkQxwAAP////8BAAAAFWCJCgIAAAAAAAwAAABDdXJyZW50U3Rh" +
"dGUBAUQcAC8BAMgKRBwAAAAV/////wEB/////wEAAAAVYIkKAgAAAAAAAgAAAElkAQFFHAAuAERFHAAA" +
"ABH/////AQH/////AAAAAA==";
private const string NativeCode_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"CgAAAE5hdGl2ZUNvZGUBAU8cAC4ARE8cAAAADP////8BAf////8AAAAA";
private const string NativeSeverity_InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8VYIkKAgAAAAEA" +
"DgAAAE5hdGl2ZVNldmVyaXR5AQFQHAAuAERQHAAAAAz/////AQH/////AAAAAA==";
private const string InitializationString =
"AQAAACYAAABodHRwOi8vb3BjZm91bmRhdGlvbi5vcmcvVUEvTVRDb25uZWN0L/////8EYIACAQAAAAEA" +
"FwAAAE1UQ29uZGl0aW9uVHlwZUluc3RhbmNlAQEUHAEBFBwUHAAA/////xoAAAAVYIkKAgAAAAAABwAA" +
"AEV2ZW50SWQBARUcAC4ARBUcAAAAD/////8BAf////8AAAAAFWCJCgIAAAAAAAkAAABFdmVudFR5cGUB" +
"ARYcAC4ARBYcAAAAEf////8BAf////8AAAAAFWCJCgIAAAAAAAoAAABTb3VyY2VOb2RlAQEXHAAuAEQX" +
"HAAAABH/////AQH/////AAAAABVgiQoCAAAAAAAKAAAAU291cmNlTmFtZQEBGBwALgBEGBwAAAAM////" +
"/wEB/////wAAAAAVYIkKAgAAAAAABAAAAFRpbWUBARkcAC4ARBkcAAABACYB/////wEB/////wAAAAAV" +
"YIkKAgAAAAAACwAAAFJlY2VpdmVUaW1lAQEaHAAuAEQaHAAAAQAmAf////8BAf////8AAAAAFWCJCgIA" +
"AAAAAAcAAABNZXNzYWdlAQEcHAAuAEQcHAAAABX/////AQH/////AAAAABVgiQoCAAAAAAAIAAAAU2V2" +
"ZXJpdHkBAR0cAC4ARB0cAAAABf////8BAf////8AAAAAFWCJCgIAAAAAABAAAABDb25kaXRpb25DbGFz" +
"c0lkAQEeHAAuAEQeHAAAABH/////AQH/////AAAAABVgiQoCAAAAAAASAAAAQ29uZGl0aW9uQ2xhc3NO" +
"YW1lAQEfHAAuAEQfHAAAABX/////AQH/////AAAAABVgiQoCAAAAAAANAAAAQ29uZGl0aW9uTmFtZQEB" +
"IBwALgBEIBwAAAAM/////wEB/////wAAAAAVYIkKAgAAAAAACAAAAEJyYW5jaElkAQEhHAAuAEQhHAAA" +
"ABH/////AQH/////AAAAABVgiQoCAAAAAAAGAAAAUmV0YWluAQEiHAAuAEQiHAAAAAH/////AQH/////" +
"AAAAABVgiQoCAAAAAAAMAAAARW5hYmxlZFN0YXRlAQEjHAAvAQAjIyMcAAAAFf////8BAf////8BAAAA" +
"FWCJCgIAAAAAAAIAAABJZAEBJBwALgBEJBwAAAAB/////wEB/////wAAAAAVYIkKAgAAAAAABwAAAFF1" +
"YWxpdHkBASwcAC8BACojLBwAAAAT/////wEB/////wEAAAAVYIkKAgAAAAAADwAAAFNvdXJjZVRpbWVz" +
"dGFtcAEBLRwALgBELRwAAAEAJgH/////AQH/////AAAAABVgiQoCAAAAAAAMAAAATGFzdFNldmVyaXR5" +
"AQEuHAAvAQAqIy4cAAAABf////8BAf////8BAAAAFWCJCgIAAAAAAA8AAABTb3VyY2VUaW1lc3RhbXAB" +
"AS8cAC4ARC8cAAABACYB/////wEB/////wAAAAAVYIkKAgAAAAAABwAAAENvbW1lbnQBATAcAC8BACoj" +
"MBwAAAAV/////wEB/////wEAAAAVYIkKAgAAAAAADwAAAFNvdXJjZVRpbWVzdGFtcAEBMRwALgBEMRwA" +
"AAEAJgH/////AQH/////AAAAABVgiQoCAAAAAAAMAAAAQ2xpZW50VXNlcklkAQEyHAAuAEQyHAAAAAz/" +
"////AQH/////AAAAAARhggoEAAAAAAAHAAAARGlzYWJsZQEBMxwALwEARCMzHAAAAQEBAAAAAQD5CwAB" +
"APMKAAAAAARhggoEAAAAAAAGAAAARW5hYmxlAQE0HAAvAQBDIzQcAAABAQEAAAABAPkLAAEA8woAAAAA" +
"BGGCCgQAAAAAAAoAAABBZGRDb21tZW50AQE1HAAvAQBFIzUcAAABAQEAAAABAPkLAAEADQsBAAAAF2Cp" +
"CgIAAAAAAA4AAABJbnB1dEFyZ3VtZW50cwEBNhwALgBENhwAAJYCAAAAAQAqAQFGAAAABwAAAEV2ZW50" +
"SWQAD/////8AAAAAAwAAAAAoAAAAVGhlIGlkZW50aWZpZXIgZm9yIHRoZSBldmVudCB0byBjb21tZW50" +
"LgEAKgEBQgAAAAcAAABDb21tZW50ABX/////AAAAAAMAAAAAJAAAAFRoZSBjb21tZW50IHRvIGFkZCB0" +
"byB0aGUgY29uZGl0aW9uLgEAKAEBAAAAAQAAAAAAAAABAf////8AAAAAFWCJCgIAAAABAA4AAABNVEN1" +
"cnJlbnRTdGF0ZQEBORwALwA/ORwAAAAM/////wEB/////wAAAAAVYIkKAgAAAAEACwAAAEFjdGl2ZVN0" +
"YXRlAQE6HAAvAQAjIzocAAAAFf////8BAf////8BAAAAFWCJCgIAAAAAAAIAAABJZAEBOxwALgBEOxwA" +
"AAAB/////wEB/////wAAAAAEYIAKAQAAAAEACgAAAExpbWl0U3RhdGUBAUMcAC8BAGYkQxwAAP////8B" +
"AAAAFWCJCgIAAAAAAAwAAABDdXJyZW50U3RhdGUBAUQcAC8BAMgKRBwAAAAV/////wEB/////wEAAAAV" +
"YIkKAgAAAAAAAgAAAElkAQFFHAAuAERFHAAAABH/////AQH/////AAAAABVgiQoCAAAAAQAKAAAATmF0" +
"aXZlQ29kZQEBTxwALgBETxwAAAAM/////wEB/////wAAAAAVYIkKAgAAAAEADgAAAE5hdGl2ZVNldmVy" +
"aXR5AQFQHAAuAERQHAAAAAz/////AQH/////AAAAAA==";
#endregion
#endif
#endregion
#region Public Properties
///
public BaseDataVariableState MTCurrentState
{
get
{
return m_mTCurrentState;
}
set
{
if (!Object.ReferenceEquals(m_mTCurrentState, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_mTCurrentState = value;
}
}
///
public TwoStateVariableState ActiveState
{
get
{
return m_activeState;
}
set
{
if (!Object.ReferenceEquals(m_activeState, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_activeState = value;
}
}
///
public ExclusiveLimitStateMachineState LimitState
{
get
{
return m_limitState;
}
set
{
if (!Object.ReferenceEquals(m_limitState, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_limitState = value;
}
}
///
public PropertyState NativeCode
{
get
{
return m_nativeCode;
}
set
{
if (!Object.ReferenceEquals(m_nativeCode, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_nativeCode = value;
}
}
///
public PropertyState NativeSeverity
{
get
{
return m_nativeSeverity;
}
set
{
if (!Object.ReferenceEquals(m_nativeSeverity, value))
{
ChangeMasks |= NodeStateChangeMasks.Children;
}
m_nativeSeverity = value;
}
}
#endregion
#region Overridden Methods
///
/// Populates a list with the children that belong to the node.
///
/// The context for the system being accessed.
/// The list of children to populate.
public override void GetChildren(
ISystemContext context,
IList children)
{
if (m_mTCurrentState != null)
{
children.Add(m_mTCurrentState);
}
if (m_activeState != null)
{
children.Add(m_activeState);
}
if (m_limitState != null)
{
children.Add(m_limitState);
}
if (m_nativeCode != null)
{
children.Add(m_nativeCode);
}
if (m_nativeSeverity != null)
{
children.Add(m_nativeSeverity);
}
base.GetChildren(context, children);
}
///
/// Finds the child with the specified browse name.
///
protected override BaseInstanceState FindChild(
ISystemContext context,
QualifiedName browseName,
bool createOrReplace,
BaseInstanceState replacement)
{
if (QualifiedName.IsNull(browseName))
{
return null;
}
BaseInstanceState instance = null;
switch (browseName.Name)
{
case Opc.Ua.MTConnect.BrowseNames.MTCurrentState:
{
if (createOrReplace)
{
if (MTCurrentState == null)
{
if (replacement == null)
{
MTCurrentState = new BaseDataVariableState(this);
}
else
{
MTCurrentState = (BaseDataVariableState)replacement;
}
}
}
instance = MTCurrentState;
break;
}
case Opc.Ua.MTConnect.BrowseNames.ActiveState:
{
if (createOrReplace)
{
if (ActiveState == null)
{
if (replacement == null)
{
ActiveState = new TwoStateVariableState(this);
}
else
{
ActiveState = (TwoStateVariableState)replacement;
}
}
}
instance = ActiveState;
break;
}
case Opc.Ua.MTConnect.BrowseNames.LimitState:
{
if (createOrReplace)
{
if (LimitState == null)
{
if (replacement == null)
{
LimitState = new ExclusiveLimitStateMachineState(this);
}
else
{
LimitState = (ExclusiveLimitStateMachineState)replacement;
}
}
}
instance = LimitState;
break;
}
case Opc.Ua.MTConnect.BrowseNames.NativeCode:
{
if (createOrReplace)
{
if (NativeCode == null)
{
if (replacement == null)
{
NativeCode = new PropertyState(this);
}
else
{
NativeCode = (PropertyState)replacement;
}
}
}
instance = NativeCode;
break;
}
case Opc.Ua.MTConnect.BrowseNames.NativeSeverity:
{
if (createOrReplace)
{
if (NativeSeverity == null)
{
if (replacement == null)
{
NativeSeverity = new PropertyState(this);
}
else
{
NativeSeverity = (PropertyState)replacement;
}
}
}
instance = NativeSeverity;
break;
}
}
if (instance != null)
{
return instance;
}
return base.FindChild(context, browseName, createOrReplace, replacement);
}
#endregion
#region Private Fields
private BaseDataVariableState m_mTCurrentState;
private TwoStateVariableState m_activeState;
private ExclusiveLimitStateMachineState m_limitState;
private PropertyState m_nativeCode;
private PropertyState