Yes its epoxy resin and I heated the unit to get the components out. Casing is fine and ok to reuse,the components are not. My initial thought was an epoxy covering,unfortunately the Whole system is filled. The wires,switch contact and HT screw go in,then the components are fitted and soldered,then the whole unit is flooded with resin.
I can see no way possible for failure due to moisture as initially thought. Instead id be more inclined to say it was due to possible overheating.

anyways im gonna give it a go....Not a job id recomend as far as redoing the original,but ill try anything. I think the manufacture of a new unit by restorers may be a better proposition and could be integrated into the system neatly....