operateconstants.java

来自「用J2ME写的一个移动校园管理软件。我是看这个学习J2ME的。现在看来写得不是很」· Java 代码 · 共 44 行

JAVA
44
字号
/**
 * 
 */
package cn.edu.nwpu.MobileCampusServer;

/**
 * @author NickJava
 *
 */
public class OperateConstants {
	 private OperateConstants() {
	    }
	    //请求动作
	    public static final byte CHANGE_PWD = 1;
	    public static final byte ENGLISH_CHANGE_CHINESE = 2;
	    public static final byte CHINESE_CHANGE_ENGLISH=3;
	    public static final byte LOGIN = 4;
	    public static final byte SEARCH_BOOK = 5;
	    //响应
	    public static final byte CHANGEPWD_SUCCESS = 102;
	    public static final byte CHANGEPWD_FAIL = 103;
	    public static final byte LOGIN_SUCCESS = 104;
	    public static final byte ERROR_PWD = 105;
	    public static final byte NO_USER = 111;
	    public static final byte NO_BOOK = 109;
	    public static final byte HAS_BOOK = 112;
	    public static final byte HAS_BORROW_BOOK = 115;
	    public static final byte LOOK_CHIOCE_ELECTIVE = 116;
	    public static final byte HAS_ELECTIVE = 113;
	    public static final byte NO_ELECTIVE = 114;
	    public static final byte SEARCH_FAIL = 106;
	    public static final byte NO_MEANING = 107;
	    public static final byte NO_WORD = 108;
	    public static final byte SEARCH_MEANING = 109;
	    public static final byte SEARCH_WORD = 110;
	    public static final byte DEL_CHIOCE_ELECTIVE = 120;
	    public static final byte SEARCH_ELECTIVE = 121;
	    public static final byte DEL_ELECTIVE_SUCCESS = 121;
	    public static final byte DEL_ELECTIVE_FALL = 122;
	    public static final byte ADD_ELECTIVE = 123;
	    public static final byte ADD_ELECTIVE_FALL = 124;
	    public static final byte ADD_ELECTIVE_SUCCESS = 125;
}

⌨️ 快捷键说明

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