public void Process(ReBlowingEvent _event)
 {
     try
     {
         this._Module._Heat.ReBlowingHistory.Add( _event);
     }
     catch { }
 }
        private bool DoReBlowingEvent(int iIdxInPointLi)
        {
            bool bErg = false;

             try {
            ReBlowingEvent evReBlowing = new ReBlowingEvent();
            evReBlowing.iCnvNr = pointLi[iIdxInPointLi].iCnvNr;
            j = findPoint("O2VOL_TOTAL",pointLi[iIdxInPointLi].iCnvNr);
            if (j >= 0) {
               evReBlowing.O2TotalVol = pointLi[j].iDataValue;
               j = findPoint("REBLOWING",pointLi[iIdxInPointLi].iCnvNr);
               if (j >= 0) {
                  evReBlowing.BlowingFlag = pointLi[j].iDataValue;
                  sLfdEvtMsg = evReBlowing.ToString();
                  mainGate.PushEvent(evReBlowing);
                  AddLogg(evReBlowing.ToString());
                  bErg = true;
                  }
               else {
                  AddLogg("При ReBlowingEvent не найдена точка K" + pointLi[iIdxInPointLi].iCnvNr + " REBLOWING");
                  }
               }
            else {
               AddLogg("При ReBlowingEvent не найдена точка K" + pointLi[iIdxInPointLi].iCnvNr + " O2VOL_TOTAL");
               }
            }
             catch (Exception eXc) {
            sLfdEvtErr = eXc.Message;
            AddLogg("При ReBlowingEvent K" + pointLi[iIdxInPointLi].iCnvNr + " Exception: " + eXc.Message);
            }
             return bErg;
        }
 private bool ProcessEvent(ReBlowingEvent _event)
 {
     // Начало повторной продувки
     // Тоже самое, что и BlowingEvent, только флаг главной продувки установлен в 0
     if (_event.BlowingFlag == 1 && !Repositary.ContainsKey("ReBlowingStartDate"))
     {
         try
         {
             DBWorker.Instance.Insert((int)HeatPassportOperations.BlowingEvent, _event.Time, m_ConverterNumber, HeatNumber, _event.BlowingFlag, _event.O2TotalVol, 0, 0);
             Repositary.Add("ReBlowingStartDate", _event.Time);
         }
         catch { return false; }
     }
     // Конец повторной продувки
     if (_event.BlowingFlag == 0 && Repositary.ContainsKey("ReBlowingStartDate"))
     {
         try
         {
             DBWorker.Instance.Insert((int)HeatPassportOperations.BlowingEvent, _event.Time, m_ConverterNumber, HeatNumber, _event.BlowingFlag, _event.O2TotalVol,
                   (_event.Time - (DateTime)Repositary["ReBlowingStartDate"]).TotalSeconds, 0);
             Repositary.Remove("ReBlowingStartDate");
         }
         catch { return false; }
     }
     return true;
 }