Пример #1
0
        /// <summary>
        /// Returns true if the status code is uncertain.
        /// </summary>
        /// <remarks>
        /// Returns true if the status code is uncertain.
        /// </remarks>
        /// <param name="value">The value to checck the quality of</param>
        public static bool IsUncertain(DataValue value) {
            if (value != null) {
                return StatusCode.IsUncertain(value.m_statusCode);
            }

            return false;
        }
Пример #2
0
        /// <summary>
        /// Returns true if the status code is uncertain.
        /// </summary>
        public static bool IsUncertain(ServiceResult status)
        {
            if (status != null)
            {
                return(StatusCode.IsUncertain(status.m_code));
            }

            return(false);
        }