Exemplo n.º 1
0
        /// <summary>
        /// Sets this <see cref="StatusChannel2"/> instance logically equal to the specified
        /// <paramref name="source"/> instance
        /// </summary>
        /// <param name="source">The source <see cref="StatusChannel2"/> instance to copy.</param>
        public void Copy(StatusChannel2 source)
        {
            if (source == null)
            {
                throw new ArgumentNullException(nameof(source));
            }

            this.PrimaryGNSSReceiverCharacters = source.PrimaryGNSSReceiverCharacters;
            this.PrimaryGNSSReceiverPackets    = source.PrimaryGNSSReceiverPackets;
            this.PrimaryGNSSReceiverCharactersNotUnderstood = source.PrimaryGNSSReceiverCharactersNotUnderstood;
            this.PrimaryGNSSReceiverPacketsNotUsed          = source.PrimaryGNSSReceiverPacketsNotUsed;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new <see cref="StatusChannel2"/> instance that is logically equal to
 /// specifed <paramref name="source"/> instance.
 /// </summary>
 /// <param name="source">The source <see cref="StatusChannel2"/> instance to copy.</param>
 public StatusChannel2(StatusChannel2 source)
 {
     Copy(source);
 }