📄 commandfilter.java
字号:
package com.gctech.sms.sdsms.util;
import java.util.HashMap;
import java.util.Map;
/**
* <p>Title:指令过滤类</p>
* <p>Description:</p>
* <p>Copyright: GCTech (c) 2004-6-24</p>
* <p>Company: 国创科技</p>
* <p>Email: ly@gctech.com.cn</p>
*
*
* @version 1.0
* @author liyi
*/
public class CommandFilter {
public static Map commandMap = new HashMap();
public static final String ZGQY = "KWQ";
public static final String XZYC = "XZDZ|[WM]|0[0-9][0-3][0-9]|1[012][0-3][0-9]|XZQX|XZDB";
public static final String DBQB = "[0-9][0-9][0-9]|[0-9][0-9][0-9][0-9][0-9][0-9]|[0-9][0-9]|[0-9]|JM[0-9]|JM[0-9][0-9]|LY[0-9][0-9][0-9]|ZT|SC|YS[0-9][0-9][0-9]|TC[0-9][0-9][0-9]|MDL[0-9][0-9][0-9]";
public static final String KXLY = "DZXH|DBXH|QXXH|DZJZW|DBJZW|DAJZW|QXJZW|DZXHY|DBXHY|QXXHY";
public static final String JKSH = "";
public static final String ZHBP = "";
public static final String MLSJQ = "";
static {
commandMap.put("01", ZGQY);
commandMap.put("09", XZYC);
commandMap.put("05", DBQB);
commandMap.put("02", KXLY);
commandMap.put("03", JKSH);
commandMap.put("04", ZHBP);
commandMap.put("06", MLSJQ);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -