public void Process(TorkretingEvent _event) { try { this._Module._Heat.TorkretingHistory.Add( _event); } catch { } }
private bool DoTorkretingEvent(int iIdxInPointLi) { bool bErg = false; try { TorkretingEvent evTorkreting = new TorkretingEvent(); evTorkreting.iCnvNr = pointLi[iIdxInPointLi].iCnvNr; j = findPoint("O2VOLTORK",pointLi[iIdxInPointLi].iCnvNr); if (j >= 0) { evTorkreting.O2TorkVol = pointLi[j].iDataValue; j = findPoint("SKULLCUTTING",pointLi[iIdxInPointLi].iCnvNr); if (j >= 0) { evTorkreting.TorkretingFlag = pointLi[j].iDataValue; sLfdEvtMsg = evTorkreting.ToString(); mainGate.PushEvent(evTorkreting); AddLogg(evTorkreting.ToString()); bErg = true; } else { AddLogg("При TorkretingEvent не найдена точка K" + pointLi[iIdxInPointLi].iCnvNr + " SKULLCUTTING"); } } else { AddLogg("При TorkretingEvent не найдена точка K" + pointLi[iIdxInPointLi].iCnvNr + " O2VOLTORK"); } } catch (Exception eXc) { sLfdEvtErr = eXc.Message; AddLogg("При TorkretingEvent K" + pointLi[iIdxInPointLi].iCnvNr + " Exception: " + eXc.Message); } return bErg; }