using Aitex.Common.Util; using Aitex.Core.RT.DataCollection; using Aitex.Core.RT.Event; using Aitex.Triton160.Common; using Aitex.Triton160.RT; namespace Aitex.RT.Module { class RtDataCollectionCallback : IDataCollectionCallback { public void PostDBFailedEvent() { EV.PostMessage(ModuleName.System.ToString(), EventEnum.DbConnFailed, ModuleNameString.ToCstring(ModuleName.System)); } public string GetSqlUpdateFile() { return PathManager.GetCfgDir() + "SqlUpdate.sql"; } public string GetDataTablePrefix() { return ModuleName.System.ToString(); } public string GetDBName() { return RtInstance.DbName; } } }