setFillColor(computeColorOnPercentage(myConsumer.getPowerConsumerDefinition().getAveragePercentageFull()));
float percentage = myConsumer.getPowerConsumerDefinition().getAveragePercentageFull(); myLogger.debug("percentage is " + percentage); setFillColor(computeColorOnPercentage(percentage));
	public void refresh() {		GenericPowerConsumerNode consumingNode = (GenericPowerConsumerNode)getOwner();		GenericPowerConsumer myConsumer = (GenericPowerConsumer)consumingNode.getSimBioModule();		setFillColor(computeColorOnPercentage(myConsumer.getPowerConsumerDefinition().getAveragePercentageFull()));	}