Interface ITelematicSystemReadable
Interface to make a telematic system read incoming Messages
Inherited Members
Namespace: Simplic.Telematic.Core
Assembly: Simplic.Telematic.Core.dll
Syntax
public interface ITelematicSystemReadable : ITelematicSystem
Methods
| Improve this Doc View SourceGetDriverInformation(TelematicInQueueItem)
Gets driver related information from a telematic in queue item.
Declaration
DriverInformation GetDriverInformation(TelematicInQueueItem telematicInQueueItem)
Parameters
Type | Name | Description |
---|---|---|
TelematicInQueueItem | telematicInQueueItem |
Returns
Type | Description |
---|---|
DriverInformation |
ProcessInQueueItem(TelematicInQueueItem)
Handels a already received message as a new received message to recall all events and other updates used e.g if no vehicle or driver was found or a flow needs to run again
Declaration
TelematicInQueueItem ProcessInQueueItem(TelematicInQueueItem telematicInQueueItem)
Parameters
Type | Name | Description |
---|---|---|
TelematicInQueueItem | telematicInQueueItem |
Returns
Type | Description |
---|---|
TelematicInQueueItem |
ReadAll()
Reads all unread messages from the telematic service
Declaration
IEnumerable<TelematicInQueueItem> ReadAll()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TelematicInQueueItem> | Returns a list of all unread messages |
SetHandledItem(IList<TelematicInQueueItem>)
Sends the telematics system that the item is read/handled
Declaration
bool SetHandledItem(IList<TelematicInQueueItem> items)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<TelematicInQueueItem> | items | The item that is handled |
Returns
Type | Description |
---|---|
System.Boolean | Returns whether the item was set to handled correctly |
SetShipmentActualTimes(TelematicInQueueItem)
Sets the shipment is times
Declaration
bool SetShipmentActualTimes(TelematicInQueueItem telematicInQueueItem)
Parameters
Type | Name | Description |
---|---|---|
TelematicInQueueItem | telematicInQueueItem |
Returns
Type | Description |
---|---|
System.Boolean |