Converted the temperature user function to the auto-generation design.
Authored by: bugman 2012-05-11
Parent: [r16251]
Child: [r16253]