Exemple #1
0
 protected void AddItem(string itemName, OPCItem item)
 {
     this.dictItemName.Add(itemName, item);
 }
Exemple #2
0
        public Leaf(Branch Parent, string Name, int ClientHandle, OPCBrowser Browser)
        {
            this._Parent            = Parent;
            this._Name              = Name;
            this._ClientHandle      = ClientHandle;

            this._Parent.addLeaf(this);

            this._OPCItem           = this._Parent.OPCGroup.OPCItems.AddItem(Browser.GetItemID(this._Name), this._ClientHandle);
            this._OPCItem.IsActive  = true;
        }
Exemple #3
0
 internal void Add(OPCItem item)
 {
     this.AddItem(item.ItemName, item);
     this.dictItemIndex.Add(item.ClientHandler, item);
 }