package ua.ansymo.hintco

class FeedThroughAdaptedPort extends StoreAdaptedPort {
	
	var AdaptedFMUInstance fmu
	
	var String portId
	
	new(String pId, AdaptedFMUInstance f) {
		fmu = f
		portId = pId
	}
	
	override computeReal(double t, double dt, double h, double H) {
		fmu.setInnerReal(portId, storedVal)
	}
	
}