record ThermodynamicState = ExternalMedia.Media.BaseClasses.ExternalTwoPhaseMedium.ThermodynamicState;