|
@@ -23,53 +23,6 @@ namespace UAS_LabelMachine
|
|
|
//需要显示的账套
|
|
//需要显示的账套
|
|
|
public static readonly string Masters = "HD,HD_TEST";
|
|
public static readonly string Masters = "HD,HD_TEST";
|
|
|
|
|
|
|
|
- ////高登地址
|
|
|
|
|
- //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)));";
|
|
|
|
|
- ////高登ERP地址
|
|
|
|
|
- //public static readonly string ERPAddesss = "http://183.238.39.179:8099/ERP/";
|
|
|
|
|
- ////高登TP
|
|
|
|
|
- ////public static readonly string FTPAdress = "ftp://192.168.0.158:21|GOLDENFTP|Admin1@#";
|
|
|
|
|
- //public static readonly string FTPAdress = "ftp://183.238.39.179:21|GOLDENFTP|Admin1@#";
|
|
|
|
|
- ////Oracle端口
|
|
|
|
|
- //public static readonly string OraclePort = "1521";
|
|
|
|
|
- ////需要显示的账套
|
|
|
|
|
- //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 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";
|
|
|
|
|
-
|
|
|
|
|
- ////华商龙外网地址
|
|
|
|
|
- //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)));";
|
|
|
|
|
- ////华商龙ERP地址
|
|
|
|
|
- //public static readonly string ERPAddesss = "http://218.18.115.198:8888/ERP/";
|
|
|
|
|
- ////华商龙FTP
|
|
|
|
|
- //public static readonly string FTPAdress = "ftp://218.18.115.198:21|Print|Administrator1@#";
|
|
|
|
|
- ////Oracle端口
|
|
|
|
|
- //public static readonly string OraclePort = "1523";
|
|
|
|
|
- ////需要显示的账套
|
|
|
|
|
- //public static readonly string Masters = "XSQ,N_YITOA_YWC,ZXN,N_YITOA_LHCT,N_YITOA_CT,N_CHL,N_YITOA_HK,N_HUASL_SHTL,N_WILICHK,N_WILIC,N_E_SHINE_SH,N_SHBJ,N_BJKG,N_HUASL,N_HUASL_QD,N_HUASL_XM,N_HUASL_SZ";
|
|
|
|
|
-
|
|
|
|
|
- ////UAS测试地址
|
|
|
|
|
- //private readonly string ConnectionStrings = "Data Source=192.168.253.6/orcl;User ID=UAS_TEST;PassWord=select!#%*(";
|
|
|
|
|
- ////UAS测试地址
|
|
|
|
|
- //public static readonly string ERPAddesss = "http://192.168.253.6/uas_test/";
|
|
|
|
|
- ////UAS测试FTP
|
|
|
|
|
- //public static readonly string FTPAdress = "ftp://192.168.253.9/PrintFile|mesconfig|Administrator1@#";
|
|
|
|
|
- ////Oracle端口
|
|
|
|
|
- //public static readonly string OraclePort = "1521";
|
|
|
|
|
- ////需要显示的账套
|
|
|
|
|
- //public static readonly string Masters = "UAS_TEST";
|
|
|
|
|
public static string DBConnectionString;
|
|
public static string DBConnectionString;
|
|
|
static OracleConnection connection = null;
|
|
static OracleConnection connection = null;
|
|
|
static OracleCommand command = null;
|
|
static OracleCommand command = null;
|