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");
|
}
|
|
}
|