DC0_A4.java 1.01 KB
package com.bsth.entity.directive;

import javax.persistence.Embeddable;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * 
 * @ClassName: DC0_A4 
 * @Description: TODO(参数查询) 
 * @author PanZhao 
 * @date 2016年10月18日 下午5:22:36 
 *
 */
public class DC0_A4 extends Directive{
	
	@Id
	@GeneratedValue
	private Integer id;
	
	
	@Embeddable
	public static class DC0A4Data {
		/**
		 * 二级协议
		 */
		private Short operCode2;
		/** 设备编号 */
		private String deviceId;
		/** 网关IP地址 */
		private String ipAddress;
		/** 网关端口 */
		private int port;
		/** 定时定距上报模式 */
		private short reportMode;
		/** 定时上报时间间隔 */
		private int interval;
		/** 定距上报距离间隔 */
		private String distance; 
		/** 非线路状态超速阀门 */
		private short speedingThreshold;
		/** 预警阀门 */
		private short alarmThreshold;
		/** pos机IP地址 */
		private String posIpAddress;
	}
}