/// <summary> /// End current inspection /// </summary> /// <param name="isHot"></param> /// <param name="fdrComments"></param> /// <param name="inspector"></param> /// <param name="bTimeLimited"></param> public void EndFeederInspection(bool isHot, string fdrComments, string inspector, bool bTimeLimited) { FdrInspection.Stop(isHot, fdrComments, inspector, bTimeLimited); var report = FdrInspection.CreateReport(); FdrInspection.SaveReport(report); FdrInspection.EmailReport(report); FdrInspection = null; }
/// <summary> /// Cancel current inspection /// </summary> public void CancelFeederInspection() { FdrInspection = null; }
/// <summary> /// Start a feeder inspection /// </summary> /// <param name="feederName"></param> public void StartFeederInspection(string feederName) { FdrInspection = new FeederInspection(Config, _engine); FdrInspection.Start(feederName); }