|
|
@@ -11,17 +11,17 @@ namespace UAS_LabelMachine
|
|
|
public class DataHelper
|
|
|
{
|
|
|
|
|
|
- ////富为外网地址
|
|
|
- //private readonly string ConnectionStrings = "Data Source=richwellgroup.com.cn/orcl;User ID=DATACENTER;PassWord=select!#%*(";
|
|
|
- //private readonly string InnerConnectionStrings = "Data Source=richwellgroup.com.cn/orcl;User ID=DATACENTER;PassWord=select!#%*(";
|
|
|
- ////富为ERP地址
|
|
|
- //public static readonly string ERPAddesss = "http://richwellgroup.com.cn:8099/ERP/";
|
|
|
- ////富为FTP
|
|
|
- //public static readonly string FTPAdress = "ftp://richwellgroup.com.cn|printuser|printuser";
|
|
|
- ////Oracle端口
|
|
|
- //public static readonly string OraclePort = "1521";
|
|
|
- ////需要显示的账套
|
|
|
- //public static readonly string Masters = "JDTSY,FW_JDT,N_DATACENTER,FY_TEST,JD_TEST,XY_TEST,FW_TEST,DATACENTER,FW,XY,FY";
|
|
|
+ //富为外网地址
|
|
|
+ private readonly string ConnectionStrings = "Data Source=richwellgroup.com.cn/orcl;User ID=DATACENTER;PassWord=select!#%*(";
|
|
|
+ private readonly string InnerConnectionStrings = "Data Source=richwellgroup.com.cn/orcl;User ID=DATACENTER;PassWord=select!#%*(";
|
|
|
+ //富为ERP地址
|
|
|
+ public static readonly string ERPAddesss = "http://richwellgroup.com.cn:8099/ERP/";
|
|
|
+ //富为FTP
|
|
|
+ public static readonly string FTPAdress = "ftp://richwellgroup.com.cn|printuser|printuser";
|
|
|
+ //Oracle端口
|
|
|
+ public static readonly string OraclePort = "1521";
|
|
|
+ //需要显示的账套
|
|
|
+ public static readonly string Masters = "JDTSY,FW_JDT,N_DATACENTER,FY_TEST,JD_TEST,XY_TEST,FW_TEST,DATACENTER,FW,XY,FY";
|
|
|
|
|
|
////高登地址
|
|
|
//private readonly string ConnectionStrings = "Connection Timeout=0;Pooling=false;Password=select!#%*(;User ID=DATACENTER;Pooling=false;Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=183.238.39.179)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)));";
|
|
|
@@ -35,19 +35,19 @@ namespace UAS_LabelMachine
|
|
|
////需要显示的账套
|
|
|
//public static readonly string Masters = "GOLDEN";
|
|
|
|
|
|
- ////怡海能达外网地址
|
|
|
- private readonly string ConnectionStrings = "Connection Timeout=0;Pooling=false;Password=select!#%*(;User ID=DATACENTER;Pooling=false;Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=sz.hi-mantech.com)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)));";
|
|
|
+ //////怡海能达外网地址
|
|
|
+ //private readonly string ConnectionStrings = "Connection Timeout=0;Pooling=false;Password=select!#%*(;User ID=DATACENTER;Pooling=false;Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=sz.hi-mantech.com)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)));";
|
|
|
|
|
|
- private readonly string InnerConnectionStrings = "Connection Timeout=0;Pooling=false;Password=select!#%*(;User ID=DATACENTER;Pooling=false;Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.200)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)));";
|
|
|
+ //private readonly string InnerConnectionStrings = "Connection Timeout=0;Pooling=false;Password=select!#%*(;User ID=DATACENTER;Pooling=false;Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.200)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)));";
|
|
|
|
|
|
- //怡海能达ERP地址
|
|
|
- public static readonly string ERPAddesss = "http://sz.hi-mantech.com:8099/ERP/";
|
|
|
- //怡海能达FTP
|
|
|
- public static readonly string FTPAdress = "ftp://sz.hi-mantech.com:46688|yhndftp|Stga28ytG8";
|
|
|
- //Oracle端口
|
|
|
- public static readonly string OraclePort = "1521";
|
|
|
- //需要显示的账套
|
|
|
- public static readonly string Masters = "YHND_SZ,YHND_HK,DATACENTER,YITOA_ZX,T_YHND_HK";
|
|
|
+ ////怡海能达ERP地址
|
|
|
+ //public static readonly string ERPAddesss = "http://sz.hi-mantech.com:8099/ERP/";
|
|
|
+ ////怡海能达FTP
|
|
|
+ //public static readonly string FTPAdress = "ftp://sz.hi-mantech.com:46688|yhndftp|Stga28ytG8";
|
|
|
+ ////Oracle端口
|
|
|
+ //public static readonly string OraclePort = "1521";
|
|
|
+ ////需要显示的账套
|
|
|
+ //public static readonly string Masters = "YHND_SZ,YHND_HK,DATACENTER,YITOA_ZX,T_YHND_HK";
|
|
|
|
|
|
////华商龙外网地址
|
|
|
//private readonly string ConnectionStrings = "Connection Timeout=0;Pooling=false;Password=select!#%*(;User ID=YITOA_DATACENTER;Pooling=false;Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=218.18.115.198)(PORT=1523)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)));";
|