setSpokeAlive(spokeLocation, true);
event = new Event(Event.Type.HEARTBEAT, Event.Light.GREEN, spokeLocation);
}
else if (status instanceof InventoryStatus)
{
InventoryStatus is = (InventoryStatus)status;
String spokeLocation = is.getSpokeLocation();
String partName = is.getPartName();
String identifier = spokeLocation + ":" + partName;
int adjustment = is.getAdjustment();
synchronized (inventory_DB)
{
int oldCount = getSpokePartCount(spokeLocation, partName);
int newCount = oldCount + adjustment;
if (newCount > -1)