package cn.hmsoft.application;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import cn.hmsoft.frame.data.model.FrameParam;

/*****************************
 * 应用程序辅助类
 * @author zxq
 * @create 2019-05-06 08:02:24
 * @version 2.0.0
 * @email: revisit@126.com
 * @Company: www.hmsoft.cn
 */
public class AppHelper {

	/****************************
	 * App名称
	 */
	public static String AppName = "HmSoft";
	/****************************
	 * 是否在调试状态
	 */
	public static boolean AppDebug = false;
	
	/*********************
	 * 日志路径
	 */
	public static String LogFilePath = "";

	/*************************
	 * 系统参数配置的公用类路径
	 */
	public static String AppParamUtil = "";
	
	/*******************************
	 * 是否加密数据库链接
	 */
	public static boolean DatabaseSecure = false;	

	/*****************************
	 * 数据库配置文件
	 */
	public static String JdbcConfigFileName = "jdbc.properties";
	

	/*******************************
	 * 数据库加密字符串
	 */
	public static byte[] DatabaseSecureKey = new byte[8];
	
	public static LocalDateTime AppStartTime = null;
	public static LocalDateTime LoadParamTime = null;
	
	public static Map<String,String> GobalParamMap = null;
	public static List<FrameParam> FrameParamArray = new ArrayList<FrameParam>();
	
	/**********************************
	 * 是否开启redis
	 */
	public static boolean RedisOpen = false;
	
	
}
