public void Process(SlagOutburstEvent _event)
 {
     try
     {
         this._Module._Heat.SlagOutburstHistory.Add(_event);
     }
     catch { }
 }
 private bool InsertOrUpdateTrends(SlagOutburstEvent evt)
 {
     var sql = CheckInsert("TREND_MODES", evt.iCnvNr, evt.Time)
                   ? "UPDATE TREND_MODES " +
                     "SET SLAGOUT = :SLAGOUT " +
                     "WHERE CNV_NO = :CNV_NO AND INSERTTIME = :INSERTTIME "
                   : "INSERT INTO TREND_MODES(SLAGOUT, CNV_NO, INSERTTIME) " +
                     "VALUES (:SLAGOUT, :CNV_NO, :INSERTTIME) ";
     var parametres = new List<OracleParameter> { SetParams("SLAGOUT", evt.Counter) };
     parametres.AddRange(MandatoryParams(evt.iCnvNr, evt.Time));
     return ExecuteNonQuery(sql, parametres);
 }