Text this: Software Defensive Design and Implementation of Diesel Locomotive AC Auxiliary Control System