A class that manages the COM DA groups.
상속: IDisposable
예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ComDaProxy"/> class.
 /// </summary>
 public ComDaProxy()
 {
     m_mapper             = new ComNamespaceMapper();
     m_browseCacheManager = new ComDaBrowseCache(m_mapper);
     m_browseManager      = new ComDaBrowseManager(m_mapper, m_browseCacheManager);
     m_groupManager       = new ComDaGroupManager(m_mapper, m_browseManager);
 }
예제 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ComDaProxy"/> class.
        /// </summary>
        public ComDaProxy()
		{
            m_mapper = new ComNamespaceMapper();
            m_browseCacheManager = new ComDaBrowseCache(m_mapper);
            m_browseManager = new ComDaBrowseManager(m_mapper, m_browseCacheManager);
            m_groupManager = new ComDaGroupManager(m_mapper, m_browseManager);
        }
예제 #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ComDaGroup"/> class.
        /// </summary>
        /// <param name="manager">The group manager.</param>
        /// <param name="name">The name.</param>
        /// <param name="serverHandle">The server handle.</param>
        public ComDaGroup(ComDaGroupManager manager, string name, int serverHandle)
		{
            m_manager = manager;
            m_name = name;
            m_serverHandle = serverHandle;
            m_clientHandle = 0;
            m_active = true;
            m_enabled = true;
            m_updateRate = 0;
            m_deadband = 0;
            m_timeBias = 0;
            m_itemsByHandle = new Dictionary<int,ComDaGroupItem>();
            m_items = new List<ComDaGroupItem>();
            m_requests = new List<ComDaAsnycRequest>();
            m_keepAliveTime = 0;
            m_updateTimer = null;
            m_itemsByMonitoredItem = new Dictionary<uint, ComDaGroupItem>();
        }