However, the closure still threatened about 80 out of 350 jobs at UEES - but the contract has not only safeguarded them, it has led the factory, which stands on the site of the old Riley car works, to introduce a third shift.
Mark Howard, UEES spokesman, said: "It will protect jobs at the plant and give us a platform for continued growth.
The money helped UEES to invest in new machinery needed to make the components.
UEES managing director Carol Burke said: 'This contract is a direct result of a superb team effort by everyone at UEES.
'During this time, UEES has continued to reduce its costs while maintaining a strong focus on high quality levels.