Alejandro Acuña
2024-11-19 72a8eee716de93344f977ab79be7d3bfeb341462
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
package art.servers.etdserver.controller;
 
 
import art.library.model.devices.etd.Etd;
import art.library.model.devices.etd.EtdStatus;
import art.library.model.devices.etd.status.EtdStatusVehicle;
import art.servers.ServerException;
import java.util.List;
 
 
public class ControllerEtd extends art.servers.controller.ControllerDevice
{
    protected Etd device = null;
    protected String name = null;
    public int errorsNumber = 0;
    public int maxErrorsNumber = 30;
 
 
    public ControllerEtd(Etd etd)
    {
        super(etd);
        this.device = etd;
    }
 
 
    public Etd getEtd()
    {
        return device;
    }
 
 
    public String getControllerName()
    {
        return name;
    }
 
 
    public EtdStatus[] getRealtimeTrafficData(long timestamp1, long timestamp2) throws ServerException, Exception
    {
        throw new ServerException ("Not supported");
    }
 
 
    public List<EtdStatusVehicle> getVehicles(long timestamp) throws ServerException, Exception
    {
        throw new ServerException ("Not supported");
    }
 
 
    public List<EtdStatusVehicle> getVehiclesPeriod(long timestamp1, long timestamp2) throws ServerException, Exception
    {
        throw new ServerException ("Not supported");
    }
 
}