SystemConfig.cs 1.4 KB

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Configuration;
  4. using System.Linq;
  5. using System.Text;
  6. namespace TimedUpload
  7. {
  8. public class SystemConfig
  9. {
  10. public static string pipeLineDbConn = ConfigurationManager.AppSettings["pipeLineDbConn"];
  11. //public static string waterWellDbConn = ConfigurationManager.AppSettings["waterWellDbConn"];
  12. //public static string waterWellUploadUrl = ConfigurationManager.AppSettings["waterWellUploadUrl"];
  13. public static string pipeLineUploadUrl = ConfigurationManager.AppSettings["pipeLineUploadUrl"];
  14. public static string beginUpdateTime= ConfigurationManager.AppSettings["beginUpdateTime"];
  15. // public static string waterWellManufacturerCode = ConfigurationManager.AppSettings["waterWellManufacturerCode"];
  16. public static string pipeLineManufacturerCode = ConfigurationManager.AppSettings["pipeLineManufacturerCode"];
  17. public static string companyId = ConfigurationManager.AppSettings["companyId"];
  18. public static string pipeLineNewUploadUrl = ConfigurationManager.AppSettings["pipeLineUploadUrl"];
  19. public static string addDeviceUrl = ConfigurationManager.AppSettings["addDeviceUrl"];
  20. public static string updateDeviceUrl = ConfigurationManager.AppSettings["updateDeviceUrl"];
  21. public static string sanruiDB = ConfigurationManager.AppSettings["sanruiDB"];
  22. }
  23. }