⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smgparameter.java

📁 中国电信小灵通短信平台SP端程序
💻 JAVA
字号:
package com.zhanghao.smgp;public class SMGParameter {  /**源地址,此处为SP_Id,即SP的企业代码。**/  public static String SP_Id  = "918235";  /** 用于鉴别源地址 **/  public static String SP_Pwd = "";  /**服务器地址 **/  public static String ServerIp = "";  /**服务器端口号 **/  public static int ServerPort = 7910;  /**#链路测试时间(秒)**/  public static int ActiveTestTime = 30 * 1000;  /** 登陆模式(登录类型(0=发送短消息, 1=接收短消息,2=收发短消息,其他保留)) **/  public static int LoginMode = 30;  /**服务器支持的最高版本号,对于3.0的版本,高4bit为3,低4位为0 **/  public static int Version = 19;  /**MT发送速度(用于流量控制)单位条/秒 **/  public static int MTSpeed = 20;  /** 日志文件路径 **/  public static String LogFilePath = "";  /** 是否打印调试信息 **/  public static int IfPrintDebug = 1;  /*=============================================================================*/  /*           以下参数是连接数据库的配置,系统启动后由SPAMaster更改                      */  /*=============================================================================*/  public static String DBDriver    = "com.microsoft.jdbc.sqlserver.SQLServerDriver";  public static String DBUser      = "spagent";  public static String DBPass      = "spagent";  public static String Connect_URL = "jdbc:microsoft:sqlserver://211.154.52.171:9999;DatabaseName=stock";  public static String DB_ResendInterval = "20";  public static int DBPoolSize = 5;  public static int DBType     = 1;  //数据库类型,1表示oracle,2表示sqlserver  public SMGParameter() {  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -