public void Process(BlowingInterruptEvent _event) { try { this._Module._Heat.BlowingInterruptHistory.Add(_event); } catch { } }
private bool DoBlowingInterruptEvent(int iIdxInPointLi) { bool bErg = false; try { BlowingInterruptEvent evBlowingInterrupt = new BlowingInterruptEvent(); evBlowingInterrupt.iCnvNr = pointLi[iIdxInPointLi].iCnvNr; j = findPoint("O2VOL_TOTAL",pointLi[iIdxInPointLi].iCnvNr); if (j >= 0) { evBlowingInterrupt.O2TotalVol = pointLi[j].iDataValue; j = findPoint("BLOWINTERRUPT",pointLi[iIdxInPointLi].iCnvNr); if (j >= 0) { evBlowingInterrupt.BlowingInterruptFlag = pointLi[j].iDataValue; sLfdEvtMsg = evBlowingInterrupt.ToString(); mainGate.PushEvent(evBlowingInterrupt); AddLogg(evBlowingInterrupt.ToString()); bErg = true; } else { AddLogg("При BlowingInterruptEvent не найдена точка K" + pointLi[iIdxInPointLi].iCnvNr + " BLOWINTERRUPT"); } } else { AddLogg("При BlowingInterruptEvent не найдена точка K" + pointLi[iIdxInPointLi].iCnvNr + " O2VOL_TOTAL"); } } catch (Exception eXc) { sLfdEvtErr = eXc.Message; AddLogg("При BlowingInterruptEvent K" + pointLi[iIdxInPointLi].iCnvNr + " Exception: " + eXc.Message); } return bErg; }