AppConst.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. package com.hmsoft.common;
  2. /**
  3. * 常量类.
  4. * @author Lenovo
  5. *
  6. */
  7. public class AppConst {
  8. /**
  9. * 登录
  10. */
  11. public static final int SCH_LOGIN = 0;
  12. /**
  13. * 学校选择课程
  14. */
  15. public static final int SCH_SELECT_COURSE = 1;
  16. /**
  17. * 命题办通知其他学校课程被选择了
  18. */
  19. public static final int SRV_NOTIFY_SELECT = 2;
  20. /**
  21. * 命题办指定该课程征集学校
  22. */
  23. public static final int SRV_SPECIFIC_COURSE = 3;
  24. /**
  25. * 学校取消选择的课程
  26. */
  27. public static final int SCH_CANCEL_COURSE = 4;
  28. /**
  29. * 命题办刷新课程列表数据到各个学校客户端
  30. */
  31. public static final int SRV_FRESH_INIT_LIST = 5;
  32. /**
  33. * 命题办最终发布
  34. */
  35. public static final int SRV_FINAL_PUBLISH = 6;
  36. /**
  37. * 命题办通知有学校取消了选择
  38. */
  39. public static final int SRV_NOTIFY_CANCEL = 7;
  40. /**
  41. * 学校连接上服务器后拉取最新课程计划.
  42. */
  43. public static final int SCH_FETCH_NEW_LIST = 8;
  44. /**
  45. * 管理端发送最新征集中的课程计划.
  46. */
  47. public static final int SRV_PUSH_NEW_LIST = 9;
  48. /**
  49. * 管理端删除课程.
  50. */
  51. public static final int SRV_DELETE_COURSE = 10;
  52. /**
  53. * 定时或手动刷新.
  54. */
  55. public static final int SRV_TRIGGER_FRESH = 11;
  56. /**
  57. * 确认反馈.
  58. */
  59. public static final int SCH_CONFIRM_OK = 12;
  60. /**
  61. * 修改密码请求.
  62. */
  63. public static final int SCH_CHANGE_PASSWD = 13;
  64. }