DefaultDataCollectionCallback.cs 618 B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Aitex.Common.Util;
  6. namespace Aitex.Core.RT.DataCollection
  7. {
  8. public class DefaultDataCollectionCallback : IDataCollectionCallback
  9. {
  10. public void PostDBFailedEvent()
  11. {
  12. }
  13. public string GetSqlUpdateFile()
  14. {
  15. return PathManager.GetCfgDir() + "SqlUpdate.sql";
  16. }
  17. public string GetDataTablePrefix()
  18. {
  19. return "Data";
  20. }
  21. public string GetDBName()
  22. {
  23. return "postgres";
  24. }
  25. }
  26. }