天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
1.4 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//Ref:
using System.Configuration;
namespace QMAPP.BoraUpgrade.Common
{
/// <summary>
/// 配置信息类
/// CreateTime:2018.10.30
/// Author :陈冲
/// Mail :22367340@qq.com
/// </summary>
public class Config
{
/// <summary>
/// 主数据库文件
/// </summary>
public static string maindbConnectionString = ConfigurationManager.ConnectionStrings["maindb"].ToString();
//"Data Source=10.123.4.21;Initial Catalog=ADIENT_QD_MES;User Id=sa;Password=adient708!;";// providerName="System.Data.SqlClient"
//public static string a3dbConnectionString = ConfigurationManager.ConnectionStrings["a3db"]?.ToString();
public static string a3dbConnectionString = ConfigurationManager.ConnectionStrings["maindb"]?.ToString();
public static string bzdConnectionString = ConfigurationManager.ConnectionStrings["maindbBZD"].ToString();
//"Data Source=10.123.4.65;Initial Catalog=ADIENT_QD_MES_4;User Id=mes;Password=123u3M12912@2;";//
///// <summary>
///// FIS数据库文件(需要在QMAPP.WinForm的App.Config中配置)
///// </summary>
//public static string maindbMBConnectionString = ConfigurationManager.ConnectionStrings["maindbMB"].ToString();
}
}