Пример #1
0
        /// <summary>
        /// Sets this <see cref="StatusChannel0"/> instance logically equal to the specified
        /// <paramref name="source"/> instance
        /// </summary>
        /// <param name="source">The source <see cref="StatusChannel0"/> instance to copy.</param>
        public void Copy(StatusChannel0 source)
        {
            if (source == null)
            {
                throw new ArgumentNullException(nameof(source));
            }

            FullTime           = source.FullTime;
            NumberOfSatellites = source.NumberOfSatellites;
            PositionMode       = source.PositionMode;
            VelocityMode       = source.VelocityMode;
            OrientationMode    = source.OrientationMode;
        }
Пример #2
0
 /// <summary>
 /// Initializes a new <see cref="StatusChannel0"/> instance that is logically equal to
 /// specifed <paramref name="source"/> instance.
 /// </summary>
 /// <param name="source">The source <see cref="StatusChannel0"/> instance to copy.</param>
 public StatusChannel0(StatusChannel0 source)
 {
     Copy(source);
 }