protected void AddItem(string itemName, OPCItem item) { this.dictItemName.Add(itemName, item); }
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; }
internal void Add(OPCItem item) { this.AddItem(item.ItemName, item); this.dictItemIndex.Add(item.ClientHandler, item); }