From 81c46add6b31e0f347da357feaff7ebbdb6a2c36 Mon Sep 17 00:00:00 2001 From: dogchang70 <dogchang70@7fafa455-2d8e-8247-9248-17d0fe17a33f> Date: Fri, 15 Jan 2016 09:52:09 +0800 Subject: [PATCH] CT-4 網站須可於Windows Server 2012 64位元版本平台使用。 --- CCSTrace/CCS/ProcessEvent.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CCSTrace/CCS/ProcessEvent.cs b/CCSTrace/CCS/ProcessEvent.cs index bf380b7..2f03fdb 100644 --- a/CCSTrace/CCS/ProcessEvent.cs +++ b/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); -- Gitblit v0.0.0-SNAPSHOT