/////////////////////////////////////////////////////////////////////// #region Constructors, Destructor, Initialization /// <summary> /// Saves the parameters for an incomplete browse information. /// </summary> public TsCAeBrowsePosition( string areaID, TsCAeBrowseType browseType, string browseFilter) { _areaID = areaID; _browseType = browseType; _browseFilter = browseFilter; }
/// <summary> /// Saves the parameters for an incomplete browse information. /// </summary> public TsCAeBrowsePosition( string areaId, TsCAeBrowseType browseType, string browseFilter) { areaId_ = areaId; browseType_ = browseType; browseFilter_ = browseFilter; }
/// <summary> /// Converts a NodeType value to the OPCAEBROWSETYPE equivalent. /// </summary> internal static OpcRcw.Ae.OPCAEBROWSETYPE GetBrowseType(TsCAeBrowseType input) { switch (input) { case TsCAeBrowseType.Area: return(OpcRcw.Ae.OPCAEBROWSETYPE.OPC_AREA); case TsCAeBrowseType.Source: return(OpcRcw.Ae.OPCAEBROWSETYPE.OPC_SOURCE); } return(OpcRcw.Ae.OPCAEBROWSETYPE.OPC_AREA); }
/// <summary> /// Browses for all children of the specified area that meet the filter criteria. /// </summary> /// <param name="areaId">The full-qualified id for the area.</param> /// <param name="browseType">The type of children to return.</param> /// <param name="browseFilter">The expression used to filter the names of children returned.</param> /// <returns>The set of elements that meet the filter criteria.</returns> public TsCAeBrowseElement[] Browse( string areaId, TsCAeBrowseType browseType, string browseFilter) { LicenseHandler.ValidateFeatures(LicenseHandler.ProductFeature.AlarmsConditions); if (Server == null) { throw new NotConnectedException(); } return(((ITsCAeServer)Server).Browse(areaId, browseType, browseFilter)); }