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; }
public OpcComputer(string name, ITreeViewItemViewModel _parent, bool loadChildren = false) { ComputerName = name; parent = _parent; TreeViewItemViewModelHelpers.InitializeChildren(this, loadChildren); }
public EndpointViewModel(EndpointDescription endpoint, ITreeViewItemViewModel _parent, bool loadChildren = false) { Endpoint = endpoint; parent = _parent; TreeViewItemViewModelHelpers.InitializeChildren(this, loadChildren); }