Class TransportManagementServiceFacade
Facade for the Transport Management service (see http://webservices.fleetboard.com/services2/transportmanagementservice)
Inheritance
System.Object
TransportManagementServiceFacade
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.FleetBoard
Assembly: Simplic.Telematic.FleetBoard.dll
Syntax
public class TransportManagementServiceFacade : IPropertyConsumer
Constructors
| Improve this Doc View SourceTransportManagementServiceFacade(String)
Declaration
public TransportManagementServiceFacade(string webserviceUrl)
Parameters
Type | Name | Description |
---|---|---|
System.String | webserviceUrl |
Methods
| Improve this Doc View SourceApplyServerProperties(IEnumerable<PropertyType>)
Declaration
public void ApplyServerProperties(IEnumerable<PropertyType> properties)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<PropertyType> | properties |
CreateTmObject(Int64, Int64, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, IEnumerable<KeyValuePair<Int64, String>>)
Creates a new TM object.
Declaration
public TMObject CreateTmObject(long structureId, long objectTypeId, long? rootId = null, long? parentId = null, long? previousId = null, long? vehicleId = null, IEnumerable<KeyValuePair<long, string>> fields = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | structureId | The id of the structure |
System.Int64 | objectTypeId | The id of the object type |
System.Nullable<System.Int64> | rootId | The root id of the tree |
System.Nullable<System.Int64> | parentId | The parent id in the tree |
System.Nullable<System.Int64> | previousId | The previous id in the tree |
System.Nullable<System.Int64> | vehicleId | The vehicle id |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Int64, System.String>> | fields | The fields |
Returns
Type | Description |
---|---|
TMObject | A TM object |
GetTmObject(Int64)
Gets a single TM object for the given id.
Declaration
public TMObject GetTmObject(long id)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | id | The id |
Returns
Type | Description |
---|---|
TMObject | The TM object |
GetTmObjects()
Declaration
public IEnumerable<TMObject> GetTmObjects()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TMObject> |
GetTmObjects(statesearchType, DateTime, DateTime, Int64)
Gets a list of TM objects.
Declaration
public IEnumerable<TMObject> GetTmObjects(statesearchType modificationState, DateTime modificationDateStart, DateTime modificationDateEnd, long semanticId)
Parameters
Type | Name | Description |
---|---|---|
statesearchType | modificationState | The modification state. |
System.DateTime | modificationDateStart | The beginning date. |
System.DateTime | modificationDateEnd | The ending date. |
System.Int64 | semanticId | The semantic id. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TMObject> | The list of TM objects. |
SendTmObject(Int64, Nullable<Int64>)
Sends a TM object to a vehicle.
Declaration
public long[] SendTmObject(long tmObjectId, long? vehicleId = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | tmObjectId | The TM object id |
System.Nullable<System.Int64> | vehicleId | The vehicle id |
Returns
Type | Description |
---|---|
System.Int64[] | The list of sent object ids |
UpdateTmObject(Int64, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, IEnumerable<KeyValuePair<Int64, String>>)
Updates a TM object.
Declaration
public TMObject UpdateTmObject(long id, long? updatedRootId = null, long? updatedParentId = null, long? updatedPreviousId = null, long? updatedVehicleId = null, long? updatedStructureId = null, IEnumerable<KeyValuePair<long, string>> updatedFields = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | id | The id of the TM object |
System.Nullable<System.Int64> | updatedRootId | The new root id |
System.Nullable<System.Int64> | updatedParentId | The new parent id |
System.Nullable<System.Int64> | updatedPreviousId | The new previous id |
System.Nullable<System.Int64> | updatedVehicleId | The new vehicle id |
System.Nullable<System.Int64> | updatedStructureId | The new structure id |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Int64, System.String>> | updatedFields | The new field values |
Returns
Type | Description |
---|---|
TMObject | The updated TM object |