Design of Monitoring Detection System of Generator