Update HighOvenDuctLogic.java

replace comparison between the int "mode" variable and hardcodded int values to use constants instead