1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using System;
- using System.Collections.Generic;
- using System.Configuration;
- using System.Linq;
- using System.Text;
- namespace TimedUpload
- {
- public static class Constants
- {
- public static string MiddleTable = "if_yc_rawdata";
- public static string UploadDB = "";
- public static string DBUrlNb = "";
- public static string DBUrl = ConfigurationManager.AppSettings["DbConncetion_NB"];
- public static string ticketUrl = ConfigurationManager.AppSettings["ticketUrl"];
- public static string uploadUrl = ConfigurationManager.AppSettings["uploadUrl"];
- public static string logincode = ConfigurationManager.AppSettings["logincode"];
- public static string password = ConfigurationManager.AppSettings["password"];
- public static string clientid = ConfigurationManager.AppSettings["clientid"];
- public static string clientsecret = ConfigurationManager.AppSettings["clientsecret"];
- public static string xaAppId = ConfigurationManager.AppSettings["xaAppId"];
- public static string xaAppSecret = ConfigurationManager.AppSettings["xaAppSecret"];
- public static string ticketxaApiSecret = ConfigurationManager.AppSettings["ticketxaApiSecret"];
- public static string uploadxaApiSecret = ConfigurationManager.AppSettings["uploadxaApiSecret"];
- public static string xaEnvironment = ConfigurationManager.AppSettings["xaEnvironment"];
- public static string CONCENTRATOR_ADDR = ConfigurationManager.AppSettings["CONCENTRATOR_ADDR"];
- public static string FACTORYCODE = ConfigurationManager.AppSettings["FACTORYCODE"];
- //ComPanyId
- public static string ComPanyId = ConfigurationManager.AppSettings["ComPanyId"];
- //passWord
- public static string passWord = ConfigurationManager.AppSettings["passWord"];
- //Company_Name
- public static string str_Company_Name = ConfigurationManager.AppSettings["Company_Name"];
- //8888888888
- public static string conCode = ConfigurationManager.AppSettings["conCode"];
- // AppId
- public static string AppId = ConfigurationManager.AppSettings["AppId"];
- // appSecret
- public static string appSecret = ConfigurationManager.AppSettings["appSecret"];
- // 上报接口
- public static string newUrl = ConfigurationManager.AppSettings["newUrl"];
- // 查询时间
- public static string uploadTime = ConfigurationManager.AppSettings["uploadTime"];
- public static string loraUploadTime = ConfigurationManager.AppSettings["loraUploadTime"];
- public static string SongZiLoraDB = ConfigurationManager.AppSettings["SongZiLoraDB"];
- }
- }
|