﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="SWATHDataSet" targetNamespace="http://tempuri.org/SWATHDataSet.xsd" xmlns:mstns="http://tempuri.org/SWATHDataSet.xsd" xmlns="http://tempuri.org/SWATHDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="SWATHConnectionString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="SWATHConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Coachoid.Properties.Settings.GlobalReference.Default.SWATHConnectionString" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="test1TableAdapter" GeneratorDataComponentClassName="test1TableAdapter" Name="test1" UserDataComponentName="test1TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SWATHConnectionString (Settings)" DbObjectName="dbo.test1" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [dbo].[test1] ([lattitude], [longitude], [heading], [desired_heading], [mot1_current], [mot2_current], [speed]) VALUES (@lattitude, @longitude, @heading, @desired_heading, @mot1_current, @mot2_current, @speed)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@lattitude" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="lattitude" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@longitude" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="longitude" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@heading" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="heading" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@desired_heading" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="desired_heading" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@mot1_current" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="mot1_current" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@mot2_current" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="mot2_current" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@speed" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="speed" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT time, lattitude, longitude, heading, desired_heading, mot1_current, mot2_current, speed FROM dbo.test1</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="time" DataSetColumn="time" />
              <Mapping SourceColumn="lattitude" DataSetColumn="lattitude" />
              <Mapping SourceColumn="longitude" DataSetColumn="longitude" />
              <Mapping SourceColumn="heading" DataSetColumn="heading" />
              <Mapping SourceColumn="desired_heading" DataSetColumn="desired_heading" />
              <Mapping SourceColumn="mot1_current" DataSetColumn="mot1_current" />
              <Mapping SourceColumn="mot2_current" DataSetColumn="mot2_current" />
              <Mapping SourceColumn="speed" DataSetColumn="speed" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="SWATHDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="SWATHDataSet" msprop:Generator_DataSetName="SWATHDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="test1" msprop:Generator_UserTableName="test1" msprop:Generator_RowDeletedName="test1RowDeleted" msprop:Generator_TableClassName="test1DataTable" msprop:Generator_RowChangedName="test1RowChanged" msprop:Generator_RowClassName="test1Row" msprop:Generator_RowChangingName="test1RowChanging" msprop:Generator_RowEvArgName="test1RowChangeEvent" msprop:Generator_RowEvHandlerName="test1RowChangeEventHandler" msprop:Generator_TablePropName="test1" msprop:Generator_TableVarName="tabletest1" msprop:Generator_RowDeletingName="test1RowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="time" msdata:ReadOnly="true" msprop:Generator_UserColumnName="time" msprop:Generator_ColumnPropNameInRow="time" msprop:Generator_ColumnVarNameInTable="columntime" msprop:Generator_ColumnPropNameInTable="timeColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="lattitude" msprop:Generator_UserColumnName="lattitude" msprop:Generator_ColumnPropNameInRow="lattitude" msprop:Generator_ColumnVarNameInTable="columnlattitude" msprop:Generator_ColumnPropNameInTable="lattitudeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="longitude" msprop:Generator_UserColumnName="longitude" msprop:Generator_ColumnPropNameInRow="longitude" msprop:Generator_ColumnVarNameInTable="columnlongitude" msprop:Generator_ColumnPropNameInTable="longitudeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="heading" msprop:Generator_UserColumnName="heading" msprop:Generator_ColumnPropNameInRow="heading" msprop:Generator_ColumnVarNameInTable="columnheading" msprop:Generator_ColumnPropNameInTable="headingColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="desired_heading" msprop:Generator_UserColumnName="desired_heading" msprop:Generator_ColumnPropNameInRow="desired_heading" msprop:Generator_ColumnVarNameInTable="columndesired_heading" msprop:Generator_ColumnPropNameInTable="desired_headingColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mot1_current" msprop:Generator_UserColumnName="mot1_current" msprop:Generator_ColumnPropNameInRow="mot1_current" msprop:Generator_ColumnVarNameInTable="columnmot1_current" msprop:Generator_ColumnPropNameInTable="mot1_currentColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mot2_current" msprop:Generator_UserColumnName="mot2_current" msprop:Generator_ColumnPropNameInRow="mot2_current" msprop:Generator_ColumnVarNameInTable="columnmot2_current" msprop:Generator_ColumnPropNameInTable="mot2_currentColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="speed" msprop:Generator_UserColumnName="speed" msprop:Generator_ColumnPropNameInRow="speed" msprop:Generator_ColumnVarNameInTable="columnspeed" msprop:Generator_ColumnPropNameInTable="speedColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>