Schnittstelle TransportOrderService
- Alle Superschnittstellen:
TCSObjectService
- Alle bekannten Unterschnittstellen:
InternalTransportOrderService
Provides methods concerning
TransportOrder
s and OrderSequence
s.-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungCreates a new order sequence.Creates a new transport order.void
Marks an order sequence as complete by setting its complete flag.void
updateTransportOrderIntendedVehicle
(TCSObjectReference<TransportOrder> orderRef, TCSObjectReference<Vehicle> vehicleRef) Updates a transport order's intended vehicle.Von Schnittstelle geerbte Methoden org.opentcs.components.kernel.services.TCSObjectService
appendObjectHistoryEntry, fetchObject, fetchObject, fetchObjects, fetchObjects, updateObjectProperty
-
Methodendetails
-
createOrderSequence
OrderSequence createOrderSequence(OrderSequenceCreationTO to) throws ObjectUnknownException, ObjectExistsException, KernelRuntimeException Creates a new order sequence. A new order sequence is created with a generated unique ID and all other attributes taken from the given transfer object. A copy of the newly created order sequence is then returned.- Parameter:
to
- Describes the order sequence to be created.- Gibt zurück:
- A copy of the newly created order sequence.
- Löst aus:
ObjectUnknownException
- If any referenced object does not exist.ObjectExistsException
- If an object with the same name already exists in the model.KernelRuntimeException
- In case there is an exception executing this method.
-
createTransportOrder
TransportOrder createTransportOrder(TransportOrderCreationTO to) throws ObjectUnknownException, ObjectExistsException, KernelRuntimeException Creates a new transport order. A new transport order is created with a generated unique ID and all other attributes taken from the given transfer object. This method also implicitly adds the transport order to its wrapping sequence, if any. A copy of the newly created transport order is then returned.- Parameter:
to
- Describes the transport order to be created.- Gibt zurück:
- A copy of the newly created transport order.
- Löst aus:
ObjectUnknownException
- If any referenced object does not exist.ObjectExistsException
- If an object with the same name already exists in the model.KernelRuntimeException
- In case there is an exception executing this method.
-
markOrderSequenceComplete
void markOrderSequenceComplete(TCSObjectReference<OrderSequence> ref) throws ObjectUnknownException, KernelRuntimeException Marks an order sequence as complete by setting its complete flag.- Parameter:
ref
- A reference to the order sequence to be modified.- Löst aus:
ObjectUnknownException
- If the referenced order sequence does not exist.KernelRuntimeException
- In case there is an exception executing this method.
-
updateTransportOrderIntendedVehicle
void updateTransportOrderIntendedVehicle(TCSObjectReference<TransportOrder> orderRef, TCSObjectReference<Vehicle> vehicleRef) throws ObjectUnknownException, IllegalArgumentException Updates a transport order's intended vehicle.- Parameter:
orderRef
- A reference to the transport order to be modified.vehicleRef
- A reference to the vehicle that is intended for the transport order.- Löst aus:
ObjectUnknownException
- If the referenced transport order does not exist or if the vehicle does not exist.IllegalArgumentException
- If the transport order has already being assigned to a vehicle.
-