move_component_to performs all component count, material, and mass incrementing for the location provided, and also calculates and increments the transportation counter
move_component_from similarly performs all component count, material and mass decrementing for the location provided. Since we're tracking inbound transportation only (to avoid double-counting), there is no transportation tracker in this method.
This update makes the eol_process considerably shorter and more human-readable.
See issue #121
There are two new
Component
methods:move_component_to
performs all component count, material, and mass incrementing for the location provided, and also calculates and increments the transportation countermove_component_from
similarly performs all component count, material and mass decrementing for the location provided. Since we're tracking inbound transportation only (to avoid double-counting), there is no transportation tracker in this method.This update makes the
eol_process
considerably shorter and more human-readable.