package com.yeejoin.amos.boot.module.jxiop.api.util;




/**
 * <pre>
 *  系统常量
 * </pre>
 *
 * @author mincx
 * @version Constants.java v0.1
 * @time 2017-9-19 15:43:32
 */
public class Constants {
    public static final String ERROR_MESSAGE = "系统异常";
    public static final String RESULT_SUCCESS = "SUCCESS";
    public static final String RESULT_FAILURE = "FAILURE";
    public static final String RULE_FACT_PREFIX = "rule_";
    public static final String RULE_COMPILATION_ERROR = "规则编译异常";
    public static final String NEW_LINE= "\r\n";
    public static final String POSITION_LATITUDE = "latitude";
    public static final String POSITION_LONGITUDE = "longitude";
    public static final double PI = 3.1415;	
    public static final double EARTH_RADIUS = 6370.996;
    public static final String RULE_CONDITION_AND = "&&";
    public static final String RULE_CONDITION_OR = "||";
    /**
     * DES加密解密默认key
     */
	public static final String XSS_KEY = "qaz";
    /**
     * 灾情状态
     */
    public static final String FireHappenStateID = "90db70b7-49a4-4a72-b54b-0fabbed9bec7";//发生
    public static final String FireDevelopStateID = "1f7fe7d7-b30c-4518-8c95-6e3bc506ca86";//猛烈
    /**
     * 车辆状态
     */
    public static final String CarArrivedStateID = "ad55748a-1206-4507-8831-95b7f2ad804f";//到达
    public static final String CarDispatchingStateID = "43a23576-3d0f-4c3d-a46b-555391a4d870";//待出动
    public static final String CarOnDutyStateID = "21cc717f-60b4-46ae-942e-9efd63d13415";//执勤
    public static final String CarOnSiteStateID = "d7eddc16-4c55-4de0-b726-3547c7b0b980";//在位
    public static final String CarOnTheWayStateID = "5e1b6e98-d1dc-4c49-a7ad-b959d2278dba";//在途
    public static final String CarRepairStateID = "e86d455b-e9fd-4938-9826-38ca46623287";//维修
    /**
     * 战斗力量编队状态
     */
    public static final String RescuePowerArrivedStateID = "0951f770-7f75-43d8-bcec-47d7559be727";//到达
    public static final String RescuePowerDispatchedStateID = "ec4afc56-6cec-41a3-95f5-20c735f052d4";//已调派
    public static final String RescuePowerEnhanceStateID = "3d6cf113-b69d-47c3-a3a8-ded448cc4636";//增援
    public static final String RescuePowerFightingStateID = "4bacd4b4-b07d-454e-b737-431e7c997cde";//战斗
    public static final String RescuePowerStandByStateID = "4fc6e4d6-c6a8-453c-b554-ce7de0b828b2";//待命
    /**
     * sql注入关键字
     */
    public static String badStr = "'|and|exec|execute|insert|select|delete|update|count|drop|%|chr|mid|master|truncate|" +
            "char|declare|sitename|net user|xp_cmdshell|;|or|-|+|,|like'|and|exec|execute|insert|create|drop|" +
            "table|from|grant|use|group_concat|column_name|" +
            "information_schema.columns|table_schema|union|where|select|delete|update|order|by|count|" +
            "chr|mid|master|truncate|char|declare|or|;|-|--|,|like|//|/|%|#";
}


