Directive.java
1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
package com.bsth.vehicle.directive.entity;
import javax.persistence.MappedSuperclass;
import javax.persistence.Transient;
/**
*
* @ClassName: Directive
* @Description: TODO(指令基础类)
* @author PanZhao
* @date 2016年7月31日 下午8:35:56
*
*/
@MappedSuperclass
public class Directive {
/**
* 一级协议
*/
protected short operCode;
/**
* 设备号
*/
protected String deviceId;
/**
* 时间戳
*/
protected Long timestamp;
/**
* 时间 HH:mm
*/
@Transient
private String timeHHmm;
/**
* 车辆内部编码
*/
@Transient
private String nbbm;
private String errorText;
private int httpCode;
public short getOperCode() {
return operCode;
}
public void setOperCode(short operCode) {
this.operCode = operCode;
}
public String getDeviceId() {
return deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public Long getTimestamp() {
return timestamp;
}
public void setTimestamp(Long timestamp) {
this.timestamp = timestamp;
}
public String getTimeHHmm() {
return timeHHmm;
}
public void setTimeHHmm(String timeHHmm) {
this.timeHHmm = timeHHmm;
}
public String getNbbm() {
return nbbm;
}
public void setNbbm(String nbbm) {
this.nbbm = nbbm;
}
public String getErrorText() {
return errorText;
}
public void setErrorText(String errorText) {
this.errorText = errorText;
}
public int getHttpCode() {
return httpCode;
}
public void setHttpCode(int httpCode) {
this.httpCode = httpCode;
}
}