dogchang70
2016-01-15 81c46add6b31e0f347da357feaff7ebbdb6a2c36
CCSTrace/CCS/ProcessEvent.cs
@@ -24,11 +24,13 @@
        private RecordLog _PLog;
        private OracleConnection _ConnectionTPC;
        private OracleTransaction _Trx;
        private String _traceConnectionString = String.Empty;
        public ProcessEvent(Object.CCSRecord _Record,OracleConnection _Conn)
        public ProcessEvent(Object.CCSRecord _Record, OracleConnection _Conn, String _traceConnection)
        {
            m_CCSRecord = _Record;
            _ConnectionTPC = _Conn;
            _traceConnectionString = _traceConnection;
            _PLog = new RecordLog(CCS.LocalVariable.CCS_ListPath + _Record.getCCSID() + ".txt");
        }
@@ -72,7 +74,7 @@
*/
                if (this.initialEventRecord(m_CCSRecord.getCCSID()))
                {
                    CCS.Function.Leach m_Leach = new CCS.Function.Leach(_ConnectionTPC, _Trx, _PLog); // 案件過濾與合併
                    CCS.Function.Leach m_Leach = new CCS.Function.Leach(_ConnectionTPC, _Trx, _traceConnectionString, _PLog); // 案件過濾與合併
                    _PLog.Info("過濾案件...");
                    int Return_Status = m_Leach.LeachCase(m_EventRecord);