cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package cn.ksource.core.config;
 
import java.util.LinkedHashMap;
import java.util.Map;
 
public class ConfigConstants {
    
    /**
     * 子系统标识-服务台
     */
    public static final String Sub_System_Key_ServiceCenter="System_Service_Center";
    
    /**
     * 子系统标识-知识库
     */
    public static final String Sub_System_Key_Knowledge="System_Knowledge";
    
    /**
     * 子系统标识-配置库
     */
    public static final String Sub_System_Key_CMDB="System_CMDB";
    
    /**
     * 子系统标识-用户中心
     */
    public static final String Sub_System_Key_UserCenter="System_UserCenter";
    
    /**
     * 子系统标识-消息总线
     */
    public static final String Sub_System_Key_MessageQueue="System_MessageQueue";
    
    public static final Map<String, String> Sub_System_Map = new LinkedHashMap<String, String>();
    static {
        Sub_System_Map.put(Sub_System_Key_ServiceCenter, "服务台");
        Sub_System_Map.put(Sub_System_Key_Knowledge, "知识库");
        Sub_System_Map.put(Sub_System_Key_CMDB, "配置库");
        Sub_System_Map.put(Sub_System_Key_UserCenter, "用户中心");
        Sub_System_Map.put(Sub_System_Key_MessageQueue, "消息总线");
    }
    
    public static String getSub_System_Label(String key){
        return Sub_System_Map.get(key);
    }
    
    
    /**
     * 生成消息执行结果-正确
     */
    public final static String MessageQueue_Result_Success = "MQ_SUCCESS";
    /**
     * 生成消息执行结果-失败
     */
    public final static String MessageQueue_Result_Failure = "MQ_FAILURE";
    
}