public override bool IsValidDestination(AbstractProcessUnit unit) { // Heat streams can only have reactors as destinations (and of course the // reactor unit has to be accepting incoming streams). // TODO: Check with the chemistry guys to verify this return((unit is Reactor) && unit.CanAcceptIncomingStream(this)); }
public override bool IsValidDestination(AbstractProcessUnit unit) { // As far as I can tell, the chemical streams can accept any type of process // unit as a destination. So the only required check is that the unit is // accepting incoming streams. // TODO: Double check this with the chemistry guys return(unit.CanAcceptIncomingStream(this)); }