Code updated to make machine fully compatible with Tubelib2 framework.
Major changes:
* supports Tubelib2 by using NodeStates class and new metadata
* BLOCKED state introduced when no space left in output tray
* set to FAULT when Biogas tank is empty
* on_punch diagnostics removed
* processing logic updated (fuel and ice checks reorganized,
desired_state metadata introduced, improved state transition logic)
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Standby/resume logic fixed when one of working trays is empty
while machine is power-cycled.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Compactor machine compresses material using Biogas as fuel
and Ice cubes as coolant. Recipes are added using public
API function.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>