Class SpedionFlowService
Service for flow related functions in the spedion telematic interface
Inheritance
System.Object
SpedionFlowService
Implements
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 SpedionFlowService : ITelematicFlowService
Constructors
| Improve this Doc View SourceSpedionFlowService(IVehicleService, ISqlService, IConfigurationService)
initializes a new instance of spedion flow service
Declaration
public SpedionFlowService(IVehicleService vehicleService, ISqlService sqlService, IConfigurationService configurationService)
Parameters
Type | Name | Description |
---|---|---|
IVehicleService | vehicleService | |
ISqlService | sqlService | |
IConfigurationService | configurationService |
Methods
| Improve this Doc View SourceDownloadAttachment(String)
Gets an attachment based on the url
Declaration
public byte[] DownloadAttachment(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | The url where the attachment is stored |
Returns
Type | Description |
---|---|
System.Byte[] | Return the attachment as byte array |
GetAttachment(TelematicInQueueItem)
Gets all URL based attachments from a message
Declaration
public IEnumerable<byte[]> GetAttachment(TelematicInQueueItem inQueueItem)
Parameters
Type | Name | Description |
---|---|---|
TelematicInQueueItem | inQueueItem | A TelematicInQueueItem |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Byte[]> |
GetTourNumberByMessage(TelematicInQueueItem)
Gets the tournumber from a Message
Declaration
public string GetTourNumberByMessage(TelematicInQueueItem inQueueItem)
Parameters
Type | Name | Description |
---|---|---|
TelematicInQueueItem | inQueueItem | A SpedionInQueueItem |
Returns
Type | Description |
---|---|
System.String | eturns a tournumber |
ReadFmsData(TelematicInQueueItem)
Reads the fleet management system data
Declaration
public TelematicFmsData ReadFmsData(TelematicInQueueItem inQueueItem)
Parameters
Type | Name | Description |
---|---|---|
TelematicInQueueItem | inQueueItem |
Returns
Type | Description |
---|---|
TelematicFmsData |