package com.pcstar.people.utils;

/**
 * 描述：配置信息 包括基本的静态常量信息和指令集 
 */
public class Configuration {
	
	public static String BIND_PHONE = "";//绑定手机号
	public static boolean isRun = true;//控制读串口的数据
	public static boolean isDefend = true;//是否布防
	/**
	 * 描述：串口配置
	 */
	public static int fd = 0;//串口描述
	public final static String DEV_NAME = "/dev/ttySAC1";//串口设备文件名
	public final static long BAUD = 19200l;//波特率
	public final static int DATA_BITS = 8;//数据位
	public final static int STOP_BITS = 1;//停止位
	/**
	 * 描述：socket通信配置信息
	 */
	public final static String PC_HOST = "192.168.1.106";//pc端IP
	public final static String PAD_HOST = "192.168.1.102";//平板端IP
	public final static int PC_PORT = 1300;//pc端口
	public final static int PAD_PORT = 8080;//平板端口
	/**
	 * 描述：摄像机网络配置信息
	 */
	public static String IPCAMERA_IP = "";//摄像头网络IP
	public final static String IPCAMERA_PORT = "1024";//摄像头网络端口号
	public final static String IPCAMERA_USER = "admin";//用户名
	public final static String IPCAMERA_PASSWORD = "123456";//密码
	public final static String IPCAMERA_NAME = "";//该连接的名称
	public final static int IPCAMERA_TIME = 100;//音频缓冲时间
}
