-
Notifications
You must be signed in to change notification settings - Fork 0
/
Signal.java
58 lines (45 loc) · 1.1 KB
/
Signal.java
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
package model;
public class Signal implements java.io.Serializable {
private int idRobot;
private int idCluster;
private int idArea;
private String upDown;
private long milliSeconds;
public Signal(int idRobot, int idCluster, int idArea, String upDown, long milliSeconds) {
this.setIdArea(idArea);
this.setIdCluster(idCluster);
this.setIdRobot(idRobot);
this.setUpDown(upDown);
this.setMilliSeconds(milliSeconds);
}
public long getMilliSeconds() {
return milliSeconds;
}
public void setMilliSeconds(long milliSeconds) {
this.milliSeconds = milliSeconds;
}
public String getUpDown() {
return upDown;
}
public void setUpDown(String upDown) {
this.upDown = upDown;
}
public int getIdArea() {
return idArea;
}
public void setIdArea(int idArea) {
this.idArea = idArea;
}
public int getIdCluster() {
return idCluster;
}
public void setIdCluster(int idCluster) {
this.idCluster = idCluster;
}
public int getIdRobot() {
return idRobot;
}
public void setIdRobot(int idRobot) {
this.idRobot = idRobot;
}
}