Search Results for

    Show / Hide Table of Contents

    Interface IVehicleRepository

    Namespace: Simplic.Logistics.Vehicle
    Assembly: Simplic.Logistics.Vehicle.dll
    Syntax
    public interface IVehicleRepository

    Methods

    | Improve this Doc View Source

    GetDefaultDriver(Guid)

    Gets the default driver

    Declaration
    Guid? GetDefaultDriver(Guid vehicleId)
    Parameters
    Type Name Description
    System.Guid vehicleId
    Returns
    Type Description
    System.Nullable<System.Guid>
    | Improve this Doc View Source

    GetDefaultTrailer(Guid)

    Gets the default trailer

    Declaration
    Guid? GetDefaultTrailer(Guid vehicleId)
    Parameters
    Type Name Description
    System.Guid vehicleId
    Returns
    Type Description
    System.Nullable<System.Guid>
    | Improve this Doc View Source

    GetFleetAge(Guid)

    Gets the average fleet age of the selected vehicle type in years

    Declaration
    double GetFleetAge(Guid vehicleTypeId)
    Parameters
    Type Name Description
    System.Guid vehicleTypeId
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    GetPhoneNumber(Guid)

    Gets the phonenumber that is connected with the vehicle

    Declaration
    string GetPhoneNumber(Guid vehicleId)
    Parameters
    Type Name Description
    System.Guid vehicleId

    Vehicle id

    Returns
    Type Description
    System.String

    Phone number if exists

    | Improve this Doc View Source

    GetTelematicIdentifier(Guid, Guid, DateTime)

    Gets the telematic identifier of the given vehicle from the given telematic system id at the given date

    Declaration
    string GetTelematicIdentifier(Guid vehicleId, Guid telematicSystemId, DateTime date)
    Parameters
    Type Name Description
    System.Guid vehicleId

    The vehicle Guid

    System.Guid telematicSystemId

    The telematic system Guid

    System.DateTime date

    The validation date

    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetVehicleAge(Guid)

    Gets the age of the selected vehicle in years

    Declaration
    double GetVehicleAge(Guid vehicleId)
    Parameters
    Type Name Description
    System.Guid vehicleId
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    GetVehicleFuelTankCapacity(Guid)

    Gets the fuel tank capacity of a vehicle.

    Declaration
    int GetVehicleFuelTankCapacity(Guid vehicleId)
    Parameters
    Type Name Description
    System.Guid vehicleId

    Guid of the vehicle we want to get access.

    Returns
    Type Description
    System.Int32

    Fuel tank capacity of the vahicle.

    | Improve this Doc View Source

    GetVehicleIdByTelematicIdentifier(String, Guid)

    Gets the Vehicle by uts telematic identifier

    Declaration
    Guid GetVehicleIdByTelematicIdentifier(string telematicIdentifier, Guid systemId)
    Parameters
    Type Name Description
    System.String telematicIdentifier

    The telematic identifier

    System.Guid systemId

    The telematic system

    Returns
    Type Description
    System.Guid

    Returns a Guid

    | Improve this Doc View Source

    GetVehicleIdByTelematicIdentifier(String, Guid, DateTime)

    Gets the Vehicle by uts telematic identifier

    Declaration
    Guid GetVehicleIdByTelematicIdentifier(string telematicIdentifier, Guid systemId, DateTime date)
    Parameters
    Type Name Description
    System.String telematicIdentifier

    The telematic identifier

    System.Guid systemId

    The telematic system

    System.DateTime date

    The validation date

    Returns
    Type Description
    System.Guid

    Returns a Guid

    | Improve this Doc View Source

    GetVehicleInformation(Guid, DateTime)

    Gets vehicle information

    Declaration
    VehicleBaseInformation GetVehicleInformation(Guid vehicleId, DateTime currentDate)
    Parameters
    Type Name Description
    System.Guid vehicleId

    the vehicle Id

    System.DateTime currentDate

    the current DateTime

    Returns
    Type Description
    VehicleBaseInformation
    | Improve this Doc View Source

    SetVehicleLocation(Guid, String)

    Declaration
    Task SetVehicleLocation(Guid vehicleId, string location)
    Parameters
    Type Name Description
    System.Guid vehicleId
    System.String location
    Returns
    Type Description
    System.Threading.Tasks.Task
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx