Constants.cs 836 B

12345678910111213141516171819202122
  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 static class Constants
  9. {
  10. public static string MiddleTable = "if_yc_rawdata";
  11. public static string UploadDB = "";
  12. public static string DBUrlNb = ConfigurationManager.AppSettings["DbConncetionNB"];
  13. public static string DBUrlNbYd = ConfigurationManager.AppSettings["DbConncetionNBYd"];
  14. public static string DBUrl = ConfigurationManager.AppSettings["DbConncetion"];
  15. public static string str_Url = ConfigurationManager.AppSettings["Url"];
  16. public static string str_Company = ConfigurationManager.AppSettings["company"];
  17. public static Int32 i_Count =Convert.ToInt32( ConfigurationManager.AppSettings["Count"]);
  18. }
  19. }