/// <summary>
        /// Determines whether the specified <see cref="DIS.OpenDIS.Enumerations.Environment.ObjectState.RibbonBridge"/> instance is equal to this instance.
        /// </summary>
        /// <param name="other">The <see cref="DIS.OpenDIS.Enumerations.Environment.ObjectState.RibbonBridge"/> instance to compare with this instance.</param>
        /// <returns>
        ///     <c>true</c> if the specified <see cref="DIS.OpenDIS.Enumerations.Environment.ObjectState.RibbonBridge"/> is equal to this instance; otherwise, <c>false</c>.
        /// </returns>
        public bool Equals(RibbonBridge other)
        {
            // If parameter is null return false (cast to object to prevent recursive loop!)
            if ((object)other == null)
            {
                return(false);
            }

            return
                (this.NumOfSegments == other.NumOfSegments);
        }
        /// <summary>
        /// Creates the <see cref="DIS.OpenDIS.Enumerations.Environment.ObjectState.RibbonBridge"/> instance from the uint value.
        /// </summary>
        /// <param name="value">The uint value which represents the <see cref="DIS.OpenDIS.Enumerations.Environment.ObjectState.RibbonBridge"/> instance.</param>
        /// <returns>The <see cref="DIS.OpenDIS.Enumerations.Environment.ObjectState.RibbonBridge"/> instance, represented by the uint value.</returns>
        public static RibbonBridge FromUInt32(uint value)
        {
            RibbonBridge ps = new RibbonBridge();

            uint mask0     = 0xff0000;
            byte shift0    = 16;
            uint newValue0 = (value & mask0) >> shift0;

            ps.NumOfSegments = (byte)newValue0;

            return(ps);
        }