ApiConfig.cs 769 B

123456789101112131415161718192021222324252627282930
  1. /*-------------------------------------------------------------------------
  2. * 功能描述:ApiConfig
  3. * 作者:xulisong
  4. * 创建时间: 2019/7/30 10:14:55
  5. * 版本号:v1.0
  6. * -------------------------------------------------------------------------*/
  7. using System;
  8. using System.Collections.Generic;
  9. using System.Linq;
  10. using System.Text;
  11. using System.Threading.Tasks;
  12. namespace MBIRevitBase.Config
  13. {
  14. public class ApiConfig
  15. {
  16. public static string m_AlgorithmUrl;
  17. public static string AlgorithmUrl()
  18. {
  19. if (string.IsNullOrWhiteSpace(m_AlgorithmUrl))
  20. {
  21. m_AlgorithmUrl = "http://192.168.20.225:8080/revit-algorithm";
  22. }
  23. return m_AlgorithmUrl;
  24. }
  25. }
  26. }