Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

adding load

Hello, what is the best way to add same amount of load to all the buses in the system simultaneously? I am planning to use abusint api to extract all the bus number first and then use a loop. But in the loop I will have to set the id of the load. For example some buses have already 2 loads, then the new id will be 3. But if some buses have 3 loads, new id will be 4. So how to do it in a generalized way avoiding this conflict?