Search Results for

    Show / Hide Table of Contents

    Class SpedionTelematicSystem

    A class for sending Spedion telematic

    Inheritance
    System.Object
    SpedionTelematicSystem
    Implements
    ITelematicSystemReadable
    ITelematicSystem
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Telematic.Spedion
    Assembly: Simplic.Telematic.Spedion.dll
    Syntax
    public class SpedionTelematicSystem : ITelematicSystemReadable, ITelematicSystem

    Constructors

    | Improve this Doc View Source

    SpedionTelematicSystem(IConfigurationService, IVehicleService, ITelematicDriverService, IShipmentService)

    Initializes a new insatnce of SpedionTelematicSystem

    Declaration
    public SpedionTelematicSystem(IConfigurationService configurationService, IVehicleService vehicleService, ITelematicDriverService telematicDriverService, IShipmentService shipmentService)
    Parameters
    Type Name Description
    IConfigurationService configurationService
    IVehicleService vehicleService
    ITelematicDriverService telematicDriverService
    IShipmentService shipmentService

    Properties

    | Improve this Doc View Source

    Name

    Gets the Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Execute(Object, String)

    Send telematic request to a Spedion telematic system

    Declaration
    public bool Execute(object configuration, string functionName)
    Parameters
    Type Name Description
    System.Object configuration

    A request configuration of type SpedionRequestConfiguration

    System.String functionName

    not used here

    Returns
    Type Description
    System.Boolean

    Returns wherther the request was send correctly or not

    | Improve this Doc View Source

    GetDriver()

    Gets an Array of all registered DriverIds

    Declaration
    public DriverExternal[] GetDriver()
    Returns
    Type Description
    DriverExternal[]
    | Improve this Doc View Source

    GetDriverInformation(TelematicInQueueItem)

    Gets driver related information from a telematic in queue item.

    Declaration
    public DriverInformation GetDriverInformation(TelematicInQueueItem telematicInQueueItem)
    Parameters
    Type Name Description
    TelematicInQueueItem telematicInQueueItem
    Returns
    Type Description
    DriverInformation
    | Improve this Doc View Source

    GetDtcoData(DriverExternal[], Nullable<DateTime>)

    Gets an Array of all DriveAndRestTimes since the last update

    Declaration
    public List<DtcoReport> GetDtcoData(DriverExternal[] drivers, DateTime? lastUpdate = null)
    Parameters
    Type Name Description
    DriverExternal[] drivers
    System.Nullable<System.DateTime> lastUpdate

    A Datetime since the last call for the DriverIds(optional)

    Returns
    Type Description
    System.Collections.Generic.List<DtcoReport>
    | Improve this Doc View Source

    GetNewConfiguration()

    Gets a new instance of type SpedionRequestConfiguration

    Declaration
    public ITelematicRequestConfiguration GetNewConfiguration()
    Returns
    Type Description
    ITelematicRequestConfiguration
    | Improve this Doc View Source

    ProcessInQueueItem(TelematicInQueueItem)

    Creates a new spedion in queue item from the given message with the possibility to give a specific guid

    Declaration
    public TelematicInQueueItem ProcessInQueueItem(TelematicInQueueItem inQueueItem)
    Parameters
    Type Name Description
    TelematicInQueueItem inQueueItem
    Returns
    Type Description
    TelematicInQueueItem
    | Improve this Doc View Source

    ReadAll()

    Reqeusts the Spedion server and gets all unread messages

    Declaration
    public IEnumerable<TelematicInQueueItem> ReadAll()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<TelematicInQueueItem>

    Returns an enumerable of all unread messages as

    | Improve this Doc View Source

    SetHandledItem(IList<TelematicInQueueItem>)

    Sends the server that the Message is read

    Declaration
    public bool SetHandledItem(IList<TelematicInQueueItem> items)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<TelematicInQueueItem> items
    Returns
    Type Description
    System.Boolean

    Return whether the status message is send correctly

    | Improve this Doc View Source

    SetShipmentActualTimes(TelematicInQueueItem)

    Sets the actual shipmetn times

    Declaration
    public bool SetShipmentActualTimes(TelematicInQueueItem telematicInQueueItem)
    Parameters
    Type Name Description
    TelematicInQueueItem telematicInQueueItem
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ValidateVehicle(Nullable<Guid>, TelematicFunction)

    Validate the current vehicle and it's connected information that are required

    Declaration
    public TelematicSystemValidation ValidateVehicle(Guid? id, TelematicFunction function)
    Parameters
    Type Name Description
    System.Nullable<System.Guid> id

    Vehicle id

    TelematicFunction function

    Function to execute

    Returns
    Type Description
    TelematicSystemValidation

    Validation result

    Implements

    ITelematicSystemReadable
    ITelematicSystem
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx