コード例 #1
0
        /// <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;
        }
コード例 #2
0
 /// <summary>
 ///     Cancel current inspection
 /// </summary>
 public void CancelFeederInspection()
 {
     FdrInspection = null;
 }
コード例 #3
0
 /// <summary>
 ///     Start a feeder inspection
 /// </summary>
 /// <param name="feederName"></param>
 public void StartFeederInspection(string feederName)
 {
     FdrInspection = new FeederInspection(Config, _engine);
     FdrInspection.Start(feederName);
 }