示例#1
0
 public BrowseTagsViewModel(ReferenceDescription node, UaTcpSessionChannel currentChannel, ITagBrower _parent, bool loadChildren = false)
 {
     parent = _parent;
     TreeViewItemViewModelHelpers.InitializeChildren(this, loadChildren);
     //TreeViewItemViewModelHelpers.CheckForEndTag(this, node);
     Node = new OpcTagModel()
     {
         Node = node
     };
     channel = currentChannel;
 }
示例#2
0
 public OpcComputer(string name, ITreeViewItemViewModel _parent, bool loadChildren = false)
 {
     ComputerName = name;
     parent       = _parent;
     TreeViewItemViewModelHelpers.InitializeChildren(this, loadChildren);
 }
示例#3
0
 public EndpointViewModel(EndpointDescription endpoint, ITreeViewItemViewModel _parent, bool loadChildren = false)
 {
     Endpoint = endpoint;
     parent   = _parent;
     TreeViewItemViewModelHelpers.InitializeChildren(this, loadChildren);
 }