Opc.Ua.Com.Client.ComDaGroup.ComDaGroup C# (CSharp) Method

ComDaGroup() public method

Creates an empty group.
public ComDaGroup ( ComDaClient server, bool callbacksRequired ) : System
server ComDaClient The server that the group belongs to.
callbacksRequired bool if set to true if the group will received callbacks.
return System
        public ComDaGroup(ComDaClient server, bool callbacksRequired)
        {
            m_server = server;
            m_clientHandle = Utils.IncrementIdentifier(ref m_groupCounter);
            m_serverHandle = 0;
            m_items = new List<GroupItem>();

            if (callbacksRequired)
            {
                m_monitoredItems = new Dictionary<int, DataChangeInfo>();
            }

            // Utils.Trace("GROUP {0}", m_clientHandle);
        }
        #endregion