Example #1
0
        /// <summary>
        /// Post Find Gps Config and return the response port.
        /// </summary>
        public virtual PortSet <MicrosoftGpsConfig, Fault> FindGpsConfig(MicrosoftGpsConfig body)
        {
            FindGpsConfig op = new FindGpsConfig();

            op.Body = body ?? new MicrosoftGpsConfig();
            this.Post(op);
            return(op.ResponsePort);
        }
Example #2
0
        /// <summary>
        /// Post Configure and return the response port.
        /// </summary>
        public virtual PortSet <DefaultUpdateResponseType, Fault> Configure(MicrosoftGpsConfig body)
        {
            Configure op = new Configure();

            op.Body = body ?? new MicrosoftGpsConfig();
            this.Post(op);
            return(op.ResponsePort);
        }
Example #3
0
        /// <summary>
        /// Clone MicrosoftGpsConfig
        /// </summary>
        /// <returns></returns>
        public object Clone()
        {
            MicrosoftGpsConfig config = new MicrosoftGpsConfig();

            config.BaudRate       = this.BaudRate;
            config.CaptureHistory = this.CaptureHistory;
            config.CaptureNmea    = this.CaptureNmea;
            config.RetrackNmea    = this.RetrackNmea;
            config.CommPort       = this.CommPort;
            config.PortName       = this.PortName;
            return(config);
        }
Example #4
0
 /// <summary>
 /// Default GpsConnection constructor
 /// </summary>
 /// <param name="config"></param>
 /// <param name="gpsDataPort"></param>
 public GpsConnection(MicrosoftGpsConfig config, GpsDataPort gpsDataPort)
 {
     this._config      = config;
     this._gpsDataPort = gpsDataPort;
 }
Example #5
0
 /// <summary>
 /// Initialization Constructor
 /// </summary>
 /// <param name="config"></param>
 public Configure(MicrosoftGpsConfig config)
 {
     this.Body = config;
 }
        /// <summary>
        /// Clone MicrosoftGpsConfig
        /// </summary>
        /// <returns></returns>
        public object Clone()
        {

            MicrosoftGpsConfig config = new MicrosoftGpsConfig();
            config.BaudRate = this.BaudRate;
            config.CaptureHistory = this.CaptureHistory;
            config.CaptureNmea = this.CaptureNmea;
            config.RetrackNmea = this.RetrackNmea;
            config.CommPort = this.CommPort;
            config.PortName = this.PortName;
            return config;
        }