remove unuse code
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
package com.mogo.cloud;
|
||||
|
||||
import com.elegant.spi.annotations.Service;
|
||||
import com.mogo.realtime.entity.ADASRecognizedResult;
|
||||
import com.mogo.realtime.entity.CloudLocationInfo;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author liujing
|
||||
* @description 描述
|
||||
* @since: 2021/1/26
|
||||
*/
|
||||
@Service(value = IRealTimeProvider.class)
|
||||
class SPIRealTimeTestClass implements IRealTimeProvider {
|
||||
|
||||
@Override
|
||||
public List<ADASRecognizedResult> getLastADASRecognizedResult() {
|
||||
List<ADASRecognizedResult> list = new ArrayList<>();
|
||||
ADASRecognizedResult recognizedResult = new ADASRecognizedResult();
|
||||
recognizedResult.lat = 39.968309;
|
||||
recognizedResult.lon = 116.410871;
|
||||
recognizedResult.carId = "11";
|
||||
recognizedResult.alt = 55;
|
||||
recognizedResult.speed = 7.0;
|
||||
recognizedResult.dataAccuracy = 0;
|
||||
list.add(recognizedResult);
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<CloudLocationInfo> getLocationMsg() {
|
||||
List<CloudLocationInfo> list = new ArrayList<>();
|
||||
CloudLocationInfo info = new CloudLocationInfo();
|
||||
info.setAlt(55);
|
||||
info.setLat(39.968309);
|
||||
info.setLon(116.410871);
|
||||
info.setSatelliteTime(System.currentTimeMillis());
|
||||
info.setSystemTime(System.currentTimeMillis());
|
||||
info.setHeading(120);
|
||||
info.setSpeed(7.0);
|
||||
list.add(info);
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getLocationAccuracy() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user