Skip to content

Inquiry on Retrieving Transport Order Status and Allocated Resources Changes in Custom OpenTCS Adapter #129

Answered by swltr
BenYaho asked this question in Q&A

You must be logged in to vote

@BenYaho openTCS 5.7 is relatively old, and changes related to your question have been made in the meantime. I recommend updating to 5.12.

About checking whether a transport order is still active: What would you need that for? If the transport order had been withdrawn, the vehicle driver wouldn't receive any further movement commands. So, as long as you receive movement commands, the transport order has not been withdrawn. It might help to understand your use case better here.

As for monitoring changes of allocated resources: Allocated resources are reflected in the Vehicle object, and you could use TCSObjectEvents to be notified of changes. (Not in 5.7, though.)

Replies: 1 comment

You must be logged in to vote
0 replies
Answer selected by BenYaho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants