aggregator-manager/src/test/java/org/arrowhead/wp5/agg/junit/UtilsFoDummies.java
public static void FlexOffer_SetDim2(FlexOffer f, double value)
	{
		if (f.getTotalEnergyConstraint() == null)
			f.setTotalEnergyConstraint(new FlexOfferConstraint(0,0));
		
		f.getTotalEnergyConstraint().setUpper(value);
	}
// Used in testing to set dim 2
Used in testing to set dim 2
Used in testing to set dim 2
public static void FlexOffer_SetDim2(FlexOffer f, double value)
	{
		if (f.getTotalEnergyConstraint() == null)
			f.setTotalEnergyConstraint(new FlexOfferConstraint(0,0));
		f.getTotalEnergyConstraint().setUpper(value);
	}
public static void FlexOffer_SetDim2 ( FlexOffer f , double value ) { if ( f . getTotalEnergyConstraint ( ) == null ) f . setTotalEnergyConstraint ( new FlexOfferConstraint ( 0 , 0 ) ) ; f . getTotalEnergyConstraint ( ) . setUpper ( value ) ; }
Used in testing to set dim 2
Used in testing to set dim 2