/// <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); }
/// <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); }
/// <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); }
/// <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; }
/// <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; }