Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TagTreeNode"/> class.
 /// </summary>
 /// <param name="item">The item.</param>
 /// <param name="parentNode">The parent node.</param>
 internal TagTreeNode(OpcDa.ItemResult item, SubscriptionTreeNodeSession parentNode)
     : base(item.ItemName, null, parentNode)
 {
     Tag = new MyItem(item, this);
     InitializeObject();
 }
Пример #2
0
 public MyItem(OpcDa.ItemResult item, TagTreeNode parent)
     : base(item)
 {
     m_Parent = parent;
 }