コード例 #1
0
ファイル: OPCItemCollection.cs プロジェクト: qq5013/XJ_WCS
 protected void AddItem(string itemName, OPCItem item)
 {
     this.dictItemName.Add(itemName, item);
 }
コード例 #2
0
ファイル: OPCClient.cs プロジェクト: daiiniel/ThermoCamApp
        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;
        }
コード例 #3
0
ファイル: OPCItemCollection.cs プロジェクト: qq5013/XJ_WCS
 internal void Add(OPCItem item)
 {
     this.AddItem(item.ItemName, item);
     this.dictItemIndex.Add(item.ClientHandler, item);
 }