package com.nms.server.common;

public class MissionConstants {
	
	public final static int MISSION_STATE_CREATE = 1;
	public final static int MISSION_STATE_RUNNING_OK = 2;
	public final static int MISSION_STATE_FINISHING = 3;
	public final static int MISSION_STATE_RUNNING_FAIL = 4;
	public final static int MISSION_STATE_CANCEL = 5;
	public final static int MISSION_STATE_CANCEL_RUNNING_OK = 6;
	public final static int MISSION_STATE_CANCEL_FINISHING = 7;
	
//	public final static String ERROR_TASK_PARAMS = "参数错误，任务无法执行；";
//	public final static String ERROR_TASK_NO_FILE = "无推送文件，任务无法执行；";
//	public final static String ERROR_TASK_NO_USED_NODE = "无有效服务器节点，任务无法执行；";
//	public final static String ERROR_TASK_RUND_NO_USED_NODE = "无有效服务器节点，当前周期无法执行；";
//	public final static String WARN_TASK_UN_MANAGEMENT_NODE = "存在DC管理外节点；";
//	public final static String NOTICE_TASK_RUNNING = "任务开始执行";
//	public final static String ERROR_RESULT_NOT_SERVER = "该节点不是服务器";
//	public final static String ERROR_RESULT_UN_MANAGEMENT_NODE = "该节点不在DC管理范围内";
//	public final static String ERROR_RESULT_FILE_DOWNLOAD_FAIL = "DC文件下载失败";
//	public final static String ERROR_RESULT_EXEC_TIMEOUT = "周期任务执行超时，结果置为失败";//endTime<当前时间
	public final static String ERROR_TASK_PARAMS = "i18n_server.MissionConstants.ERROR_TASK_PARAMS_n81i；";
	public final static String ERROR_TASK_NO_FILE = "i18n_server.MissionConstants.ERROR_TASK_NO_FILE_n81i；";
	public final static String ERROR_TASK_NO_USED_NODE = "i18n_server.MissionConstants.ERROR_TASK_NO_USED_NODE_n81i；";
	public final static String ERROR_TASK_RUND_NO_USED_NODE = "i18n_server.MissionConstants.ERROR_TASK_RUND_NO_USED_NODE_n81i；";
	public final static String WARN_TASK_UN_MANAGEMENT_NODE = "i18n_server.MissionConstants.WARN_TASK_UN_MANAGEMENT_NODE_n81i；";
	public final static String NOTICE_TASK_RUNNING = "i18n_server.MissionConstants.NOTICE_TASK_RUNNING_n81i";
	public final static String ERROR_RESULT_NOT_SERVER = "i18n_server.MissionConstants.ERROR_RESULT_NOT_SERVER_n81i";
	public final static String ERROR_RESULT_UN_MANAGEMENT_NODE = "i18n_server.MissionConstants.ERROR_RESULT_UN_MANAGEMENT_NODE_n81i";
	public final static String ERROR_RESULT_FILE_DOWNLOAD_FAIL = "i18n_server.MissionConstants.ERROR_RESULT_FILE_DOWNLOAD_FAIL_n81i";
	public final static String ERROR_RESULT_EXEC_TIMEOUT = "i18n_server.MissionConstants.ERROR_RESULT_EXEC_TIMEOUT_n81i";//endTime<当前时间
}
