/// <summary>
        /// Pega o operado booleando
        /// </summary>
        /// <param name="pRelationship">Tipo da Relação</param>
        /// <returns></returns>
        public string GetRelationShip(eRelationship pRelationship)
        {
            switch (pRelationship)
            {
            case eRelationship.erAnd:
                return(" AND ");

            case eRelationship.erOr:
                return(" OR ");

            default:
                return(string.Empty);
            }
        }
Beispiel #2
0
 /// <summary>
 /// Sets the relationship.
 /// </summary>
 /// <param name="value">The value.</param>
 public void SetRelationship(eRelationship value) => deviceHS.set_Relationship(hs, value);