Opc.Ua.Com.ComServerStatusState.GetChildren C# (CSharp) Method

GetChildren() public method

Populates a list with the children that belong to the node.
public GetChildren ( ISystemContext context, IList children ) : void
context ISystemContext The context for the system being accessed.
children IList The list of children to populate.
return void
        public override void GetChildren(
            ISystemContext context,
            IList<BaseInstanceState> children)
        {
            if (m_serverUrl != null)
            {
                children.Add(m_serverUrl);
            }

            if (m_vendorInfo != null)
            {
                children.Add(m_vendorInfo);
            }

            if (m_softwareVersion != null)
            {
                children.Add(m_softwareVersion);
            }

            if (m_serverState != null)
            {
                children.Add(m_serverState);
            }

            if (m_currentTime != null)
            {
                children.Add(m_currentTime);
            }

            if (m_startTime != null)
            {
                children.Add(m_startTime);
            }

            if (m_lastUpdateTime != null)
            {
                children.Add(m_lastUpdateTime);
            }

            base.GetChildren(context, children);
        }