unit GPSforWindows_Types;

interface

type
  TSensorInformation = record
    Description       : shortString;
    Manufacturer      : shortString;
    Model             : shortString;
    SerialNo          : shortString;
    State             : shortString;
    TimeStamp         : shortString;
    UniqueID          : shortString;
    Category          : shortString;
    found             : boolean;
  end;
  TPSensorInformation     = ^TSensorInformation;
  TSensorInformationArray = array of TSensorInformation;

type
  TLocationInformation = record
    SensorType        : shortString;
    Authorized        : shortString;
    Accuracy          : extended;
    Distance          : extended;
    PowerConsumption  : shortString;
    LocationChange    : shortString;
    Latitude          : extended;
    Longitude         : extended;
    Altitude          : extended;
    ErrorRadius       : extended;
    Speed             : extended;
    TrueHeading       : extended;
    MagneticHeading   : extended;
    Address1          : shortString;
    Address2          : shortString;
    City              : shortString;
    StateProvince     : shortString;
    PostalCode        : shortString;
    CountryRegion     : shortString;
    Category          : shortString;
    found             : boolean;
  end;

type
  TLightInformation = record
    SensorType        : shortString;
    Lux               : extended;
    Temperature       : extended;
    Chromacity        : extended;
    Category          : shortString;
    found             : boolean;
  end;

type
  TOrientationInformation = record
    SensorType        : shortString;
    TiltX             : extended;
    TiltY             : extended;
    TiltZ             : extended;
    DistanceX         : extended;
    DistanceY         : extended;
    DistanceZ         : extended;
    HeadingX          : extended;
    HeadingY          : extended;
    HeadingZ          : extended;
    MagHeading        : extended;
    TrueHeading       : extended;
    CompMagHeading    : extended;
    CompTrueHeading   : extended;
    Category          : shortString;
    found             : boolean;
  end;

type
  TEnvironmentalInformation = record
    SensorType        : shortString;
    Temperature       : extended;
    Pressure          : extended;
    Humidity          : extended;
    WindDirection     : extended;
    WindSpeed         : extended;
    found             : boolean;
  end;

type
  TMotionInformation = record
    SensorType        : shortString;
    AccelerationX     : extended;
    AccelerationY     : extended;
    AccelerationZ     : extended;
    AngleAccelX       : extended;
    AngleAccelY       : extended;
    AngleAccelZ       : extended;
    Motion            : extended;
    Speed             : extended;
    UpdateInterval    : extended;
    found             : boolean;
  end;

type
  TMechanicalInformation = record
    SensorType        : shortString;
    SwitchState       : boolean;
    SwitchArrayState  : longint;
    MultiValueState   : extended;
    Force             : extended;
    AbsPressure       : extended;
    GaugePressure     : extended;
    Strain            : extended;
    Weight            : extended;
    found             : boolean;
  end;

type
  TElectricalInformation = record
    SensorType        : shortString;
    Capacitance       : extended;
    Resistance        : extended;
    Inductance        : extended;
    Current           : extended;
    Voltage           : extended;
    Power             : extended;
    found             : boolean;
  end;

type
  TBiometricInformation = record
    SensorType        : shortString;
    HumanProximity    : extended;
    HumanPresense     : boolean;
    Touch             : boolean;
    found             : boolean;
  end;

type
  TScannerInformation = record
    SensorType        : shortString;
    RFIDTag           : longint;
    BarcodeData       : shortString;
    found             : boolean;
  end;

implementation

end.
