123456789101112131415161718192021222324252627282930313233 |
- 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;
- }
- }
- }
|