public static string ToOSM(this BHM.Gas gasType) { switch (gasType) { case BHM.Gas.Air: return("Air"); case BHM.Gas.Argon: return("Argon"); case BHM.Gas.Krypton: return("Krypton"); case BHM.Gas.Xenon: return("Xenon"); default: return("Air"); } }
public static GasType ToEnergyPlus(this BHM.Gas gasType) { switch (gasType) { case BHM.Gas.Air: return(GasType.Air); case BHM.Gas.Argon: return(GasType.Argon); case BHM.Gas.Krypton: return(GasType.Krypton); case BHM.Gas.Xenon: return(GasType.Xenon); case BHM.Gas.Undefined: return(GasType.Air); default: return(GasType.Air); } }