Bayesian Networks in Fault Diagnosis:Practice and Application