A vaccine injection will completely prevent your pigs from illness.
Air conditioning will lower the percentages of an illness (it will not completely prevent it)
When injecting a vaccine, make sure to drag your pig further apart from other ones.
(if non-vaccinated pigs are nearby, there's a possibility that your injection will be done to one of them.)
You will need to change the air conditioning if it breaks down.