How do I charge maintenance labor costs to equipment?

We have recently added a mechanic to our payroll and I would like to charge his time to the piece of equipment he is maintaining, for accurate equipment maintenance costs.  Is there a way to code his time to equipment for processing?