对接冷链车定位数据
parent
df04c7f159
commit
7ae48b8da0
|
|
@ -60,6 +60,26 @@
|
|||
<groupId>com.cpxt</groupId>
|
||||
<artifactId>cpxt-generator</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
<version>2.10.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.squareup.okhttp3</groupId>
|
||||
<artifactId>okhttp</artifactId>
|
||||
<version>4.11.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-beanutils</groupId>
|
||||
<artifactId>commons-beanutils</artifactId>
|
||||
<version>1.9.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>33.0.0-jre</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,164 @@
|
|||
package com.cpxt.web.task;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.cpxt.biz.domain.BizCar;
|
||||
import com.cpxt.biz.domain.BizCarState;
|
||||
import com.cpxt.biz.domain.TrackTemp;
|
||||
import com.cpxt.biz.mapper.BizCarMapper;
|
||||
import com.cpxt.biz.mapper.BizCarStateMapper;
|
||||
import com.cpxt.biz.mapper.TrackTempMapper;
|
||||
import com.cpxt.common.utils.DateUtils;
|
||||
import com.cpxt.common.utils.Helper;
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.basic.VehicleInfoResp;
|
||||
import com.e6yun.project.sdk.api.pojo.business.GetVehicleInfoVO;
|
||||
import org.apache.commons.beanutils.PropertyUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
@Component("getLocationTask")
|
||||
public class GetLocationTask {
|
||||
|
||||
// 域名
|
||||
private static final String ADDRESS = "http://api.e6yun.com/";
|
||||
// 公钥
|
||||
private static final String APP_KEY = "FEB9F91D-BCD7-4DC2-97D1-CB599EEAF9D5";
|
||||
// 密钥
|
||||
private static final String SECRET_KEY = "A8211E8F-9E95-4C80-9414-CD5E1F675FEF";
|
||||
|
||||
/*添加代码 begin*/
|
||||
private static GetLocationTask getLocationTask;
|
||||
|
||||
@Autowired
|
||||
private BizCarStateMapper stateMapper;
|
||||
@Autowired
|
||||
private BizCarMapper carMapper;
|
||||
@Autowired
|
||||
private TrackTempMapper trackMapper;
|
||||
|
||||
@PostConstruct
|
||||
public void init(){
|
||||
getLocationTask = this;
|
||||
// getLocationTask.commonService = this.commonService;
|
||||
getLocationTask.carMapper = this.carMapper;
|
||||
getLocationTask.stateMapper = this.stateMapper;
|
||||
getLocationTask.trackMapper = this.trackMapper;
|
||||
}
|
||||
|
||||
// 同步车辆定位数据
|
||||
public void syncLocationData(){
|
||||
// 创建 E6SdkApi 以使用SDK API
|
||||
E6SdkApi e6SdkApi = new E6SdkApi(ADDRESS, APP_KEY, SECRET_KEY);
|
||||
try {
|
||||
// 通过 e6SdkApi 来使用API
|
||||
GetVehicleInfoVO vehicleInfoVO = e6SdkApi.GetVehcileInfo("-1");
|
||||
System.out.println(vehicleInfoVO);
|
||||
|
||||
if (vehicleInfoVO.getCode().equals("1")){
|
||||
List<VehicleInfoResp> list = vehicleInfoVO.getData();
|
||||
for (VehicleInfoResp info : list) {
|
||||
String carNo = info.getVehicleNO();
|
||||
|
||||
BizCar dbcar = getLocationTask.carMapper.selectByCarNo(carNo);
|
||||
if (dbcar!=null){
|
||||
BizCarState newstate = new BizCarState();
|
||||
|
||||
newstate.setCarId(dbcar.getId());
|
||||
newstate.setCarNo(dbcar.getCarNo());
|
||||
newstate.setVin(dbcar.getVin());
|
||||
newstate.setVehicleNo(info.getVehicleNo());
|
||||
newstate.setRegName(info.getRegName());
|
||||
if (!Helper.NStr(info.getGpsTime()).equals(""))
|
||||
newstate.setGpsTime(DateUtils.parseDate(Helper.NStr(info.getGpsTime()).replace(".0","")));
|
||||
newstate.setSpeed(Helper.FLong(info.getSpeed()));
|
||||
newstate.setOdometer(new BigDecimal(Helper.FDouble(info.getOdometer())) );
|
||||
newstate.setLat(info.getLat());
|
||||
newstate.setLon(info.getLon());
|
||||
newstate.setDirection(Helper.FInt(info.getDirection()));
|
||||
newstate.setStatus(info.getStatus());
|
||||
newstate.setPlaceName(info.getPlaceName());
|
||||
newstate.setProvice(info.getProvice());
|
||||
newstate.setCity(info.getCity());
|
||||
newstate.setDistrict(info.getDistrict());
|
||||
newstate.setRoadName(info.getRoadName());
|
||||
newstate.setT1(info.getT1());
|
||||
newstate.setT2(info.getT2());
|
||||
newstate.setT3(info.getT3());
|
||||
newstate.setT4(info.getT4());
|
||||
newstate.setT5(info.getT5());
|
||||
newstate.setT6(info.getT6());
|
||||
newstate.setT7(info.getT7());
|
||||
newstate.setT8(info.getT8());
|
||||
newstate.setLat02(info.getLat02());
|
||||
newstate.setLon02(info.getLon02());
|
||||
newstate.setAreaName(info.getAreaName());
|
||||
newstate.setTime1(info.getTime1());
|
||||
newstate.setTime2(info.getTime2());
|
||||
newstate.setTime3(info.getTime3());
|
||||
newstate.setTime4(info.getTime4());
|
||||
newstate.setTime5(info.getTime5());
|
||||
newstate.setTime6(info.getTime6());
|
||||
newstate.setTime7(info.getTime7());
|
||||
newstate.setTime8(info.getTime8());
|
||||
newstate.setH1(info.getH1());
|
||||
newstate.setH2(info.getH2());
|
||||
newstate.setH3(info.getH3());
|
||||
newstate.setH4(info.getH4());
|
||||
newstate.setH5(info.getH5());
|
||||
newstate.setH6(info.getH6());
|
||||
newstate.setH7(info.getH7());
|
||||
newstate.setH8(info.getH8());
|
||||
newstate.setHt1(info.getHt1());
|
||||
newstate.setHt2(info.getHt2());
|
||||
newstate.setHt3(info.getHt3());
|
||||
newstate.setHt4(info.getHt4());
|
||||
newstate.setHt5(info.getHt5());
|
||||
newstate.setHt6(info.getHt6());
|
||||
newstate.setHt7(info.getHt7());
|
||||
newstate.setHt8(info.getHt8());
|
||||
newstate.setDeviceTypeStr(info.getDeviceTypeStr());
|
||||
newstate.setEquipCode(info.getEquipCode());
|
||||
newstate.setOil(info.getOil());
|
||||
newstate.setHeight(Helper.FLong(info.getHeight()));
|
||||
newstate.setStopSec(Helper.FInt(info.getStopSec()));
|
||||
newstate.setAcc(info.getAcc());
|
||||
newstate.setOhm(info.getOhm());
|
||||
newstate.setCurAccSta(info.getCurAccSta());
|
||||
newstate.setCommIds(info.getCommIds());
|
||||
|
||||
// 更新实时定位信息
|
||||
BizCarState carState = getLocationTask.stateMapper.selectByCarNo(carNo);
|
||||
if (carState!=null){
|
||||
newstate.setId(carState.getId());
|
||||
getLocationTask.stateMapper.updateById(newstate);
|
||||
}else{
|
||||
getLocationTask.stateMapper.insert(newstate);
|
||||
}
|
||||
|
||||
// 插入轨迹信息
|
||||
try {
|
||||
TrackTemp track = new TrackTemp();
|
||||
PropertyUtils.copyProperties(newstate, track);
|
||||
getLocationTask.trackMapper.insert(track);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} catch (ApiException e) {
|
||||
// 异常捕获
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,766 @@
|
|||
package com.e6yun.project.sdk.api;
|
||||
|
||||
|
||||
import com.e6yun.project.sdk.api.constant.ParamConstant;
|
||||
import com.e6yun.project.sdk.api.core.E6SdkCore;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.basic.AreaListByLonLat;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.basic.EquipInfoReal;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.business.AiPictureVOList;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.business.DownVideo;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.business.GBVideo;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.business.OverTemp;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.cold.PointTempHumList;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.cold.StorePointTempHumList;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.iot.HumidityList;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.iot.OilCalList;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.iot.TemperatureList;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.iot.TrackByDataTerminalId;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.logistics.Bill;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.logistics.PBill;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.saftey.ActiveSafetyEventForSt;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.smart.UpdateDriverVO;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.smart.UpdateVehicleVO;
|
||||
import com.e6yun.project.sdk.api.pojo.basic.*;
|
||||
import com.e6yun.project.sdk.api.pojo.business.*;
|
||||
import com.e6yun.project.sdk.api.pojo.cold.*;
|
||||
import com.e6yun.project.sdk.api.pojo.function.SendFlashDirectiveVO;
|
||||
import com.e6yun.project.sdk.api.pojo.function.SendVechileVoiceVO;
|
||||
import com.e6yun.project.sdk.api.pojo.function.SendVoiceDirectiveVO;
|
||||
import com.e6yun.project.sdk.api.pojo.iot.GetHumidityListVO;
|
||||
import com.e6yun.project.sdk.api.pojo.iot.GetOilCalListVO;
|
||||
import com.e6yun.project.sdk.api.pojo.iot.GetTemperatureListVO;
|
||||
import com.e6yun.project.sdk.api.pojo.iot.GetTrackByDataTerminalIdVO;
|
||||
import com.e6yun.project.sdk.api.pojo.logistics.GetDriverLimitVO;
|
||||
import com.e6yun.project.sdk.api.pojo.logistics.PayBillVO;
|
||||
import com.e6yun.project.sdk.api.pojo.logistics.RechargeMoneyVO;
|
||||
import com.e6yun.project.sdk.api.pojo.logistics.RevokeBillVO;
|
||||
import com.e6yun.project.sdk.api.pojo.saftey.*;
|
||||
import com.e6yun.project.sdk.api.pojo.smart.*;
|
||||
import com.google.gson.Gson;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* V4接口SDK
|
||||
* @author xuexiang@e6yun.com
|
||||
*/
|
||||
public class E6SdkApi extends E6SdkCore {
|
||||
|
||||
/**
|
||||
* 构造函数
|
||||
*
|
||||
* @param address
|
||||
* @param appKey
|
||||
* @param secretKey
|
||||
* @throws IllegalArgumentException
|
||||
*/
|
||||
public E6SdkApi(String address, String appKey, String secretKey) throws IllegalArgumentException {
|
||||
super(address, appKey, secretKey);
|
||||
}
|
||||
|
||||
|
||||
//成功
|
||||
public GetVehicleInfoVO GetVehcileInfo(String vehicleNo) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"GetVehcileInfo");
|
||||
param.put("vehicleNo", vehicleNo);
|
||||
param.put("sessionId", "");
|
||||
param.put("isOffsetLonLat", "1");
|
||||
param.put("vehicleNoType", "0");
|
||||
return this.callPost("/public/v4/MONITOR/api/vehicleMonitor/getVehicleInfo",param, GetVehicleInfoVO.class);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @Description //BUSINESS
|
||||
**/
|
||||
public LeaveAreaRealDataVO leaveAreaRealData(String vehicles, String CategoryCode, String btime, String etime, String timestamp) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"leaveAreaRealData");
|
||||
param.put("vehicles", vehicles);
|
||||
param.put("categoryCode", CategoryCode);
|
||||
param.put("btime", btime);
|
||||
param.put("etime", etime);
|
||||
param.put("timestamp", timestamp);
|
||||
return this.callGet("/public/v4/BUSINESS/api/leaveAreaRealData/getData",param, LeaveAreaRealDataVO.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* 车辆回放 新
|
||||
**/
|
||||
public PlaybackVideoUrlVO getPlaybackVideoUrl(String vehicle, String channelIds, String startTime, String endTime,
|
||||
String videoQuality) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getPlaybackVideoUrl");
|
||||
param.put("vehicle", vehicle);
|
||||
param.put("channelIds", channelIds);
|
||||
param.put("startTime", startTime);
|
||||
param.put("endTime", endTime);
|
||||
param.put("videoQuality", videoQuality);
|
||||
return this.callGet("/public/v4/BUSINESS/api/media/video/getPlaybackVideoUrl",param, PlaybackVideoUrlVO.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* 车辆实时视频 新
|
||||
**/
|
||||
public GetNewVideoUrlVO getNewVideoUrl(String vehicle, String channelIds, String expiry, String videoQuality) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getOpenVideoUrl");
|
||||
param.put("vehicle", vehicle);
|
||||
param.put("channelIds", channelIds);
|
||||
param.put("expiry", expiry);
|
||||
param.put("videoQuality", videoQuality);
|
||||
return this.callGet("/public/v4/BUSINESS/api/media/video/getNewVideoUrl",param, GetNewVideoUrlVO.class);
|
||||
}
|
||||
|
||||
|
||||
//成功
|
||||
public FindRenewAudioVO findRenewAudio(String vehicle, String channelIds) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getRenewAudio");
|
||||
param.put("vehicle",vehicle);
|
||||
param.put("channelIds",channelIds);
|
||||
return this.callPost("/public/v4/BUSINESS/api/audio/findRenewAudio",param, FindRenewAudioVO.class);
|
||||
}
|
||||
|
||||
//未查询到任何视频文件
|
||||
public DownloadVideoVO downloadVideo(DownVideo downVideo) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"downloadVideoManual");
|
||||
param.put("vehicle",downVideo.getVehicle());
|
||||
param.put("channelIds",downVideo.getChannelIds());
|
||||
param.put("startTime",downVideo.getStartTime());
|
||||
param.put("endTime",downVideo.getEndTime());
|
||||
param.put("callbackUrl",downVideo.getCallbackUrl());
|
||||
return this.callPost("/public/v4/BUSINESS/api/media/video/downloadVideo",param, DownloadVideoVO.class);
|
||||
}
|
||||
|
||||
//成功
|
||||
public GetRealTimeVideoFlowUrlVO getRealTimeVideoFlowUrl(String vehicle, String channelIds) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getRealTimeVideoFlowUrl");
|
||||
param.put("vehicle",vehicle);
|
||||
param.put("channelIds",channelIds);
|
||||
return this.callPost("/public/v4/BUSINESS/api/media/video/getRealTimeVideoFlowUrl",param, GetRealTimeVideoFlowUrlVO.class);
|
||||
}
|
||||
|
||||
//成功没有数据
|
||||
public GetAlarmVideoUrlVO getAlarmVideoUrl(String vehicleNo,String startTime,String endTime,String type) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getAlarmVideoUrl");
|
||||
param.put("vehicleNo",vehicleNo);
|
||||
param.put("startTime",startTime);
|
||||
param.put("endTime",endTime);
|
||||
param.put("type",type);
|
||||
return this.callGet("/public/v4/BUSINESS/api/media/video/getAlarmVideoUrl",param,GetAlarmVideoUrlVO.class);
|
||||
}
|
||||
|
||||
//ok
|
||||
public FindFlashInfoVO findFlashInfo(String vehicle,String startTime,String endTime) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"findFlashInfo");
|
||||
param.put("vehicle",vehicle);
|
||||
param.put("startTime",startTime);
|
||||
param.put("endTime",endTime);
|
||||
return this.callPost("/public/v4/BUSINESS/media/vehicleFlash/findFlashInfo",param,FindFlashInfoVO.class);
|
||||
}
|
||||
|
||||
//ok
|
||||
public FindVideosVO findVideos(String vehicle,String channelIds,String startTime,String endTime) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"findVideos");
|
||||
param.put("vehicle",vehicle);
|
||||
param.put("channelIds",channelIds);
|
||||
param.put("startTime",startTime);
|
||||
param.put("endTime",endTime);
|
||||
return this.callPost("/public/v4/BUSINESS/replay/video/findVideos",param,FindVideosVO.class);
|
||||
}
|
||||
|
||||
//ok
|
||||
public OpenIntercomVO openIntercom(String vehicle,String channelIds) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"openAudio");
|
||||
param.put("vehicle",vehicle);
|
||||
param.put("channelIds",channelIds);
|
||||
return this.callPost("/public/v4/BUSINESS/api/audio/openIntercom",param,OpenIntercomVO.class);
|
||||
}
|
||||
|
||||
//ok
|
||||
public FindIntercomUrlVO findIntercomUrl(String vehicle,String channelIds) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getAudioUrl");
|
||||
param.put("vehicle",vehicle);
|
||||
param.put("channelIds",channelIds);
|
||||
return this.callPost("/public/v4/BUSINESS/api/audio/findIntercomUrl",param,FindIntercomUrlVO.class);
|
||||
}
|
||||
|
||||
//成功
|
||||
public CloseIntercomVO closeIntercom(String vehicle,String channelIds) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getCloseAudio");
|
||||
param.put("vehicle",vehicle);
|
||||
param.put("channelIds",channelIds);
|
||||
return this.callPost("/public/v4/BUSINESS/api/audio/closeIntercom",param,CloseIntercomVO.class);
|
||||
}
|
||||
|
||||
// GetAiPictureVOListVO{super=ApiResponse{code=0, message=请求参数不能为空, data=null}},原因:请求参数不能为空,接口bug,自建项目使用,暂时跳过
|
||||
public GetAiPictureVOListVO getAiPictureVOList(AiPictureVOList aiPictureVOList) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
Gson gson = new Gson();
|
||||
param.put(ParamConstant.METHOD,"getAiPictureVOList");
|
||||
// param.put("aiPictureVOListVO", gson.toJson(aiPictureVOListVO));
|
||||
param.put("startTime",aiPictureVOList.getStartTime());
|
||||
param.put("endTime",aiPictureVOList.getEndTime());
|
||||
param.put("firstType",String.valueOf(aiPictureVOList.getFirstType()));
|
||||
param.put("secondType",String.valueOf(aiPictureVOList.getSecondType()));
|
||||
param.put("DataType",String.valueOf(aiPictureVOList.getDataType()));
|
||||
param.put("curPage",String.valueOf(aiPictureVOList.getCurPage()));
|
||||
param.put("pageSize",String.valueOf(aiPictureVOList.getPageSize()));
|
||||
param.put("sortIndx",aiPictureVOList.getSortIndx());
|
||||
param.put("sortDir",aiPictureVOList.getSortDir());
|
||||
param.put("vehicleId", String.valueOf(aiPictureVOList.getVehicleId()));
|
||||
return this.callPost("/public/v4/BUSINESS/media/picture/getAiPictureVOList",param,GetAiPictureVOListVO.class);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @Description //IOT
|
||||
**/
|
||||
|
||||
// GetHumidityListVO{super=ApiResponse{code=0, message=请求的参数错误, data=null}}原因:接口bug,取缓存的dataterminalid不对
|
||||
public GetHumidityListVO getHumidityList(HumidityList humidityList) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getHumidityList");
|
||||
param.put("vehicleId",String.valueOf(humidityList.getVehicleId()));
|
||||
param.put("carId",String.valueOf(humidityList.getCarId()));
|
||||
param.put("bTime",humidityList.getbTime());
|
||||
param.put("eTime",humidityList.geteTime());
|
||||
param.put("intervalTime",String.valueOf(humidityList.getIntervalTime()));
|
||||
return this.callPost("/public/v4/IOT-TRACK/tempAndHumidity/getHumidityList",param,GetHumidityListVO.class);
|
||||
}
|
||||
|
||||
// GetOilCalListVO{super=ApiResponse{code=0, message=请求dataTerminalId为空, data=null}}原因:接口bug,取缓存的dataterminalid不对
|
||||
public GetOilCalListVO getOilCalList(OilCalList oilCalList) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getOilCalList");
|
||||
param.put("vehicleId",String.valueOf(oilCalList.getVehicleId()));
|
||||
param.put("carId",String.valueOf(oilCalList.getCarId()));
|
||||
param.put("sTime",oilCalList.getsTime());
|
||||
param.put("eTime",oilCalList.geteTime());
|
||||
param.put("second",String.valueOf(oilCalList.getSecond()));
|
||||
param.put("oilStatus",String.valueOf(oilCalList.getOilStatus()));
|
||||
return this.callPost("/public/v4/IOT-TRACK/oilConnect/getOilCalList",param,GetOilCalListVO.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Description //FUNCTION
|
||||
**/
|
||||
|
||||
//ok
|
||||
public SendVoiceDirectiveVO sendVoiceDirective(String vehicles,String content) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"sendVoiceDirective");
|
||||
param.put("vehicles",vehicles);
|
||||
param.put("content",content);
|
||||
return this.callPost("/public/v4/FUNCTION/instruction/sendVoiceDirective",param,SendVoiceDirectiveVO.class);
|
||||
}
|
||||
|
||||
|
||||
//ok
|
||||
public SendFlashDirectiveVO sendFlashDirective(String vehicle,String channelIds) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"sendFlashDirective");
|
||||
param.put("vehicle",vehicle);
|
||||
param.put("channelIds",channelIds);
|
||||
return this.callPost("/public/v4/FUNCTION/instruction/sendFlashDirective",param,SendFlashDirectiveVO.class);
|
||||
}
|
||||
|
||||
//ok
|
||||
public SendVechileVoiceVO sendVechileVoice(String vehicles, String content, String format) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"sendVechileVoice");
|
||||
param.put("vehicles",vehicles);
|
||||
param.put("content",content);
|
||||
param.put("format",format);
|
||||
return this.callPost("/public/v4/FUNCTION/api/lcdcmd/sendVechileVoice",param,SendVechileVoiceVO.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Description //SAFETY
|
||||
**/
|
||||
|
||||
// ok
|
||||
public ListActiveSafetyEventVO listActiveSafetyEvent(String startTime,String endTime,String vehicle,Integer isoffsetlonlat) throws ApiException {
|
||||
Map<String, String> param2 = new HashMap<>();
|
||||
Map<String, Object> param = new HashMap<>();
|
||||
param2.put(ParamConstant.METHOD,"listActiveSafetyEvent");
|
||||
param2.put("starttime",startTime);
|
||||
param2.put("endtime",endTime);
|
||||
param2.put("vehicle",vehicle);
|
||||
param2.put("isoffsetlonlat",String.valueOf(isoffsetlonlat));
|
||||
param.put("starttime",Long.valueOf(startTime));
|
||||
param.put("endtime",Long.valueOf(endTime));
|
||||
param.put("vehicle",vehicle);
|
||||
param.put("isoffsetlonlat",isoffsetlonlat);
|
||||
return this.callPostJson("/public/v4/BL-MODULE-ACTIVE-SAFETY-WEB/api/activeSafetyEvent/listActiveSafetyEvent", param, param2,ListActiveSafetyEventVO.class);
|
||||
}
|
||||
|
||||
//ok
|
||||
public GetStatStatementVO getStatStatement(String startTime,String endTime) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getStatStatement");
|
||||
param.put("startTime",startTime);
|
||||
param.put("endTime",endTime);
|
||||
return this.callPost("/public/v4/BL-MODULE-ACTIVE-SAFETY-WEB/api/drivingBehavior/getStatStatement",param,GetStatStatementVO.class);
|
||||
}
|
||||
|
||||
//ok
|
||||
public GetTravelListVO getTravelList(String starttime, String endtime) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getTravelList");
|
||||
param.put("starttime",starttime);
|
||||
param.put("endtime",endtime);
|
||||
return this.callPost("/public/v4/BL-MODULE-ACTIVE-SAFETY-WEB/api/vehicleTravel/getTravelList",param,GetTravelListVO.class);
|
||||
}
|
||||
|
||||
//{"code":104,"message":"没有权限访问该接口"}
|
||||
public GetDrivingTimeListVO getDrivingTimeList(String vehicleNo, String startTime, String endTime, String format) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getDrivingTimeList");
|
||||
param.put("vehicleNo",vehicleNo);
|
||||
param.put("endTime",endTime);
|
||||
param.put("format",format);
|
||||
param.put("startTime",startTime);
|
||||
return this.callGet("/public/v4/BL-MODULE-ACTIVE-SAFETY-WEB/api/drivingTimeRecord/getDrivingTimeList",param, GetDrivingTimeListVO.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Description //BASIC
|
||||
**/
|
||||
|
||||
/**
|
||||
* @Description //COLD
|
||||
**/
|
||||
// ok
|
||||
public GetStorePointTempHumListVO getStorePointTempHumList(StorePointTempHumList storeName) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getStorePointTempHumList");
|
||||
param.put("storeName",storeName.getStoreName());
|
||||
param.put("storeCode",storeName.getStoreCode());
|
||||
param.put("freezerName",storeName.getFreezerName());
|
||||
param.put("pointName",storeName.getPointName());
|
||||
param.put("btime",storeName.getBtime());
|
||||
param.put("etime",storeName.getEtime());
|
||||
return this.callPost("/public/v4/BL-MODULE-COLD-CHAIN-WEB/api/cold/storeTempHum/getStorePointTempHumList",param,GetStorePointTempHumListVO.class);
|
||||
}
|
||||
// ok
|
||||
public GetStoreTempHumVO getStoreTempHum(String storeName, String storeCode, String freezerName, String pointNames) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getStoreTempHum");
|
||||
param.put("storeName",storeName);
|
||||
param.put("storeCode",storeCode);
|
||||
param.put("freezerName",freezerName);
|
||||
param.put("pointNames",pointNames);
|
||||
return this.callPost("/public/v4/BL-MODULE-COLD-CHAIN-WEB/api/cold/storeTempHum/getStoreTempHum",param,GetStoreTempHumVO.class);
|
||||
}
|
||||
// ok
|
||||
public GetStoreInfoListVO getStoreInfoList(String storeName, String storeCode) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getStoreInfoList");
|
||||
param.put("storeName",storeName);
|
||||
param.put("storeCode",storeCode);
|
||||
return this.callPost("/public/v4/BL-MODULE-COLD-CHAIN-WEB/api/cold/storeManage/getStoreInfoList",param,GetStoreInfoListVO.class);
|
||||
}
|
||||
// ok
|
||||
public GetPointTempHumListVO getPointTempHumList(PointTempHumList pointName) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getPointTempHumList");
|
||||
param.put("storageName",pointName.getStorageName());
|
||||
param.put("storageCode",pointName.getStorageCode());
|
||||
param.put("locationName",pointName.getLocationName());
|
||||
param.put("pointName",pointName.getPointName());
|
||||
param.put("btime",pointName.getBtime());
|
||||
param.put("etime",pointName.getEtime());
|
||||
return this.callPost("/public/v4/BL-MODULE-COLD-CHAIN-WEB/api/cold/storageTempHum/getPointTempHumList",param,GetPointTempHumListVO.class);
|
||||
}
|
||||
// ok
|
||||
public GetStorageTempHumVO getStorageTempHum(String storageName, String storageCode, String locationName, String pointNames) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getStorageTempHum");
|
||||
param.put("storageName",storageName);
|
||||
param.put("storageCode",storageCode);
|
||||
param.put("locationName",locationName);
|
||||
param.put("pointNames",pointNames);
|
||||
return this.callPost("/public/v4/BL-MODULE-COLD-CHAIN-WEB/api/cold/storageTempHum/getStorageTempHum",param,GetStorageTempHumVO.class);
|
||||
}
|
||||
// ok
|
||||
public GetStorageInfoListVO getStorageInfoList(String storageName, String storageCode) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getStorageInfoList");
|
||||
param.put("storageName",storageName);
|
||||
param.put("storageCode",storageCode);
|
||||
return this.callPost("/public/v4/BL-MODULE-COLD-CHAIN-WEB/api/cold/storageManage/getStorageInfoList",param,GetStorageInfoListVO.class);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @Description //COMMON
|
||||
**/
|
||||
// ok
|
||||
public GetTerBasicInfoVO getTerBasicInfo(String vehicleNo) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getTerBasicInfo");
|
||||
param.put("vehicleNo", vehicleNo);
|
||||
return this.callPost("/public/v4/COMMON-MODULE-TERMINAL-WEB/api/terBasicInfo/getTerBasicInfo",param, GetTerBasicInfoVO.class);
|
||||
}
|
||||
// ok
|
||||
public FindAllTerminalVO findAllTerminal() throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"findAllTerminal");
|
||||
return this.callGet("/public/v4/COMMON-MODULE-TERMINAL-WEB/api/terBasicInfo/findAllTerminal",param, FindAllTerminalVO.class);
|
||||
}
|
||||
//ok
|
||||
public GetNewVideoUrlVO getNewVideoUrl(String vehicle, String expiry, String videoQuality) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getOpenVideoUrl");
|
||||
param.put("vehicle", vehicle);
|
||||
param.put("expiry", expiry);
|
||||
param.put("videoQuality", videoQuality);
|
||||
return this.callGet("/public/v4/COMMON-MODULE-MEDIA-WEB/api/media/video/getNewVideoUrl",param, GetNewVideoUrlVO.class);
|
||||
}
|
||||
//ok
|
||||
public CloseVideoUrlVO closeVideoUrl(String guid) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"closeVideoUrl");
|
||||
param.put("guid", guid);
|
||||
return this.callGet("/public/v4/COMMON-MODULE-MEDIA-WEB/api/media/video/closeVideoUrl",param, CloseVideoUrlVO.class);
|
||||
}
|
||||
// 数据对 但解析失败 原因:gson date 接 long失败 和 fastjson 有区别
|
||||
public FindAllTerminalAndVehicleVO findAllTerminalAndVehicle(String synTime) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"findAllTerminalAndVehicle");
|
||||
param.put("synTime", synTime);
|
||||
return this.callGet("/public/v4/COMMON-MODULE-TERMINAL-WEB/api/terAndVeInfo/findAllTerminalAndVehicle",param, FindAllTerminalAndVehicleVO.class);
|
||||
}
|
||||
|
||||
// ok
|
||||
public GetAreaListByLonLatVO getAreaListByLonLat(AreaListByLonLat areaListByLonLat) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getAreaListByLonLat");
|
||||
param.put("vehicleNo", areaListByLonLat.getVehicleNo());
|
||||
param.put("format", areaListByLonLat.getFormat());
|
||||
param.put("offSetLonLat", areaListByLonLat.getOffSetLonLat());
|
||||
param.put("lon", areaListByLonLat.getLon());
|
||||
param.put("lat", areaListByLonLat.getLat());
|
||||
return this.callGet("/public/v4/COMMON-MODULE-BASIC-ELEMENT-WEB/api/area/getAreaListByLonLat",param,GetAreaListByLonLatVO.class);
|
||||
}
|
||||
|
||||
//没有权限
|
||||
public GetPlaybackVideoVO getPlaybackVideo(String vehicle, String channelIds,String startTime, String endTime) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getRenewAudio");
|
||||
param.put("vehicle",vehicle);
|
||||
param.put("channelIds",channelIds);
|
||||
param.put("startTime",startTime);
|
||||
param.put("endTime",endTime);
|
||||
return this.callPost("/public/v4/BUSINESS/api/media/video/getPlaybackVideoUrl",param, GetPlaybackVideoVO.class);
|
||||
}
|
||||
|
||||
// ok
|
||||
public SetOverTempVO setOverTemp(OverTemp overTemp, TempSetting tempSetting, NotifyLinkman NotifyLinkman) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
Gson gson = new Gson();
|
||||
param.put(ParamConstant.METHOD,"setOverTemp");
|
||||
param.put("vehicleNos", overTemp.getVehicleNos());
|
||||
param.put("isApply", overTemp.getIsApply());
|
||||
param.put("tempSetting", gson.toJson(tempSetting));
|
||||
param.put("isNotifyLinkman",overTemp.getIsNotifyLinkman());
|
||||
param.put("notifyLinkman", gson.toJson(NotifyLinkman));
|
||||
param.put("isPlatformShow", overTemp.getIsPlatformShow());
|
||||
param.put("isAlarmSound", overTemp.getIsAlarmSound());
|
||||
param.put("remark", overTemp.getRemark());
|
||||
return this.callPost("/public/v4/COMMON-MODULE-ALARM-WEB/alarm/api/setOverTemp",param,SetOverTempVO.class);
|
||||
}
|
||||
|
||||
//} 原因:接口返回的是result 不是 data
|
||||
public GetEquipInfoHistoryVO getEquipInfoHistory(EquipInfoReal equipcode) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getEquipInfoHistory");
|
||||
param.put("equipcode",equipcode.getEquipcode());
|
||||
param.put("sessionid",equipcode.getSessionid());
|
||||
param.put("isoffsetlonlat",equipcode.getIsoffsetlonlat());
|
||||
param.put("btime",equipcode.getBtime());
|
||||
param.put("etime",equipcode.getEtime());
|
||||
param.put("second",equipcode.getSecond());
|
||||
return this.callPost("/public/v4/COMMON-MODULE-TERMINAL-WEB/api/getEquipInfoHistory",param,GetEquipInfoHistoryVO.class);
|
||||
}
|
||||
|
||||
//} 原因:接口返回的是result 不是 data
|
||||
public GetEquipInfoRealVO getEquipInfoReal(EquipInfoReal equipcode) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getEquipInfoReal");
|
||||
param.put("equipcode",equipcode.getEquipcode());
|
||||
param.put("sessionid",equipcode.getSessionid());
|
||||
param.put("isoffsetlonlat",equipcode.getIsoffsetlonlat());
|
||||
param.put("btime",equipcode.getBtime());
|
||||
param.put("etime",equipcode.getEtime());
|
||||
param.put("second",equipcode.getSecond());
|
||||
|
||||
return this.callPost("/public/v4/COMMON-MODULE-TERMINAL-WEB/api/getEquipInfoReal",param,GetEquipInfoRealVO.class);
|
||||
}
|
||||
|
||||
//} OK
|
||||
public OpenAudioVO openAudio(GBVideo gbVideo) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"openAudio");
|
||||
param.put("vehicleid",String.valueOf(gbVideo.getVehicleid()));
|
||||
param.put("wid", gbVideo.getWid());
|
||||
param.put("channelids", gbVideo.getChannelids());
|
||||
param.put("videoqualitystr", gbVideo.getVideoqualitystr());
|
||||
param.put("balarmtime", gbVideo.getBalarmtime());
|
||||
param.put("eventtype",String.valueOf(gbVideo.getEventtype()));
|
||||
param.put("guid",String.valueOf(gbVideo.getGuid()));
|
||||
return this.callPostJson("/public/v4/BUSINESS/api/media/Audio/openAudio",gbVideo,param,OpenAudioVO.class);
|
||||
}
|
||||
|
||||
// OK
|
||||
public GetAudioUrlVO getAudioUrl(GBVideo gbVideo) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getAudioUrl");
|
||||
param.put("vehicleid",String.valueOf(gbVideo.getVehicleid()));
|
||||
param.put("wid", gbVideo.getWid());
|
||||
param.put("channelids", gbVideo.getChannelids());
|
||||
param.put("videoqualitystr", gbVideo.getVideoqualitystr());
|
||||
param.put("balarmtime", gbVideo.getBalarmtime());
|
||||
param.put("eventtype",String.valueOf(gbVideo.getEventtype()));
|
||||
param.put("guid",String.valueOf(gbVideo.getGuid()));
|
||||
return this.callPostJson("/public/v4/COMMON-MODULE-MEDIA-WEB/api/media/Audio/getAudioUrl",gbVideo,param,GetAudioUrlVO.class);
|
||||
}
|
||||
|
||||
|
||||
//} OK
|
||||
public GetRenewAudioVO getRenewAudio(GBVideo gbVideo) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getRenewAudio");
|
||||
param.put("vehicleid",String.valueOf(gbVideo.getVehicleid()));
|
||||
param.put("wid", gbVideo.getWid());
|
||||
param.put("channelids", gbVideo.getChannelids());
|
||||
param.put("videoqualitystr", gbVideo.getVideoqualitystr());
|
||||
param.put("balarmtime", gbVideo.getBalarmtime());
|
||||
param.put("eventtype",String.valueOf(gbVideo.getEventtype()));
|
||||
param.put("guid",String.valueOf(gbVideo.getGuid()));
|
||||
return this.callPostJson("/public/v4/COMMON-MODULE-MEDIA-WEB/api/media/Audio/getRenewAudio",gbVideo,param,GetRenewAudioVO.class);
|
||||
}
|
||||
|
||||
|
||||
//} OK
|
||||
public GetCloseAudioVO getCloseAudio(GBVideo gbVideo) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getCloseAudio");
|
||||
param.put("vehicleid",String.valueOf(gbVideo.getVehicleid()));
|
||||
param.put("wid", gbVideo.getWid());
|
||||
param.put("channelids", gbVideo.getChannelids());
|
||||
param.put("videoqualitystr", gbVideo.getVideoqualitystr());
|
||||
param.put("balarmtime", gbVideo.getBalarmtime());
|
||||
param.put("eventtype",String.valueOf(gbVideo.getEventtype()));
|
||||
param.put("guid",String.valueOf(gbVideo.getGuid()));
|
||||
return this.callPostJson("/public/v4/COMMON-MODULE-MEDIA-WEB/api/media/Audio/getCloseAudio",gbVideo,param,GetCloseAudioVO.class);
|
||||
}
|
||||
//ok
|
||||
public GetRenewVideoVO getRenewVideo(String vehicle, String channelIds) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getRenewVideo");
|
||||
param.put("vehicle",vehicle);
|
||||
param.put("channelIds",channelIds);
|
||||
|
||||
return this.callPost("/public/v4/COMMON-MODULE-MEDIA-WEB/api/media/video/getRenewVideo",param,GetRenewVideoVO.class);
|
||||
}
|
||||
//ok
|
||||
public GetCloseVideoVO getCloseVideo(String vehicle, String channelIds) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getCloseVideo");
|
||||
param.put("vehicle",vehicle);
|
||||
param.put("channelIds",channelIds);
|
||||
return this.callGet("/public/v4/COMMON-MODULE-MEDIA-WEB/api/media/video/getCloseVideo",param,GetCloseVideoVO.class);
|
||||
}
|
||||
|
||||
// ok
|
||||
public ChangeVideoQualityVO changeVideoQuality( String vehicle, String channelIds, Integer videoQuality) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"changeVideoQuality");
|
||||
param.put("vehicle",String.valueOf(vehicle));
|
||||
param.put("channelIds",channelIds);
|
||||
param.put("videoQuality",String.valueOf(videoQuality));
|
||||
return this.callGet("/public/v4/COMMON-MODULE-MEDIA-WEB/api/media/video/changeVideoQuality",param,ChangeVideoQualityVO.class);
|
||||
}
|
||||
|
||||
//ok
|
||||
public GetOpenVideoVO getOpenVideo( String vehicle, String channelIds, Integer videoQuality) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"getOpenVideo");
|
||||
param.put("vehicle",String.valueOf(vehicle));
|
||||
param.put("channelIds",channelIds);
|
||||
param.put("videoQuality",String.valueOf(videoQuality));
|
||||
return this.callPost("/public/v4/COMMON-MODULE-MEDIA-WEB/api/media/video/getOpenVideo",param,GetOpenVideoVO.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Description //SMART
|
||||
**/
|
||||
//ok
|
||||
public QueryElockOperateRecordVO queryElockOperateRecord(String bTimeStr, String eTimeStr, List<String> equipCodeList) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"queryElockOperateRecord");
|
||||
param.put("startTime", bTimeStr);
|
||||
param.put("endTime", eTimeStr);
|
||||
param.put("equipCodeList", StringUtils.join(equipCodeList, ","));
|
||||
return this.callPost("/public/v4/BL-MODULE-SMART-TRACE-WEB/api/trace/bluetoothElock/queryElockOperateRecord",param, QueryElockOperateRecordVO.class);
|
||||
}
|
||||
|
||||
|
||||
//}ok
|
||||
public QueryBluetoothElockVO queryBluetoothElock(Integer deviceType, String sdkVersion) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"queryBluetoothElock");
|
||||
param.put("deviceType", String.valueOf(deviceType));
|
||||
param.put("sdkVersion", sdkVersion);
|
||||
return this.callGet("/public/v4/BL-MODULE-SMART-TRACE-WEB/api/sdk/trace/bluetoothElock/queryBluetoothElock", param, QueryBluetoothElockVO.class);
|
||||
}
|
||||
|
||||
//} ok
|
||||
public UploadOperateRecordVO uploadOperateRecord(List<Integer> dataTerminalIdList, Integer operateType,String operateTime,
|
||||
Integer lon, Integer lat, String commids) throws ApiException {
|
||||
Map<String, String> paramMap = new HashMap<>();
|
||||
String json = "{\"dataTerminalIdList\":"+dataTerminalIdList.toString()+",\"operateType\":\""+operateType+"\",\"operateTime\":\""+operateTime+"\",\"lon\":"+lon+",\"lat\":"+lat+",\"commids\":\""+commids+"\"}";
|
||||
paramMap.put(ParamConstant.METHOD,"uploadOperateRecord");
|
||||
paramMap.put("param", json);
|
||||
return this.callGet("/public/v4/BL-MODULE-SMART-TRACE-WEB/api/sdk/trace/bluetoothElock/uploadOperateRecord", paramMap, UploadOperateRecordVO.class);
|
||||
}
|
||||
|
||||
|
||||
//} ok
|
||||
public SaveBluetoothleLockErrorOprRecordVO saveBluetoothleLockErrorOprRecord(String commids,Integer lon, Integer lat,Integer operateType,
|
||||
Integer errorCode,String errorMsg) throws ApiException {
|
||||
Map<String, String> paramMap = new HashMap<>();
|
||||
String json = "{\"commids\":\""+commids+"\",\"lon\":"+lon+",\"lat\":"+lat+",\"operateType\":"+operateType+",\"errorCode\":"+errorCode+",\"errorMsg\":\""+errorMsg+"\"}";
|
||||
System.out.println(json);
|
||||
paramMap.put(ParamConstant.METHOD,"saveBluetoothleLockErrorOprRecord");
|
||||
paramMap.put("param", json);
|
||||
return this.callGet("/public/v4/BL-MODULE-SMART-TRACE-WEB/api/sdk/trace/bluetoothElock/saveBluetoothleLockErrorOprRecord",paramMap, SaveBluetoothleLockErrorOprRecordVO.class);
|
||||
}
|
||||
|
||||
//没有权限
|
||||
public VehicleUpdateVO vehicleUpdate(UpdateVehicleVO updateVehicleVO) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"vehicleUpdate");
|
||||
param.put("timestamp", updateVehicleVO.getTimestamp());
|
||||
param.put("vehicleNo", updateVehicleVO.getVehicleNo());
|
||||
param.put("motorcade", updateVehicleVO.getMotorcade());
|
||||
param.put("brand", updateVehicleVO.getBrand());
|
||||
param.put("regDate", updateVehicleVO.getRegDate());
|
||||
param.put("length", String.valueOf(updateVehicleVO.getLength()));
|
||||
param.put("volume", String.valueOf(updateVehicleVO.getVolume()));
|
||||
param.put("load", String.valueOf(updateVehicleVO.getLoad()));
|
||||
param.put("isValid", String.valueOf(updateVehicleVO.getIsValid()));
|
||||
return this.callPost("/public/v4/E6-CUSTOMER-WEB/sto/vehicleBase/vehicleUpdate", param, VehicleUpdateVO.class);
|
||||
}
|
||||
|
||||
public PushVehicleDepartureVO pushVehicleDepartureStatus(String vehicleNo, Integer departureStatus, Integer taskId, String format) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"pushVehicleDepartureStatus");
|
||||
param.put("vehicleNo", vehicleNo);
|
||||
param.put("departureStatus", String.valueOf(departureStatus));
|
||||
param.put("taskId", String.valueOf(taskId));
|
||||
param.put("format", format);
|
||||
return this.callPost("/public/v4/E6-CUSTOMER-WEB/renfu/departure/pushVehicleDepartureStatus", param, PushVehicleDepartureVO.class);
|
||||
}
|
||||
|
||||
// // 这个 底层返回格式为
|
||||
// // private Integer code;
|
||||
// // /**
|
||||
// // * 返回消息
|
||||
// // */
|
||||
// // private String msg;
|
||||
// // /**
|
||||
// // * 返回对象
|
||||
// // */
|
||||
// // protected T data;
|
||||
public DriverUpdateVO driverUpdate(UpdateDriverVO updateDriverVO) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"driverUpdate");
|
||||
param.put("driverName", updateDriverVO.getDriverName());
|
||||
param.put("phone", updateDriverVO.getPhone());
|
||||
param.put("driverLn", updateDriverVO.getDriverLn());
|
||||
param.put("isValid", updateDriverVO.getIsValid());
|
||||
param.put("motorcade", updateDriverVO.getMotorcade());
|
||||
param.put("vehicleNo", updateDriverVO.getVehicleNo());
|
||||
param.put("entryDate", updateDriverVO.getEntryDate());
|
||||
return this.callGet("/public/v4/E6-CUSTOMER-WEB/sto/driverBase/driverUpdate",param, DriverUpdateVO.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Description //LOGISTICS
|
||||
**/
|
||||
// {"code":104,"message":"没有权限"}
|
||||
public GetDriverLimitVO getDriverLimit(String drivercode, String corpcode, String paytype) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"GetDriverLimit");
|
||||
param.put("drivercode", drivercode);
|
||||
param.put("corpcode", corpcode);
|
||||
param.put("paytype", paytype);
|
||||
return this.callGet("/public/v4/LOGISTICS-ECOLOGICAL/api/Interface/Call/GetDriverLimit",param, GetDriverLimitVO.class);
|
||||
}
|
||||
// 权限
|
||||
public PayBillVO payBill(PBill pBill) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"PayBill");
|
||||
param.put("billno", pBill.getBillno());
|
||||
param.put("drivercode", pBill.getDrivercode());
|
||||
param.put("corpcode", pBill.getCorpcode());
|
||||
param.put("gasstation", pBill.getBillno());
|
||||
param.put("oilid", pBill.getOilid());
|
||||
param.put("gunno", pBill.getGunno());
|
||||
param.put("addtime", pBill.getAddtime());
|
||||
param.put("standardprice", pBill.getStandardprice());
|
||||
param.put("payprice", pBill.getPayprice());
|
||||
param.put("volume", pBill.getVolume());
|
||||
param.put("money", pBill.getMoney());
|
||||
param.put("driverpayprice", pBill.getDriverpayprice());
|
||||
param.put("driverpaymoney", pBill.getDriverpaymoney());
|
||||
param.put("nationalstandardprice", pBill.getNationalstandardprice());
|
||||
param.put("paytype", pBill.getPaytype());
|
||||
param.put("remark", pBill.getRemark());
|
||||
param.put("stationAddr", pBill.getStationAddr());
|
||||
return this.callPost("/public/v4/LOGISTICS-ECOLOGICAL/api/Interface/Call/PayBill",param, PayBillVO.class);
|
||||
}
|
||||
// 权限
|
||||
public RechargeMoneyVO rechargeMoney(String rechargeno,String corpcode,String money,String remark) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"RechargeMoney");
|
||||
param.put("rechargeno", rechargeno);
|
||||
param.put("corpcode", corpcode);
|
||||
param.put("money", money);
|
||||
param.put("remark", remark);
|
||||
return this.callGet("/public/v4/LOGISTICS-ECOLOGICAL/api/Interface/Call/RechargeMoney",param, RechargeMoneyVO.class);
|
||||
}
|
||||
|
||||
// 权限
|
||||
public RevokeBillVO revokeBill(Bill billno) throws ApiException {
|
||||
Map<String, String> param = new HashMap<>();
|
||||
param.put(ParamConstant.METHOD,"RevokeBill");
|
||||
param.put("billno", billno.getBillno());
|
||||
param.put("drivercode", billno.getDrivercode());
|
||||
param.put("corpcode", billno.getCorpcode());
|
||||
param.put("paytype", billno.getPaytype());
|
||||
param.put("remark", billno.getRemark());
|
||||
return this.callGet("/public/v4/LOGISTICS-ECOLOGICAL/api/Interface/Call/RevokeBill",param, RevokeBillVO.class);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,145 @@
|
|||
package com.e6yun.project.sdk.api;
|
||||
|
||||
|
||||
import com.cpxt.biz.domain.BizCar;
|
||||
import com.cpxt.biz.domain.BizCarState;
|
||||
import com.cpxt.biz.domain.TrackTemp;
|
||||
import com.cpxt.biz.mapper.BizCarMapper;
|
||||
import com.cpxt.biz.mapper.BizCarStateMapper;
|
||||
import com.cpxt.biz.mapper.TrackTempMapper;
|
||||
import com.cpxt.common.utils.DateUtils;
|
||||
import com.cpxt.common.utils.Helper;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.basic.VehicleInfoResp;
|
||||
import com.e6yun.project.sdk.api.pojo.business.GetVehicleInfoVO;
|
||||
import com.e6yun.project.sdk.api.pojo.saftey.GetTravelListVO;
|
||||
import org.apache.commons.beanutils.PropertyUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
public class Main {
|
||||
// 域名
|
||||
private static final String ADDRESS = "http://api.e6yun.com/";
|
||||
// 公钥
|
||||
private static final String APP_KEY = "FEB9F91D-BCD7-4DC2-97D1-CB599EEAF9D5";
|
||||
// 密钥
|
||||
private static final String SECRET_KEY = "A8211E8F-9E95-4C80-9414-CD5E1F675FEF";
|
||||
|
||||
@Autowired
|
||||
private static BizCarStateMapper stateMapper;
|
||||
@Autowired
|
||||
private static BizCarMapper carMapper;
|
||||
@Autowired
|
||||
private static TrackTempMapper trackMapper;
|
||||
|
||||
public static void main(String[] args) {
|
||||
// 创建 E6SdkApi 以使用SDK API
|
||||
E6SdkApi e6SdkApi = new E6SdkApi(ADDRESS, APP_KEY, SECRET_KEY);
|
||||
try {
|
||||
// 通过 e6SdkApi 来使用API
|
||||
GetVehicleInfoVO vehicleInfoVO = e6SdkApi.GetVehcileInfo("-1");
|
||||
System.out.println(vehicleInfoVO);
|
||||
|
||||
if (Helper.FInt(vehicleInfoVO.getCode())==1) {
|
||||
List<VehicleInfoResp> list = vehicleInfoVO.getData();
|
||||
for (VehicleInfoResp info : list) {
|
||||
String carNo = info.getVehicleNO();
|
||||
|
||||
BizCar dbcar = carMapper.selectByCarNo(carNo);
|
||||
if (dbcar != null) {
|
||||
BizCarState newstate = new BizCarState();
|
||||
|
||||
newstate.setCarId(dbcar.getId());
|
||||
newstate.setCarNo(dbcar.getCarNo());
|
||||
newstate.setVin(dbcar.getVin());
|
||||
newstate.setVehicleNo(info.getVehicleNo());
|
||||
newstate.setRegName(info.getRegName());
|
||||
if (!Helper.NStr(info.getGpsTime()).equals(""))
|
||||
newstate.setGpsTime(DateUtils.parseDate(Helper.NStr(info.getGpsTime()).replace(".0", "")));
|
||||
newstate.setSpeed(Helper.FLong(info.getSpeed()));
|
||||
newstate.setOdometer(new BigDecimal(Helper.FDouble(info.getOdometer())));
|
||||
newstate.setLat(info.getLat());
|
||||
newstate.setLon(info.getLon());
|
||||
newstate.setDirection(Helper.FInt(info.getDirection()));
|
||||
newstate.setStatus(info.getStatus());
|
||||
newstate.setPlaceName(info.getPlaceName());
|
||||
newstate.setProvice(info.getProvice());
|
||||
newstate.setCity(info.getCity());
|
||||
newstate.setDistrict(info.getDistrict());
|
||||
newstate.setRoadName(info.getRoadName());
|
||||
newstate.setT1(info.getT1());
|
||||
newstate.setT2(info.getT2());
|
||||
newstate.setT3(info.getT3());
|
||||
newstate.setT4(info.getT4());
|
||||
newstate.setT5(info.getT5());
|
||||
newstate.setT6(info.getT6());
|
||||
newstate.setT7(info.getT7());
|
||||
newstate.setT8(info.getT8());
|
||||
newstate.setLat02(info.getLat02());
|
||||
newstate.setLon02(info.getLon02());
|
||||
newstate.setAreaName(info.getAreaName());
|
||||
newstate.setTime1(info.getTime1());
|
||||
newstate.setTime2(info.getTime2());
|
||||
newstate.setTime3(info.getTime3());
|
||||
newstate.setTime4(info.getTime4());
|
||||
newstate.setTime5(info.getTime5());
|
||||
newstate.setTime6(info.getTime6());
|
||||
newstate.setTime7(info.getTime7());
|
||||
newstate.setTime8(info.getTime8());
|
||||
newstate.setH1(info.getH1());
|
||||
newstate.setH2(info.getH2());
|
||||
newstate.setH3(info.getH3());
|
||||
newstate.setH4(info.getH4());
|
||||
newstate.setH5(info.getH5());
|
||||
newstate.setH6(info.getH6());
|
||||
newstate.setH7(info.getH7());
|
||||
newstate.setH8(info.getH8());
|
||||
newstate.setHt1(info.getHt1());
|
||||
newstate.setHt2(info.getHt2());
|
||||
newstate.setHt3(info.getHt3());
|
||||
newstate.setHt4(info.getHt4());
|
||||
newstate.setHt5(info.getHt5());
|
||||
newstate.setHt6(info.getHt6());
|
||||
newstate.setHt7(info.getHt7());
|
||||
newstate.setHt8(info.getHt8());
|
||||
newstate.setDeviceTypeStr(info.getDeviceTypeStr());
|
||||
newstate.setEquipCode(info.getEquipCode());
|
||||
newstate.setOil(info.getOil());
|
||||
newstate.setHeight(Helper.FLong(info.getHeight()));
|
||||
newstate.setStopSec(Helper.FInt(info.getStopSec()));
|
||||
newstate.setAcc(info.getAcc());
|
||||
newstate.setOhm(info.getOhm());
|
||||
newstate.setCurAccSta(info.getCurAccSta());
|
||||
newstate.setCommIds(info.getCommIds());
|
||||
|
||||
// 更新实时定位信息
|
||||
BizCarState carState = stateMapper.selectByCarNo(carNo);
|
||||
if (carState != null) {
|
||||
newstate.setId(carState.getId());
|
||||
stateMapper.updateById(newstate);
|
||||
} else {
|
||||
stateMapper.insert(newstate);
|
||||
}
|
||||
|
||||
// 插入轨迹信息
|
||||
try {
|
||||
TrackTemp track = new TrackTemp();
|
||||
PropertyUtils.copyProperties(newstate, track);
|
||||
trackMapper.insert(track);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
// 业务逻辑
|
||||
// TODO
|
||||
} catch (ApiException e) {
|
||||
// 异常捕获
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
package com.e6yun.project.sdk.api.constant;
|
||||
|
||||
public class CodeConstant {
|
||||
/**
|
||||
* 成功
|
||||
*/
|
||||
public static final int SUCCESS = 1;
|
||||
|
||||
/**
|
||||
* 失败
|
||||
*/
|
||||
public static final int SYSTEM_ERROR = 0;
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
package com.e6yun.project.sdk.api.constant;
|
||||
|
||||
public class FormatConstant {
|
||||
public static final String XML = "xml";
|
||||
public static final String JSON = "json";
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
package com.e6yun.project.sdk.api.constant;
|
||||
|
||||
public class ParamConstant {
|
||||
public static final String APP_KEY = "appkey";
|
||||
public static final String TIMESTAMP = "timestamp";
|
||||
public static final String FORMAT = "format";
|
||||
public static final String METHOD = "method";
|
||||
public static final String SIGN = "sign";
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
package com.e6yun.project.sdk.api.core;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.Map;
|
||||
|
||||
@FunctionalInterface
|
||||
public interface ApiRequest {
|
||||
String apply(String path, Map<String, String> param) throws URISyntaxException, IOException;
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
package com.e6yun.project.sdk.api.core;
|
||||
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.Map;
|
||||
|
||||
@FunctionalInterface
|
||||
public interface ApiRequestJson {
|
||||
String apply(String path, Object paramRequestBody, Map<String, String> paramQueryString) throws URISyntaxException, IOException, ApiException;
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.core;
|
||||
|
||||
import com.google.gson.*;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.Date;
|
||||
|
||||
public class DateGson implements JsonSerializer<Date>, JsonDeserializer<Date> {
|
||||
@Override
|
||||
public Date deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException {
|
||||
return new Date(json.getAsJsonPrimitive().getAsLong());
|
||||
}
|
||||
|
||||
@Override
|
||||
public JsonElement serialize(Date src, Type typeOfSrc, JsonSerializationContext context) {
|
||||
return new JsonPrimitive(src.getTime());
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,128 @@
|
|||
package com.e6yun.project.sdk.api.core;
|
||||
|
||||
import com.e6yun.project.sdk.api.constant.CodeConstant;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.base.ApiResponse;
|
||||
import com.e6yun.project.sdk.api.pojo.base.ResultApiResponse;
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.JsonSyntaxException;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.Date;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* @author xuexiang@e6yun.com
|
||||
*/
|
||||
public class E6SdkCore extends E6SdkHttp {
|
||||
|
||||
/**
|
||||
* 构造函数
|
||||
*
|
||||
* @param address
|
||||
* @param appKey
|
||||
* @param secretKey
|
||||
* @throws IllegalArgumentException
|
||||
*/
|
||||
public E6SdkCore(String address, String appKey, String secretKey) throws IllegalArgumentException {
|
||||
super(address, appKey, secretKey);
|
||||
}
|
||||
|
||||
/**
|
||||
* 校验返回结果是否成功
|
||||
* @param resultApiResponse
|
||||
* @throws ApiException
|
||||
*/
|
||||
private void checkResultApiResponse(ResultApiResponse<?> resultApiResponse) throws ApiException {
|
||||
ApiResponse<?> apiResponse = resultApiResponse.getResult();
|
||||
if(Objects.isNull(apiResponse)){
|
||||
throw new ApiException(CodeConstant.SYSTEM_ERROR, "结果中缺少result字段");
|
||||
}
|
||||
Integer code = apiResponse.getCode();
|
||||
if(!Objects.equals(code, CodeConstant.SUCCESS)){
|
||||
throw new ApiException(apiResponse.getCode(), apiResponse.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 校验返回结果是否成功
|
||||
* @param apiResponse
|
||||
* @throws ApiException
|
||||
*/
|
||||
private void checkApiResponse(ApiResponse<?> apiResponse) throws ApiException {
|
||||
Integer code = apiResponse.getCode();
|
||||
if(!Objects.equals(code, CodeConstant.SUCCESS)){
|
||||
throw new ApiException(apiResponse.getCode(), apiResponse.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
private <T extends ResultApiResponse> T callResult(String path, Map<String, String> param, Class<T> clazz, ApiRequest apiRequest) throws ApiException {
|
||||
try {
|
||||
String result = apiRequest.apply(path, param);
|
||||
Gson gson = new GsonBuilder().registerTypeAdapter(Date.class, new DateGson()).create();
|
||||
T object = gson.fromJson(result, clazz);
|
||||
checkResultApiResponse(object);
|
||||
return object;
|
||||
} catch (IOException | URISyntaxException | JsonSyntaxException e) {
|
||||
throw new ApiException(CodeConstant.SYSTEM_ERROR, "接口调用失败", e);
|
||||
}
|
||||
}
|
||||
|
||||
protected <T extends ResultApiResponse> T callPostResult(String path, Map<String, String> param, Class<T> clazz) throws ApiException {
|
||||
return this.callResult(path, param, clazz, ((path1, param1) -> {
|
||||
return this.postFormBody(path1, param1);
|
||||
}));
|
||||
}
|
||||
|
||||
protected <T extends ResultApiResponse> T callGetResult(String path, Map<String, String> param, Class<T> clazz) throws ApiException {
|
||||
return this.callResult(path, param, clazz, ((path1, param1) -> {
|
||||
return this.get(path1, param1);
|
||||
}));
|
||||
}
|
||||
|
||||
private <T extends ApiResponse> T call(String path, Map<String, String> param, Class<T> clazz, ApiRequest apiRequest) throws ApiException {
|
||||
try {
|
||||
String result = apiRequest.apply(path, param);
|
||||
Gson gson = new GsonBuilder().registerTypeAdapter(Date.class, new DateGson()).create();
|
||||
T object = gson.fromJson(result, clazz);
|
||||
checkApiResponse(object);
|
||||
return object;
|
||||
} catch (IOException | URISyntaxException | JsonSyntaxException e) {
|
||||
throw new ApiException(CodeConstant.SYSTEM_ERROR, "接口调用失败", e);
|
||||
}
|
||||
}
|
||||
|
||||
protected <T extends ApiResponse> T callPost(String path, Map<String, String> param, Class<T> clazz) throws ApiException {
|
||||
return this.call(path, param, clazz, ((path1, param1) -> {
|
||||
return this.postFormBody(path1, param1);
|
||||
}));
|
||||
}
|
||||
|
||||
protected <T extends ApiResponse> T callGet(String path, Map<String, String> param, Class<T> clazz) throws ApiException {
|
||||
return this.call(path, param, clazz, ((path1, param1) -> {
|
||||
return this.get(path1, param1);
|
||||
}));
|
||||
}
|
||||
|
||||
private <T extends ApiResponse> T callJson(String path, Object paramRequestBody, Map<String, String> paramQueryString, Class<T> clazz, ApiRequestJson apiRequestJson) throws ApiException {
|
||||
try {
|
||||
String result = apiRequestJson.apply(path, paramRequestBody, paramQueryString);
|
||||
Gson gson = new GsonBuilder().registerTypeAdapter(Date.class, new DateGson()).create();
|
||||
T object = gson.fromJson(result, clazz);
|
||||
checkApiResponse(object);
|
||||
return object;
|
||||
} catch (IOException | URISyntaxException | JsonSyntaxException e) {
|
||||
throw new ApiException(CodeConstant.SYSTEM_ERROR, "接口调用失败", e);
|
||||
}
|
||||
}
|
||||
|
||||
protected <T extends ApiResponse> T callPostJson(String path, Object paramRequestBody, Map<String, String> paramQueryString, Class<T> clazz) throws ApiException {
|
||||
return this.callJson(path, paramRequestBody, paramQueryString, clazz, ((path1, paramRequestBody1, paramQueryString1) -> {
|
||||
return this.postJsonBody(path1, paramRequestBody1, paramQueryString1);
|
||||
}));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,192 @@
|
|||
package com.e6yun.project.sdk.api.core;
|
||||
|
||||
import com.e6yun.project.sdk.api.constant.CodeConstant;
|
||||
import com.e6yun.project.sdk.api.constant.FormatConstant;
|
||||
import com.e6yun.project.sdk.api.constant.ParamConstant;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.utils.OkhttpClientUtils;
|
||||
import com.e6yun.project.sdk.api.utils.SignUtils;
|
||||
import com.google.gson.*;
|
||||
import okhttp3.HttpUrl;
|
||||
import org.apache.commons.beanutils.BeanUtils;
|
||||
import org.apache.commons.collections4.MapUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.net.URISyntaxException;
|
||||
import java.time.Instant;
|
||||
import java.time.ZoneId;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
|
||||
public class E6SdkHttp {
|
||||
/**
|
||||
* 服务器地址
|
||||
*/
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* 公钥
|
||||
*/
|
||||
private String appKey;
|
||||
|
||||
/**
|
||||
* 私钥
|
||||
*/
|
||||
private String secretKey;
|
||||
|
||||
/**
|
||||
* 格式时间
|
||||
*/
|
||||
private static final DateTimeFormatter DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
||||
|
||||
/**
|
||||
* 构造函数
|
||||
* @param address
|
||||
* @param appKey
|
||||
* @param secretKey
|
||||
* @throws IllegalArgumentException
|
||||
*/
|
||||
public E6SdkHttp(String address, String appKey, String secretKey) throws IllegalArgumentException{
|
||||
if(StringUtils.isEmpty(address)){
|
||||
throw new IllegalArgumentException("服务器地址不能为空");
|
||||
}
|
||||
if(StringUtils.isEmpty(appKey)){
|
||||
throw new IllegalArgumentException("公钥不能为空");
|
||||
}
|
||||
if(StringUtils.isEmpty(secretKey)){
|
||||
throw new IllegalArgumentException("私钥不能为空");
|
||||
}
|
||||
this.appKey = appKey;
|
||||
this.secretKey = secretKey;
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取当前时间
|
||||
* @return
|
||||
*/
|
||||
private static String timestamp(){
|
||||
Instant instant = Instant.now();
|
||||
// 因为服务器的时区是东八区,所以客户端计算出的时间必须和服务器时区匹配
|
||||
final String SERVER_ZONE_ID = "+08:00";
|
||||
ZonedDateTime zonedDateTime = instant.atZone(ZoneId.of(SERVER_ZONE_ID));
|
||||
String timestamp = DATE_TIME_FORMATTER.format(zonedDateTime);
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
/**
|
||||
* 构建Url地址
|
||||
* @param path
|
||||
* @return
|
||||
* @throws URISyntaxException
|
||||
*/
|
||||
private String buildUrl(String path) throws URISyntaxException {
|
||||
HttpUrl.Builder huBuilder = HttpUrl.parse(this.address).newBuilder();
|
||||
String url = huBuilder.encodedPath(path).build().url().toString();
|
||||
return url;
|
||||
}
|
||||
|
||||
/**
|
||||
* 补全参数
|
||||
* @param param
|
||||
*/
|
||||
private void completeParam(Map<String, String> param){
|
||||
param.put(ParamConstant.APP_KEY, this.appKey);
|
||||
param.put(ParamConstant.FORMAT, FormatConstant.JSON);
|
||||
param.put(ParamConstant.TIMESTAMP, timestamp());
|
||||
String sign = SignUtils.sign(this.appKey, this.secretKey, param);
|
||||
param.put(ParamConstant.SIGN, sign.toUpperCase());
|
||||
}
|
||||
|
||||
/**
|
||||
* 校验参数
|
||||
* @param path
|
||||
* @param param
|
||||
*/
|
||||
private void checkParam(String path, Map<String, String> param) throws IllegalArgumentException{
|
||||
if(StringUtils.isEmpty(path)){
|
||||
throw new IllegalArgumentException("路径不能为空");
|
||||
}
|
||||
if(Objects.isNull(param)){
|
||||
throw new IllegalArgumentException("param不能为null");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送GET请求
|
||||
* @param path
|
||||
* @param param
|
||||
* @return
|
||||
* @throws URISyntaxException
|
||||
* @throws IOException
|
||||
*/
|
||||
protected String get(String path, Map<String, String> param) throws URISyntaxException, IOException {
|
||||
this.checkParam(path, param);
|
||||
this.completeParam(param);
|
||||
String requestBody = OkhttpClientUtils.get(this.buildUrl(path), param);
|
||||
return requestBody;
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送POST请求
|
||||
* @param path
|
||||
* @param param
|
||||
* @return
|
||||
* @throws URISyntaxException
|
||||
* @throws IOException
|
||||
*/
|
||||
protected String postFormBody(String path, Map<String, String> param) throws URISyntaxException, IOException {
|
||||
this.checkParam(path, param);
|
||||
this.completeParam(param);
|
||||
String requestBody = OkhttpClientUtils.postFormBody(this.buildUrl(path), param);
|
||||
return requestBody;
|
||||
}
|
||||
|
||||
private Map<String, String> objectToMap(Object param) {
|
||||
Map<String, String> map = new HashMap<>();
|
||||
Gson gson = new Gson();
|
||||
String json = gson.toJson(param);
|
||||
JsonObject jsonObject = JsonParser.parseString(json).getAsJsonObject();
|
||||
Set<Map.Entry<String, JsonElement>> entrySet = jsonObject.entrySet();
|
||||
entrySet.forEach((entry) ->{
|
||||
String key = entry.getKey();
|
||||
JsonElement value = entry.getValue();
|
||||
value.getAsString();
|
||||
map.put(key, value.getAsString());
|
||||
});
|
||||
return map;
|
||||
|
||||
}
|
||||
|
||||
protected String postJsonBody(String path, Object paramRequestBody, Map<String, String> paramQueryString) throws URISyntaxException, IOException, ApiException {
|
||||
if(StringUtils.isEmpty(path)){
|
||||
throw new IllegalArgumentException("路径不能为空");
|
||||
}
|
||||
if(Objects.isNull(paramRequestBody)){
|
||||
throw new IllegalArgumentException("param不能为null");
|
||||
}
|
||||
if(Objects.isNull(paramQueryString)){
|
||||
throw new IllegalArgumentException("paramQueryString不能为null");
|
||||
}
|
||||
// 查询字符串中的参数
|
||||
Map<String, String> queryString = new HashMap<>();
|
||||
// 对象转map用于计算sign
|
||||
Map<String, String> paramMap = this.objectToMap(paramRequestBody);
|
||||
queryString.put(ParamConstant.APP_KEY, this.appKey);
|
||||
queryString.put(ParamConstant.FORMAT, FormatConstant.JSON);
|
||||
queryString.put(ParamConstant.TIMESTAMP, timestamp());
|
||||
queryString.putAll(paramQueryString);
|
||||
paramMap.putAll(queryString);
|
||||
String sign = SignUtils.sign(this.appKey, this.secretKey, paramMap);
|
||||
queryString.put(ParamConstant.SIGN, sign.toUpperCase());
|
||||
|
||||
HttpUrl httpUrl = OkhttpClientUtils.buildUrlQueryString(this.buildUrl(path), queryString);
|
||||
return OkhttpClientUtils.postJsonBody(httpUrl.toString(), paramRequestBody);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class AueryBluetoothElock {
|
||||
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.queryBluetoothElock(1, "70700"));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class ChangeVideoQuality {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.changeVideoQuality("陕A0000", "1", 1));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class CloseIntercom {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
System.out.println(e6SdkApi.closeIntercom("陕A0000", "1"));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class CloseVideoUrl {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.closeVideoUrl("ems-8725d9a5-cae0-4ff0-91e0-9b5cd33495f7"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.business.DownVideo;
|
||||
|
||||
public class DownloadVideo {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
DownVideo downVideoVO = new DownVideo();
|
||||
downVideoVO.setCallbackUrl("");
|
||||
downVideoVO.setEndTime("2021-07-15 10:00:00");
|
||||
downVideoVO.setVehicle("陕A0000");
|
||||
downVideoVO.setStartTime("2021-06-05 10:00:00");
|
||||
downVideoVO.setChannelIds("1");
|
||||
try {
|
||||
System.out.println(e6SdkApi.downloadVideo(downVideoVO));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class FindAllTerminal {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.findAllTerminal());
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class FindAllTerminalAndVehicle {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.findAllTerminalAndVehicle("2020-05-05 10:10:00"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class FindFlashInfo {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
System.out.println(e6SdkApi.findFlashInfo("陕A0000", "2021-07-07 10:00:00", "2021-07-13 10:00:00"));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class FindIntercomUrl {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
System.out.println(e6SdkApi.findIntercomUrl("陕A0000", "1"));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class FindRenewAudio {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
System.out.println(e6SdkApi.findRenewAudio("陕A0000", "1,2"));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class FindVideos {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
System.out.println(e6SdkApi.findVideos("陕A0000", "1", "2021-07-07 10:00:00", "2021-07-13 10:00:00"));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.business.AiPictureVOList;
|
||||
|
||||
public class GetAiPictureVOList {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
AiPictureVOList aiPictureVOListVO = new AiPictureVOList();
|
||||
aiPictureVOListVO.setCurPage(1);
|
||||
aiPictureVOListVO.setEndTime("1626660729079");
|
||||
aiPictureVOListVO.setPageSize(10);
|
||||
aiPictureVOListVO.setDataType(1);
|
||||
aiPictureVOListVO.setFirstType(1);
|
||||
aiPictureVOListVO.setSecondType(1);
|
||||
aiPictureVOListVO.setStartTime("1626660629079");
|
||||
aiPictureVOListVO.setVehicleId(Integer.valueOf("6562011"));
|
||||
aiPictureVOListVO.setSortIndx("");
|
||||
aiPictureVOListVO.setSortDir("");
|
||||
System.out.println(e6SdkApi.getAiPictureVOList(aiPictureVOListVO));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetAlarmVideoUrl {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
System.out.println(e6SdkApi.getAlarmVideoUrl("陕A0000", "2021-07-07 10:00:00", "2021-07-13 10:00:00", "1"));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.basic.AreaListByLonLat;
|
||||
|
||||
public class GetAreaListByLonLat {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
AreaListByLonLat areaListByLonLat = new AreaListByLonLat();
|
||||
areaListByLonLat.setVehicleNo("陕A0000");
|
||||
areaListByLonLat.setFormat("");
|
||||
areaListByLonLat.setOffSetLonLat("12");
|
||||
areaListByLonLat.setLon("123");
|
||||
areaListByLonLat.setLat("123");
|
||||
|
||||
System.out.println(e6SdkApi.getAreaListByLonLat(areaListByLonLat));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.business.GBVideo;
|
||||
|
||||
public class GetAudioUrl {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
GBVideo gbVideo = new GBVideo();
|
||||
gbVideo.setVehicleid(Integer.valueOf("6562011"));
|
||||
gbVideo.setWid("1");
|
||||
gbVideo.setChannelids("1");
|
||||
gbVideo.setVideoqualitystr("1");
|
||||
gbVideo.setBalarmtime("1");
|
||||
gbVideo.setEventtype(0);
|
||||
gbVideo.setGuid("1");
|
||||
System.out.println(e6SdkApi.getAudioUrl(gbVideo));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetCloseVideo {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getCloseVideo("陕A0000","1"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetDriverLimit {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getDriverLimit("1", "E6YUN", "1"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetDrivingTimeList {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getDrivingTimeList("陕A0000", "2021-08-01 00:00:00", "2021-08-10 23:59:59", ""));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.basic.EquipInfoReal;
|
||||
|
||||
public class GetEquipInfoHistory {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
EquipInfoReal equipInfoReal = new EquipInfoReal();
|
||||
equipInfoReal.setBtime("2021-07-07 10:00:00");
|
||||
equipInfoReal.setEtime("2021-07-13 10:00:00");
|
||||
equipInfoReal.setSecond("1");
|
||||
equipInfoReal.setEquipcode("97111600020");
|
||||
equipInfoReal.setSessionid("97111600020");
|
||||
equipInfoReal.setIsoffsetlonlat("1");
|
||||
|
||||
System.out.println(e6SdkApi.getEquipInfoHistory(equipInfoReal));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.basic.EquipInfoReal;
|
||||
|
||||
public class GetEquipInfoReal {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
EquipInfoReal equipInfoReal = new EquipInfoReal();
|
||||
equipInfoReal.setBtime("2021-07-07 10:00:00");
|
||||
equipInfoReal.setEtime("2021-07-13 10:00:00");
|
||||
equipInfoReal.setSecond("1");
|
||||
equipInfoReal.setEquipcode("96150310358");
|
||||
equipInfoReal.setSessionid("97111600020");
|
||||
equipInfoReal.setIsoffsetlonlat("1");
|
||||
System.out.println(e6SdkApi.getEquipInfoReal(equipInfoReal));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.iot.HumidityList;
|
||||
|
||||
public class GetHumidityList {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
HumidityList humidityList = new HumidityList();
|
||||
humidityList.setbTime("1626660629079");
|
||||
humidityList.seteTime("1626660729079");
|
||||
humidityList.setVehicleId(5362332);
|
||||
humidityList.setCarId(0);
|
||||
humidityList.setIntervalTime(10);
|
||||
System.out.println(e6SdkApi.getHumidityList(humidityList));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetNewVideoUrl {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getNewVideoUrl("陕A0000", "1", "1"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.iot.OilCalList;
|
||||
|
||||
public class GetOilCalList {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
OilCalList oilCalList = new OilCalList();
|
||||
oilCalList.setOilStatus(0);
|
||||
oilCalList.setCarId(Integer.valueOf("6562011"));
|
||||
oilCalList.setSecond(0);
|
||||
oilCalList.setVehicleId(Integer.valueOf("6562011"));
|
||||
oilCalList.setsTime("2021-07-07 10:00:00");
|
||||
oilCalList.seteTime("2021-07-13 10:00:00");
|
||||
System.out.println(e6SdkApi.getOilCalList(oilCalList));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetOpenVideo {
|
||||
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getOpenVideo("陕A0000", "1", 1));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetPlaybackVideo {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getPlaybackVideo("陕A0000", "1", "2021-07-13 9:00:00", "2021-07-14 9:00:00"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetPlaybackVideoUrl {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getPlaybackVideoUrl("陕A0000", "1",
|
||||
"2021-10-09 10:00:00", "2021-10-09 15:00:00", "1"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.cold.PointTempHumList;
|
||||
|
||||
public class GetPointTempHumList {
|
||||
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
PointTempHumList pointTempHumListVO = new PointTempHumList();
|
||||
pointTempHumListVO.setStorageName("仓库1");
|
||||
pointTempHumListVO.setStorageCode("CK0001");
|
||||
pointTempHumListVO.setLocationName("区域1");
|
||||
pointTempHumListVO.setPointName("自定义点1");
|
||||
pointTempHumListVO.setBtime("2021-07-01 00:00:00");
|
||||
pointTempHumListVO.setEtime("2021-07-11 23:00:00");
|
||||
|
||||
System.out.println(e6SdkApi.getPointTempHumList(pointTempHumListVO));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetRealTimeVideoFlowUrl {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
System.out.println(e6SdkApi.getRealTimeVideoFlowUrl("陕A0000", "1"));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.business.GBVideo;
|
||||
|
||||
public class GetRenewAudio {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
GBVideo gbVideo = new GBVideo();
|
||||
gbVideo.setVehicleid(Integer.valueOf("6562011"));
|
||||
gbVideo.setWid("1");
|
||||
gbVideo.setChannelids("1");
|
||||
gbVideo.setVideoqualitystr("1");
|
||||
gbVideo.setBalarmtime("1");
|
||||
gbVideo.setEventtype(0);
|
||||
gbVideo.setGuid("1");
|
||||
System.out.println(e6SdkApi.getRenewAudio(gbVideo));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetRenewVideo {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getRenewVideo("陕A0000","1"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetStatStatement {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getStatStatement("2021-07-07 10:00:00", "2021-07-13 10:00:00"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetStorageInfoList {
|
||||
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getStorageInfoList("仓库1", "CK0001"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetStorageTempHum {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getStorageTempHum("仓库1", "1", "区域1", "自定义点1"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetStoreInfoList {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getStoreInfoList("静静到家便利店", "JJDJ"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.cold.StorePointTempHumList;
|
||||
|
||||
public class GetStorePointTempHumList {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
StorePointTempHumList storePointTempHumList = new StorePointTempHumList();
|
||||
storePointTempHumList.setFreezerName("冷柜1");
|
||||
storePointTempHumList.setPointName("冷柜1");
|
||||
storePointTempHumList.setBtime("2021-07-18 00:00:00");
|
||||
storePointTempHumList.setEtime("2021-07-19 23:00:00");
|
||||
storePointTempHumList.setStoreName("便利店001");
|
||||
storePointTempHumList.setStoreCode("JJDJ");
|
||||
System.out.println(e6SdkApi.getStorePointTempHumList(storePointTempHumList));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetStoreTempHum {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getStoreTempHum("便利店001", "JJDJ", "冷柜1", ""));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetTerBasicInfo {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getTerBasicInfo("陕A0000"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class GetTravelList {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.getTravelList("1627920000000", "1628524799999"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class LeaveAreaRealData {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.leaveAreaRealData("陕A0000", "-1", "", "", ""));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class ListActiveSafetyEvent {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.listActiveSafetyEvent("1627920000000", "1628524799999", "陕A0000", 0));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.business.GBVideo;
|
||||
|
||||
public class OpenAudio {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
GBVideo gbVideo = new GBVideo();
|
||||
gbVideo.setVehicleid(Integer.valueOf("6562011"));
|
||||
gbVideo.setWid("99930627002");
|
||||
gbVideo.setChannelids("1");
|
||||
gbVideo.setVideoqualitystr("1");
|
||||
gbVideo.setBalarmtime("2021-07-19 14:00:00");
|
||||
gbVideo.setEventtype(1);
|
||||
gbVideo.setGuid("99930627002");
|
||||
|
||||
System.out.println(e6SdkApi.openAudio(gbVideo));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class OpenIntercom {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
System.out.println(e6SdkApi.openIntercom("陕A0000", "1"));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class PushVehicleDepartureStatus {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.pushVehicleDepartureStatus("陕A0000", 0, 1, "json"));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class QueryElockOperateRecord {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
List<String> l = new ArrayList<>();
|
||||
l.add("E807BF0800BD");
|
||||
l.add("E807BF97020A");
|
||||
System.out.println(e6SdkApi.queryElockOperateRecord("2022-03-16 00:00:00", "2022-03-17 14:00:00", l));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class SaveBluetoothleLockErrorOprRecordVO {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.saveBluetoothleLockErrorOprRecord("1",0,0,0,0,"1"));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class SendFlashDirective {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
System.out.println(e6SdkApi.sendFlashDirective("陕A0000", "1"));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class SendVechileVoice {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
System.out.println(e6SdkApi.sendVechileVoice("陕A0000", "测试lcd下发指令", "json"));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
public class SendVoiceDirective {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
System.out.println(e6SdkApi.sendVoiceDirective("陕A0000", "1"));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.business.OverTemp;
|
||||
import com.e6yun.project.sdk.api.pojo.business.NotifyLinkman;
|
||||
import com.e6yun.project.sdk.api.pojo.business.NotifyMan;
|
||||
import com.e6yun.project.sdk.api.pojo.business.TempSetting;
|
||||
|
||||
public class SetOverTemp {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
OverTemp overTemp = new OverTemp();
|
||||
overTemp.setVehicleNos("陕A0000");
|
||||
overTemp.setIsApply("1");
|
||||
overTemp.setIsPlatformShow("1");
|
||||
overTemp.setIsAlarmSound("1");
|
||||
overTemp.setRemark("1");
|
||||
overTemp.setIsNotifyLinkman("1");
|
||||
TempSetting tempSetting = new TempSetting();
|
||||
tempSetting.setContinueTime1(10);
|
||||
tempSetting.setContinueTime2(10);
|
||||
tempSetting.setContinueTime3(10);
|
||||
tempSetting.setContinueTime4(10);
|
||||
tempSetting.setContinueTime5(10);
|
||||
tempSetting.setContinueTime6(10);
|
||||
tempSetting.setContinueTime7(10);
|
||||
tempSetting.setContinueTime8(10);
|
||||
tempSetting.setHt1(10);
|
||||
tempSetting.setHt2(10);
|
||||
tempSetting.setHt3(10);
|
||||
tempSetting.setHt4(10);
|
||||
tempSetting.setHt5(10);
|
||||
tempSetting.setHt6(10);
|
||||
tempSetting.setHt7(10);
|
||||
tempSetting.setHt8(10);
|
||||
NotifyLinkman NotifyLinkman = new NotifyLinkman();
|
||||
NotifyMan notifyMan = new NotifyMan();
|
||||
notifyMan.setType(1);
|
||||
NotifyLinkman.setNotifyMan1(notifyMan);
|
||||
NotifyLinkman.setNotifyMan2(notifyMan);
|
||||
NotifyLinkman.setNotifyMan3(notifyMan);
|
||||
NotifyLinkman.setNotifyMan4(notifyMan);
|
||||
NotifyLinkman.setNotifyMan5(notifyMan);
|
||||
System.out.println(e6SdkApi.setOverTemp(overTemp,tempSetting,NotifyLinkman));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class UploadOperateRecord {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
List<Integer> dataTerminalIdList = new ArrayList<>();
|
||||
dataTerminalIdList.add(0);
|
||||
Integer operateType = 0;
|
||||
String operateTime = "2021-07-19 13:24:49";
|
||||
Integer lon = 0;
|
||||
Integer lat = 0;
|
||||
String commids = "1";
|
||||
System.out.println(e6SdkApi.uploadOperateRecord(dataTerminalIdList,operateType,operateTime,lon,lat,commids));
|
||||
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.smart.UpdateVehicleVO;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class VehicleUpdate {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
UpdateVehicleVO updateVehicleVO = new UpdateVehicleVO();
|
||||
updateVehicleVO.setTimestamp(String.valueOf(new Date().getTime()));
|
||||
updateVehicleVO.setVehicleNo("陕A0000");
|
||||
updateVehicleVO.setMotorcade("1");
|
||||
updateVehicleVO.setBrand("1");
|
||||
updateVehicleVO.setRegDate("2021-07-07 10:00:00");
|
||||
updateVehicleVO.setLength(0.0D);
|
||||
updateVehicleVO.setVolume(0.0D);
|
||||
updateVehicleVO.setLoad(0.0D);
|
||||
updateVehicleVO.setIsValid(0);
|
||||
|
||||
System.out.println(e6SdkApi.vehicleUpdate(updateVehicleVO));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
package com.e6yun.project.sdk.api.example;
|
||||
|
||||
import com.e6yun.project.sdk.api.E6SdkApi;
|
||||
import com.e6yun.project.sdk.api.exception.ApiException;
|
||||
import com.e6yun.project.sdk.api.pojo.basevo.business.GBVideo;
|
||||
|
||||
public class getCloseAudio {
|
||||
static E6SdkApi e6SdkApi = new E6SdkApi("http://api.e6yun.com/", "您的appkey", "您的secreKey");
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
try {
|
||||
GBVideo gbVideo = new GBVideo();
|
||||
gbVideo.setVehicleid(Integer.valueOf("6562011"));
|
||||
gbVideo.setWid("1");
|
||||
gbVideo.setChannelids("1");
|
||||
gbVideo.setVideoqualitystr("1");
|
||||
gbVideo.setBalarmtime("1");
|
||||
gbVideo.setEventtype(0);
|
||||
gbVideo.setGuid("1");
|
||||
System.out.println(e6SdkApi.getCloseAudio(gbVideo));
|
||||
} catch (ApiException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
package com.e6yun.project.sdk.api.exception;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @author xuexiang@e6yun.com
|
||||
*/
|
||||
public class ApiException extends Exception{
|
||||
|
||||
/**
|
||||
* 接口状态码
|
||||
*/
|
||||
private int code;
|
||||
|
||||
|
||||
public ApiException(int code, String message) {
|
||||
super(message);
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public ApiException(int code, String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(ApiException.class)
|
||||
.add("super", super.toString())
|
||||
.add("code", code)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
package com.e6yun.project.sdk.api.pojo.base;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
public class ApiResponse<T> {
|
||||
private Integer code;
|
||||
private String message;
|
||||
private T data;
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(Integer code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public T getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(T data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(ApiResponse.class)
|
||||
.add("code", code)
|
||||
.add("message", message)
|
||||
.add("data", data)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
package com.e6yun.project.sdk.api.pojo.base;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
public class ResultApiResponse<T> {
|
||||
private ApiResponse<T> result;
|
||||
|
||||
public ApiResponse<T> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(ApiResponse<T> result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(ResultApiResponse.class)
|
||||
.add("result", result)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,162 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/7 14:14
|
||||
* @ClassName AllTerminalVO
|
||||
* @Remark
|
||||
*/
|
||||
public class AllTerminalVO {
|
||||
|
||||
private Integer dtid;
|
||||
|
||||
private String terminalName;
|
||||
|
||||
private String equipCode;
|
||||
|
||||
private Integer deviceType;
|
||||
|
||||
private Integer equipSourceId;
|
||||
|
||||
private String commids;
|
||||
|
||||
private Integer oilControl;
|
||||
|
||||
private Integer isCamera;
|
||||
|
||||
private Integer isHaveLock;
|
||||
|
||||
private Integer isLCD;
|
||||
|
||||
private Integer temperaturectrl;
|
||||
|
||||
private Integer humidityChannel;
|
||||
|
||||
private Integer cooler;
|
||||
|
||||
public Integer getDtid() {
|
||||
return dtid;
|
||||
}
|
||||
|
||||
public void setDtid(Integer dtid) {
|
||||
this.dtid = dtid;
|
||||
}
|
||||
|
||||
public String getTerminalName() {
|
||||
return terminalName;
|
||||
}
|
||||
|
||||
public void setTerminalName(String terminalName) {
|
||||
this.terminalName = terminalName;
|
||||
}
|
||||
|
||||
public String getEquipCode() {
|
||||
return equipCode;
|
||||
}
|
||||
|
||||
public void setEquipCode(String equipCode) {
|
||||
this.equipCode = equipCode;
|
||||
}
|
||||
|
||||
public Integer getDeviceType() {
|
||||
return deviceType;
|
||||
}
|
||||
|
||||
public void setDeviceType(Integer deviceType) {
|
||||
this.deviceType = deviceType;
|
||||
}
|
||||
|
||||
public Integer getEquipSourceId() {
|
||||
return equipSourceId;
|
||||
}
|
||||
|
||||
public void setEquipSourceId(Integer equipSourceId) {
|
||||
this.equipSourceId = equipSourceId;
|
||||
}
|
||||
|
||||
public String getCommids() {
|
||||
return commids;
|
||||
}
|
||||
|
||||
public void setCommids(String commids) {
|
||||
this.commids = commids;
|
||||
}
|
||||
|
||||
public Integer getOilControl() {
|
||||
return oilControl;
|
||||
}
|
||||
|
||||
public void setOilControl(Integer oilControl) {
|
||||
this.oilControl = oilControl;
|
||||
}
|
||||
|
||||
public Integer getIsCamera() {
|
||||
return isCamera;
|
||||
}
|
||||
|
||||
public void setIsCamera(Integer isCamera) {
|
||||
this.isCamera = isCamera;
|
||||
}
|
||||
|
||||
public Integer getIsHaveLock() {
|
||||
return isHaveLock;
|
||||
}
|
||||
|
||||
public void setIsHaveLock(Integer isHaveLock) {
|
||||
this.isHaveLock = isHaveLock;
|
||||
}
|
||||
|
||||
public Integer getIsLCD() {
|
||||
return isLCD;
|
||||
}
|
||||
|
||||
public void setIsLCD(Integer isLCD) {
|
||||
this.isLCD = isLCD;
|
||||
}
|
||||
|
||||
public Integer getTemperaturectrl() {
|
||||
return temperaturectrl;
|
||||
}
|
||||
|
||||
public void setTemperaturectrl(Integer temperaturectrl) {
|
||||
this.temperaturectrl = temperaturectrl;
|
||||
}
|
||||
|
||||
public Integer getHumidityChannel() {
|
||||
return humidityChannel;
|
||||
}
|
||||
|
||||
public void setHumidityChannel(Integer humidityChannel) {
|
||||
this.humidityChannel = humidityChannel;
|
||||
}
|
||||
|
||||
public Integer getCooler() {
|
||||
return cooler;
|
||||
}
|
||||
|
||||
public void setCooler(Integer cooler) {
|
||||
this.cooler = cooler;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("dtid", dtid)
|
||||
.add("terminalName", terminalName)
|
||||
.add("equipCode", equipCode)
|
||||
.add("deviceType", deviceType)
|
||||
.add("equipSourceId", equipSourceId)
|
||||
.add("commids", commids)
|
||||
.add("oilControl", oilControl)
|
||||
.add("isCamera", isCamera)
|
||||
.add("isHaveLock", isHaveLock)
|
||||
.add("isLCD", isLCD)
|
||||
.add("temperaturectrl", temperaturectrl)
|
||||
.add("humidityChannel", humidityChannel)
|
||||
.add("cooler", cooler)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/13 16:02
|
||||
* @ClassName AreaInfo
|
||||
* @Remark
|
||||
*/
|
||||
public class AreaInfo {
|
||||
private String areaCode;
|
||||
|
||||
private String areaName;
|
||||
|
||||
public String getAreaCode() {
|
||||
return areaCode;
|
||||
}
|
||||
|
||||
public void setAreaCode(String areaCode) {
|
||||
this.areaCode = areaCode;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("areaCode", areaCode)
|
||||
.add("areaName", areaName)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,77 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description TODO
|
||||
* @Author xxx@e6yun.com
|
||||
* @Created Date: 2021/7/6 16:22
|
||||
* @ClassName AreaListByLonLatVO
|
||||
* @Remark
|
||||
*/
|
||||
public class AreaListByLonLat {
|
||||
|
||||
private String vehicleNo;
|
||||
|
||||
private String format;
|
||||
|
||||
private String offSetLonLat;
|
||||
|
||||
private String lon;
|
||||
|
||||
private String lat;
|
||||
|
||||
public AreaListByLonLat() {
|
||||
}
|
||||
|
||||
public String getVehicleNo() {
|
||||
return vehicleNo;
|
||||
}
|
||||
|
||||
public void setVehicleNo(String vehicleNo) {
|
||||
this.vehicleNo = vehicleNo;
|
||||
}
|
||||
|
||||
public String getFormat() {
|
||||
return format;
|
||||
}
|
||||
|
||||
public void setFormat(String format) {
|
||||
this.format = format;
|
||||
}
|
||||
|
||||
public String getOffSetLonLat() {
|
||||
return offSetLonLat;
|
||||
}
|
||||
|
||||
public void setOffSetLonLat(String offSetLonLat) {
|
||||
this.offSetLonLat = offSetLonLat;
|
||||
}
|
||||
|
||||
public String getLon() {
|
||||
return lon;
|
||||
}
|
||||
|
||||
public void setLon(String lon) {
|
||||
this.lon = lon;
|
||||
}
|
||||
|
||||
public String getLat() {
|
||||
return lat;
|
||||
}
|
||||
|
||||
public void setLat(String lat) {
|
||||
this.lat = lat;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("vehicleNo", vehicleNo)
|
||||
.add("format", format)
|
||||
.add("offSetLonLat", offSetLonLat)
|
||||
.add("lon", lon)
|
||||
.add("lat", lat)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/13 15:40
|
||||
* @ClassName AreaListByLonLatVO
|
||||
* @Remark
|
||||
*/
|
||||
public class AreaListByLonLatVO {
|
||||
private String vehicle;
|
||||
private List<AreaInfo> areaInfo;
|
||||
|
||||
public String getVehicle() {
|
||||
return vehicle;
|
||||
}
|
||||
|
||||
public void setVehicle(String vehicle) {
|
||||
this.vehicle = vehicle;
|
||||
}
|
||||
|
||||
public List<AreaInfo> getAreaInfo() {
|
||||
return areaInfo;
|
||||
}
|
||||
|
||||
public void setAreaInfo(List<AreaInfo> areaInfo) {
|
||||
this.areaInfo = areaInfo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("vehicle", vehicle)
|
||||
.add("areaInfo", areaInfo)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/7 15:36
|
||||
* @ClassName DOrgInfoVO
|
||||
* @Remark
|
||||
*/
|
||||
public class DOrgInfoVO {
|
||||
private String result;
|
||||
|
||||
public String getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(String result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("result", result)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,71 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/7 15:27
|
||||
* @ClassName DriverBaseInfoVO
|
||||
* @Remark
|
||||
*/
|
||||
public class DriverBaseInfoVO {
|
||||
/**
|
||||
* 司机名称
|
||||
*/
|
||||
private String driverName;
|
||||
/**
|
||||
* 司机联系方式
|
||||
*/
|
||||
private String driverPhone;
|
||||
/**
|
||||
* 司机驾驶证号
|
||||
*/
|
||||
private String driverDqcn;
|
||||
/**
|
||||
* 司机工号
|
||||
*/
|
||||
private String driverCode;
|
||||
|
||||
public String getDriverName() {
|
||||
return driverName;
|
||||
}
|
||||
|
||||
public void setDriverName(String driverName) {
|
||||
this.driverName = driverName;
|
||||
}
|
||||
|
||||
public String getDriverPhone() {
|
||||
return driverPhone;
|
||||
}
|
||||
|
||||
public void setDriverPhone(String driverPhone) {
|
||||
this.driverPhone = driverPhone;
|
||||
}
|
||||
|
||||
public String getDriverDqcn() {
|
||||
return driverDqcn;
|
||||
}
|
||||
|
||||
public void setDriverDqcn(String driverDqcn) {
|
||||
this.driverDqcn = driverDqcn;
|
||||
}
|
||||
|
||||
public String getDriverCode() {
|
||||
return driverCode;
|
||||
}
|
||||
|
||||
public void setDriverCode(String driverCode) {
|
||||
this.driverCode = driverCode;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("driverName", driverName)
|
||||
.add("driverPhone", driverPhone)
|
||||
.add("driverDqcn", driverDqcn)
|
||||
.add("driverCode", driverCode)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/7 15:22
|
||||
* @ClassName DriverInfoVO
|
||||
* @Remark
|
||||
*/
|
||||
public class DriverInfoVO {
|
||||
private String result;
|
||||
|
||||
public String getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(String result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("result", result)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,88 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description TODO
|
||||
* @Author xxx@e6yun.com
|
||||
* @Created Date: 2021/7/6 11:15
|
||||
* @ClassName EquipInfoHistoryVO
|
||||
* @Remark
|
||||
*/
|
||||
public class EquipInfoHistory {
|
||||
|
||||
private String equipcode;
|
||||
|
||||
private String sessionid;
|
||||
|
||||
private String isoffsetlonlat;
|
||||
|
||||
private String btime;
|
||||
|
||||
private String etime;
|
||||
|
||||
private String second;
|
||||
|
||||
public EquipInfoHistory() {
|
||||
}
|
||||
|
||||
public String getSessionid() {
|
||||
return sessionid;
|
||||
}
|
||||
|
||||
public void setSessionid(String sessionid) {
|
||||
this.sessionid = sessionid;
|
||||
}
|
||||
|
||||
public String getEquipcode() {
|
||||
return equipcode;
|
||||
}
|
||||
|
||||
public void setEquipcode(String equipcode) {
|
||||
this.equipcode = equipcode;
|
||||
}
|
||||
|
||||
public String getIsoffsetlonlat() {
|
||||
return isoffsetlonlat;
|
||||
}
|
||||
|
||||
public void setIsoffsetlonlat(String isoffsetlonlat) {
|
||||
this.isoffsetlonlat = isoffsetlonlat;
|
||||
}
|
||||
|
||||
public String getBtime() {
|
||||
return btime;
|
||||
}
|
||||
|
||||
public void setBtime(String btime) {
|
||||
this.btime = btime;
|
||||
}
|
||||
|
||||
public String getEtime() {
|
||||
return etime;
|
||||
}
|
||||
|
||||
public void setEtime(String etime) {
|
||||
this.etime = etime;
|
||||
}
|
||||
|
||||
public String getSecond() {
|
||||
return second;
|
||||
}
|
||||
|
||||
public void setSecond(String second) {
|
||||
this.second = second;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("equipcode", equipcode)
|
||||
.add("sessionid", sessionid)
|
||||
.add("isoffsetlonlat", isoffsetlonlat)
|
||||
.add("btime", btime)
|
||||
.add("etime", etime)
|
||||
.add("second", second)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,88 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description TODO
|
||||
* @Author xxx@e6yun.com
|
||||
* @Created Date: 2021/7/6 11:21
|
||||
* @ClassName EquipInfoVO
|
||||
* @Remark
|
||||
*/
|
||||
public class EquipInfoReal {
|
||||
|
||||
private String equipcode;
|
||||
|
||||
private String sessionid;
|
||||
|
||||
private String isoffsetlonlat;
|
||||
|
||||
private String btime;
|
||||
|
||||
private String etime;
|
||||
|
||||
private String second;
|
||||
|
||||
public String getBtime() {
|
||||
return btime;
|
||||
}
|
||||
|
||||
public void setBtime(String btime) {
|
||||
this.btime = btime;
|
||||
}
|
||||
|
||||
public String getEtime() {
|
||||
return etime;
|
||||
}
|
||||
|
||||
public void setEtime(String etime) {
|
||||
this.etime = etime;
|
||||
}
|
||||
|
||||
public String getSecond() {
|
||||
return second;
|
||||
}
|
||||
|
||||
public void setSecond(String second) {
|
||||
this.second = second;
|
||||
}
|
||||
|
||||
public EquipInfoReal() {
|
||||
}
|
||||
|
||||
public String getEquipcode() {
|
||||
return equipcode;
|
||||
}
|
||||
|
||||
public void setEquipcode(String equipcode) {
|
||||
this.equipcode = equipcode;
|
||||
}
|
||||
|
||||
public String getSessionid() {
|
||||
return sessionid;
|
||||
}
|
||||
|
||||
public void setSessionid(String sessionid) {
|
||||
this.sessionid = sessionid;
|
||||
}
|
||||
|
||||
public String getIsoffsetlonlat() {
|
||||
return isoffsetlonlat;
|
||||
}
|
||||
|
||||
public void setIsoffsetlonlat(String isoffsetlonlat) {
|
||||
this.isoffsetlonlat = isoffsetlonlat;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("equipcode", equipcode)
|
||||
.add("sessionid", sessionid)
|
||||
.add("isoffsetlonlat", isoffsetlonlat)
|
||||
.add("btime", btime)
|
||||
.add("etime", etime)
|
||||
.add("second", second)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/7 15:31
|
||||
* @ClassName OrgAndVehicleConVO
|
||||
* @Remark
|
||||
*/
|
||||
public class OrgAndVehicleConVO {
|
||||
private String result;
|
||||
|
||||
public String getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(String result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("result", result)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,71 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/7 15:10
|
||||
* @ClassName OrgBaseInfoVO
|
||||
* @Remark
|
||||
*/
|
||||
public class OrgBaseInfoVO {
|
||||
/**
|
||||
* 车队名称
|
||||
*/
|
||||
private String orgName;
|
||||
/**
|
||||
* 车队编码
|
||||
*/
|
||||
private String orgCode;
|
||||
/**
|
||||
* 车队联系人
|
||||
*/
|
||||
private String orgLinkName;
|
||||
/**
|
||||
* 车队联系方式
|
||||
*/
|
||||
private String orgLinkPhone;
|
||||
|
||||
public String getOrgName() {
|
||||
return orgName;
|
||||
}
|
||||
|
||||
public void setOrgName(String orgName) {
|
||||
this.orgName = orgName;
|
||||
}
|
||||
|
||||
public String getOrgCode() {
|
||||
return orgCode;
|
||||
}
|
||||
|
||||
public void setOrgCode(String orgCode) {
|
||||
this.orgCode = orgCode;
|
||||
}
|
||||
|
||||
public String getOrgLinkName() {
|
||||
return orgLinkName;
|
||||
}
|
||||
|
||||
public void setOrgLinkName(String orgLinkName) {
|
||||
this.orgLinkName = orgLinkName;
|
||||
}
|
||||
|
||||
public String getOrgLinkPhone() {
|
||||
return orgLinkPhone;
|
||||
}
|
||||
|
||||
public void setOrgLinkPhone(String orgLinkPhone) {
|
||||
this.orgLinkPhone = orgLinkPhone;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("orgName", orgName)
|
||||
.add("orgCode", orgCode)
|
||||
.add("orgLinkName", orgLinkName)
|
||||
.add("orgLinkPhone", orgLinkPhone)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/7 15:06
|
||||
* @ClassName OrgInfoVO
|
||||
* @Remark
|
||||
*/
|
||||
public class OrgInfoVO {
|
||||
|
||||
private String result;
|
||||
|
||||
public String getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(String result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("result", result)
|
||||
.toString();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,792 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/7 14:03
|
||||
* @ClassName TerBasicInfoVO
|
||||
* @Remark
|
||||
*/
|
||||
public class TerBasicInfoVO {
|
||||
private Date maxModifiedTime;
|
||||
|
||||
private Integer vehicleId;
|
||||
|
||||
private String vehicleNo;
|
||||
|
||||
private Integer isValid;
|
||||
|
||||
private Integer corpId;
|
||||
|
||||
private String regName;
|
||||
|
||||
private String customName;
|
||||
|
||||
private String objKey;
|
||||
|
||||
private Integer monitorCorpId;
|
||||
|
||||
private Integer dataSource;
|
||||
|
||||
private String dataTerName;
|
||||
|
||||
private Integer dataTerminalId;
|
||||
|
||||
private String commids;
|
||||
|
||||
private Integer deviceType;
|
||||
|
||||
private Integer status;
|
||||
|
||||
private Integer terFrom;
|
||||
|
||||
private Integer terSource;
|
||||
|
||||
private Integer power;
|
||||
|
||||
private Integer isLock;
|
||||
|
||||
private Integer isHaveLock;
|
||||
|
||||
private Integer isCamera;
|
||||
|
||||
private Integer cooler;
|
||||
|
||||
private Integer hydraulic;
|
||||
|
||||
private Integer oilControl;
|
||||
|
||||
private Integer airCondition;
|
||||
|
||||
private Integer centerLock;
|
||||
|
||||
private Integer cutoilelec;
|
||||
|
||||
private Integer isMan;
|
||||
|
||||
private Integer isStandbyPower;
|
||||
|
||||
private Integer temperaturectrl;
|
||||
|
||||
private Integer isMixer;
|
||||
|
||||
private Integer dobuleSpeed;
|
||||
|
||||
private Integer switchNum;
|
||||
|
||||
private String appid;
|
||||
|
||||
private String antennaLocation;
|
||||
|
||||
private Integer eqSourceId;
|
||||
|
||||
private String mainVersion;
|
||||
|
||||
private String lcdVersion;
|
||||
|
||||
private Integer co2Ctrl;
|
||||
|
||||
private Integer humidityChannel;
|
||||
|
||||
private Integer relayChannel;
|
||||
|
||||
private Integer isConnected;
|
||||
|
||||
private Integer isMonitor;
|
||||
|
||||
private Integer isLcd;
|
||||
|
||||
private Integer cameraChannel;
|
||||
|
||||
private Integer mcChannel;
|
||||
|
||||
private Integer video3G;
|
||||
|
||||
private Integer isSeparation;
|
||||
|
||||
private Integer isTrailer;
|
||||
|
||||
private Integer photoResolution;
|
||||
|
||||
private Integer equipId;
|
||||
|
||||
private String equipCode;
|
||||
|
||||
private Integer firstClassId;
|
||||
|
||||
private Integer secondClassId;
|
||||
|
||||
private Integer thirdClassId;
|
||||
|
||||
private Integer companyId;
|
||||
|
||||
private Integer companyLevel;
|
||||
|
||||
|
||||
private String modifiedRemark;
|
||||
|
||||
private Integer isStopAnalyze;
|
||||
|
||||
private Integer isAdas;
|
||||
|
||||
|
||||
private Integer isTyreBar;
|
||||
|
||||
private Integer extAttr1;
|
||||
|
||||
private Integer extAttr2;
|
||||
|
||||
private Integer extAttr3;
|
||||
|
||||
private Integer extAttr4;
|
||||
|
||||
private Integer extAttr5;
|
||||
|
||||
private Integer extAttr6;
|
||||
|
||||
private Integer extAttr7;
|
||||
|
||||
private Integer extAttr8;
|
||||
|
||||
private Integer extAttr9;
|
||||
|
||||
public Date getMaxModifiedTime() {
|
||||
return maxModifiedTime;
|
||||
}
|
||||
|
||||
public void setMaxModifiedTime(Date maxModifiedTime) {
|
||||
this.maxModifiedTime = maxModifiedTime;
|
||||
}
|
||||
|
||||
public Integer getVehicleId() {
|
||||
return vehicleId;
|
||||
}
|
||||
|
||||
public void setVehicleId(Integer vehicleId) {
|
||||
this.vehicleId = vehicleId;
|
||||
}
|
||||
|
||||
public String getVehicleNo() {
|
||||
return vehicleNo;
|
||||
}
|
||||
|
||||
public void setVehicleNo(String vehicleNo) {
|
||||
this.vehicleNo = vehicleNo;
|
||||
}
|
||||
|
||||
public Integer getIsValid() {
|
||||
return isValid;
|
||||
}
|
||||
|
||||
public void setIsValid(Integer isValid) {
|
||||
this.isValid = isValid;
|
||||
}
|
||||
|
||||
public Integer getCorpId() {
|
||||
return corpId;
|
||||
}
|
||||
|
||||
public void setCorpId(Integer corpId) {
|
||||
this.corpId = corpId;
|
||||
}
|
||||
|
||||
public String getRegName() {
|
||||
return regName;
|
||||
}
|
||||
|
||||
public void setRegName(String regName) {
|
||||
this.regName = regName;
|
||||
}
|
||||
|
||||
public String getCustomName() {
|
||||
return customName;
|
||||
}
|
||||
|
||||
public void setCustomName(String customName) {
|
||||
this.customName = customName;
|
||||
}
|
||||
|
||||
public String getObjKey() {
|
||||
return objKey;
|
||||
}
|
||||
|
||||
public void setObjKey(String objKey) {
|
||||
this.objKey = objKey;
|
||||
}
|
||||
|
||||
public Integer getMonitorCorpId() {
|
||||
return monitorCorpId;
|
||||
}
|
||||
|
||||
public void setMonitorCorpId(Integer monitorCorpId) {
|
||||
this.monitorCorpId = monitorCorpId;
|
||||
}
|
||||
|
||||
public Integer getDataSource() {
|
||||
return dataSource;
|
||||
}
|
||||
|
||||
public void setDataSource(Integer dataSource) {
|
||||
this.dataSource = dataSource;
|
||||
}
|
||||
|
||||
public String getDataTerName() {
|
||||
return dataTerName;
|
||||
}
|
||||
|
||||
public void setDataTerName(String dataTerName) {
|
||||
this.dataTerName = dataTerName;
|
||||
}
|
||||
|
||||
public Integer getDataTerminalId() {
|
||||
return dataTerminalId;
|
||||
}
|
||||
|
||||
public void setDataTerminalId(Integer dataTerminalId) {
|
||||
this.dataTerminalId = dataTerminalId;
|
||||
}
|
||||
|
||||
public String getCommids() {
|
||||
return commids;
|
||||
}
|
||||
|
||||
public void setCommids(String commids) {
|
||||
this.commids = commids;
|
||||
}
|
||||
|
||||
public Integer getDeviceType() {
|
||||
return deviceType;
|
||||
}
|
||||
|
||||
public void setDeviceType(Integer deviceType) {
|
||||
this.deviceType = deviceType;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getTerFrom() {
|
||||
return terFrom;
|
||||
}
|
||||
|
||||
public void setTerFrom(Integer terFrom) {
|
||||
this.terFrom = terFrom;
|
||||
}
|
||||
|
||||
public Integer getTerSource() {
|
||||
return terSource;
|
||||
}
|
||||
|
||||
public void setTerSource(Integer terSource) {
|
||||
this.terSource = terSource;
|
||||
}
|
||||
|
||||
public Integer getPower() {
|
||||
return power;
|
||||
}
|
||||
|
||||
public void setPower(Integer power) {
|
||||
this.power = power;
|
||||
}
|
||||
|
||||
public Integer getIsLock() {
|
||||
return isLock;
|
||||
}
|
||||
|
||||
public void setIsLock(Integer isLock) {
|
||||
this.isLock = isLock;
|
||||
}
|
||||
|
||||
public Integer getIsHaveLock() {
|
||||
return isHaveLock;
|
||||
}
|
||||
|
||||
public void setIsHaveLock(Integer isHaveLock) {
|
||||
this.isHaveLock = isHaveLock;
|
||||
}
|
||||
|
||||
public Integer getIsCamera() {
|
||||
return isCamera;
|
||||
}
|
||||
|
||||
public void setIsCamera(Integer isCamera) {
|
||||
this.isCamera = isCamera;
|
||||
}
|
||||
|
||||
public Integer getCooler() {
|
||||
return cooler;
|
||||
}
|
||||
|
||||
public void setCooler(Integer cooler) {
|
||||
this.cooler = cooler;
|
||||
}
|
||||
|
||||
public Integer getHydraulic() {
|
||||
return hydraulic;
|
||||
}
|
||||
|
||||
public void setHydraulic(Integer hydraulic) {
|
||||
this.hydraulic = hydraulic;
|
||||
}
|
||||
|
||||
public Integer getOilControl() {
|
||||
return oilControl;
|
||||
}
|
||||
|
||||
public void setOilControl(Integer oilControl) {
|
||||
this.oilControl = oilControl;
|
||||
}
|
||||
|
||||
public Integer getAirCondition() {
|
||||
return airCondition;
|
||||
}
|
||||
|
||||
public void setAirCondition(Integer airCondition) {
|
||||
this.airCondition = airCondition;
|
||||
}
|
||||
|
||||
public Integer getCenterLock() {
|
||||
return centerLock;
|
||||
}
|
||||
|
||||
public void setCenterLock(Integer centerLock) {
|
||||
this.centerLock = centerLock;
|
||||
}
|
||||
|
||||
public Integer getCutoilelec() {
|
||||
return cutoilelec;
|
||||
}
|
||||
|
||||
public void setCutoilelec(Integer cutoilelec) {
|
||||
this.cutoilelec = cutoilelec;
|
||||
}
|
||||
|
||||
public Integer getIsMan() {
|
||||
return isMan;
|
||||
}
|
||||
|
||||
public void setIsMan(Integer isMan) {
|
||||
this.isMan = isMan;
|
||||
}
|
||||
|
||||
public Integer getIsStandbyPower() {
|
||||
return isStandbyPower;
|
||||
}
|
||||
|
||||
public void setIsStandbyPower(Integer isStandbyPower) {
|
||||
this.isStandbyPower = isStandbyPower;
|
||||
}
|
||||
|
||||
public Integer getTemperaturectrl() {
|
||||
return temperaturectrl;
|
||||
}
|
||||
|
||||
public void setTemperaturectrl(Integer temperaturectrl) {
|
||||
this.temperaturectrl = temperaturectrl;
|
||||
}
|
||||
|
||||
public Integer getIsMixer() {
|
||||
return isMixer;
|
||||
}
|
||||
|
||||
public void setIsMixer(Integer isMixer) {
|
||||
this.isMixer = isMixer;
|
||||
}
|
||||
|
||||
public Integer getDobuleSpeed() {
|
||||
return dobuleSpeed;
|
||||
}
|
||||
|
||||
public void setDobuleSpeed(Integer dobuleSpeed) {
|
||||
this.dobuleSpeed = dobuleSpeed;
|
||||
}
|
||||
|
||||
public Integer getSwitchNum() {
|
||||
return switchNum;
|
||||
}
|
||||
|
||||
public void setSwitchNum(Integer switchNum) {
|
||||
this.switchNum = switchNum;
|
||||
}
|
||||
|
||||
public String getAppid() {
|
||||
return appid;
|
||||
}
|
||||
|
||||
public void setAppid(String appid) {
|
||||
this.appid = appid;
|
||||
}
|
||||
|
||||
public String getAntennaLocation() {
|
||||
return antennaLocation;
|
||||
}
|
||||
|
||||
public void setAntennaLocation(String antennaLocation) {
|
||||
this.antennaLocation = antennaLocation;
|
||||
}
|
||||
|
||||
public Integer getEqSourceId() {
|
||||
return eqSourceId;
|
||||
}
|
||||
|
||||
public void setEqSourceId(Integer eqSourceId) {
|
||||
this.eqSourceId = eqSourceId;
|
||||
}
|
||||
|
||||
public String getMainVersion() {
|
||||
return mainVersion;
|
||||
}
|
||||
|
||||
public void setMainVersion(String mainVersion) {
|
||||
this.mainVersion = mainVersion;
|
||||
}
|
||||
|
||||
public String getLcdVersion() {
|
||||
return lcdVersion;
|
||||
}
|
||||
|
||||
public void setLcdVersion(String lcdVersion) {
|
||||
this.lcdVersion = lcdVersion;
|
||||
}
|
||||
|
||||
public Integer getCo2Ctrl() {
|
||||
return co2Ctrl;
|
||||
}
|
||||
|
||||
public void setCo2Ctrl(Integer co2Ctrl) {
|
||||
this.co2Ctrl = co2Ctrl;
|
||||
}
|
||||
|
||||
public Integer getHumidityChannel() {
|
||||
return humidityChannel;
|
||||
}
|
||||
|
||||
public void setHumidityChannel(Integer humidityChannel) {
|
||||
this.humidityChannel = humidityChannel;
|
||||
}
|
||||
|
||||
public Integer getRelayChannel() {
|
||||
return relayChannel;
|
||||
}
|
||||
|
||||
public void setRelayChannel(Integer relayChannel) {
|
||||
this.relayChannel = relayChannel;
|
||||
}
|
||||
|
||||
public Integer getIsConnected() {
|
||||
return isConnected;
|
||||
}
|
||||
|
||||
public void setIsConnected(Integer isConnected) {
|
||||
this.isConnected = isConnected;
|
||||
}
|
||||
|
||||
public Integer getIsMonitor() {
|
||||
return isMonitor;
|
||||
}
|
||||
|
||||
public void setIsMonitor(Integer isMonitor) {
|
||||
this.isMonitor = isMonitor;
|
||||
}
|
||||
|
||||
public Integer getIsLcd() {
|
||||
return isLcd;
|
||||
}
|
||||
|
||||
public void setIsLcd(Integer isLcd) {
|
||||
this.isLcd = isLcd;
|
||||
}
|
||||
|
||||
public Integer getCameraChannel() {
|
||||
return cameraChannel;
|
||||
}
|
||||
|
||||
public void setCameraChannel(Integer cameraChannel) {
|
||||
this.cameraChannel = cameraChannel;
|
||||
}
|
||||
|
||||
public Integer getMcChannel() {
|
||||
return mcChannel;
|
||||
}
|
||||
|
||||
public void setMcChannel(Integer mcChannel) {
|
||||
this.mcChannel = mcChannel;
|
||||
}
|
||||
|
||||
public Integer getVideo3G() {
|
||||
return video3G;
|
||||
}
|
||||
|
||||
public void setVideo3G(Integer video3G) {
|
||||
this.video3G = video3G;
|
||||
}
|
||||
|
||||
public Integer getIsSeparation() {
|
||||
return isSeparation;
|
||||
}
|
||||
|
||||
public void setIsSeparation(Integer isSeparation) {
|
||||
this.isSeparation = isSeparation;
|
||||
}
|
||||
|
||||
public Integer getIsTrailer() {
|
||||
return isTrailer;
|
||||
}
|
||||
|
||||
public void setIsTrailer(Integer isTrailer) {
|
||||
this.isTrailer = isTrailer;
|
||||
}
|
||||
|
||||
public Integer getPhotoResolution() {
|
||||
return photoResolution;
|
||||
}
|
||||
|
||||
public void setPhotoResolution(Integer photoResolution) {
|
||||
this.photoResolution = photoResolution;
|
||||
}
|
||||
|
||||
public Integer getEquipId() {
|
||||
return equipId;
|
||||
}
|
||||
|
||||
public void setEquipId(Integer equipId) {
|
||||
this.equipId = equipId;
|
||||
}
|
||||
|
||||
public String getEquipCode() {
|
||||
return equipCode;
|
||||
}
|
||||
|
||||
public void setEquipCode(String equipCode) {
|
||||
this.equipCode = equipCode;
|
||||
}
|
||||
|
||||
public Integer getFirstClassId() {
|
||||
return firstClassId;
|
||||
}
|
||||
|
||||
public void setFirstClassId(Integer firstClassId) {
|
||||
this.firstClassId = firstClassId;
|
||||
}
|
||||
|
||||
public Integer getSecondClassId() {
|
||||
return secondClassId;
|
||||
}
|
||||
|
||||
public void setSecondClassId(Integer secondClassId) {
|
||||
this.secondClassId = secondClassId;
|
||||
}
|
||||
|
||||
public Integer getThirdClassId() {
|
||||
return thirdClassId;
|
||||
}
|
||||
|
||||
public void setThirdClassId(Integer thirdClassId) {
|
||||
this.thirdClassId = thirdClassId;
|
||||
}
|
||||
|
||||
public Integer getCompanyId() {
|
||||
return companyId;
|
||||
}
|
||||
|
||||
public void setCompanyId(Integer companyId) {
|
||||
this.companyId = companyId;
|
||||
}
|
||||
|
||||
public Integer getCompanyLevel() {
|
||||
return companyLevel;
|
||||
}
|
||||
|
||||
public void setCompanyLevel(Integer companyLevel) {
|
||||
this.companyLevel = companyLevel;
|
||||
}
|
||||
|
||||
public String getModifiedRemark() {
|
||||
return modifiedRemark;
|
||||
}
|
||||
|
||||
public void setModifiedRemark(String modifiedRemark) {
|
||||
this.modifiedRemark = modifiedRemark;
|
||||
}
|
||||
|
||||
public Integer getIsStopAnalyze() {
|
||||
return isStopAnalyze;
|
||||
}
|
||||
|
||||
public void setIsStopAnalyze(Integer isStopAnalyze) {
|
||||
this.isStopAnalyze = isStopAnalyze;
|
||||
}
|
||||
|
||||
public Integer getIsAdas() {
|
||||
return isAdas;
|
||||
}
|
||||
|
||||
public void setIsAdas(Integer isAdas) {
|
||||
this.isAdas = isAdas;
|
||||
}
|
||||
|
||||
public Integer getIsTyreBar() {
|
||||
return isTyreBar;
|
||||
}
|
||||
|
||||
public void setIsTyreBar(Integer isTyreBar) {
|
||||
this.isTyreBar = isTyreBar;
|
||||
}
|
||||
|
||||
public Integer getExtAttr1() {
|
||||
return extAttr1;
|
||||
}
|
||||
|
||||
public void setExtAttr1(Integer extAttr1) {
|
||||
this.extAttr1 = extAttr1;
|
||||
}
|
||||
|
||||
public Integer getExtAttr2() {
|
||||
return extAttr2;
|
||||
}
|
||||
|
||||
public void setExtAttr2(Integer extAttr2) {
|
||||
this.extAttr2 = extAttr2;
|
||||
}
|
||||
|
||||
public Integer getExtAttr3() {
|
||||
return extAttr3;
|
||||
}
|
||||
|
||||
public void setExtAttr3(Integer extAttr3) {
|
||||
this.extAttr3 = extAttr3;
|
||||
}
|
||||
|
||||
public Integer getExtAttr4() {
|
||||
return extAttr4;
|
||||
}
|
||||
|
||||
public void setExtAttr4(Integer extAttr4) {
|
||||
this.extAttr4 = extAttr4;
|
||||
}
|
||||
|
||||
public Integer getExtAttr5() {
|
||||
return extAttr5;
|
||||
}
|
||||
|
||||
public void setExtAttr5(Integer extAttr5) {
|
||||
this.extAttr5 = extAttr5;
|
||||
}
|
||||
|
||||
public Integer getExtAttr6() {
|
||||
return extAttr6;
|
||||
}
|
||||
|
||||
public void setExtAttr6(Integer extAttr6) {
|
||||
this.extAttr6 = extAttr6;
|
||||
}
|
||||
|
||||
public Integer getExtAttr7() {
|
||||
return extAttr7;
|
||||
}
|
||||
|
||||
public void setExtAttr7(Integer extAttr7) {
|
||||
this.extAttr7 = extAttr7;
|
||||
}
|
||||
|
||||
public Integer getExtAttr8() {
|
||||
return extAttr8;
|
||||
}
|
||||
|
||||
public void setExtAttr8(Integer extAttr8) {
|
||||
this.extAttr8 = extAttr8;
|
||||
}
|
||||
|
||||
public Integer getExtAttr9() {
|
||||
return extAttr9;
|
||||
}
|
||||
|
||||
public void setExtAttr9(Integer extAttr9) {
|
||||
this.extAttr9 = extAttr9;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("maxModifiedTime", maxModifiedTime)
|
||||
.add("vehicleId", vehicleId)
|
||||
.add("vehicleNo", vehicleNo)
|
||||
.add("isValid", isValid)
|
||||
.add("corpId", corpId)
|
||||
.add("regName", regName)
|
||||
.add("customName", customName)
|
||||
.add("objKey", objKey)
|
||||
.add("monitorCorpId", monitorCorpId)
|
||||
.add("dataSource", dataSource)
|
||||
.add("dataTerName", dataTerName)
|
||||
.add("dataTerminalId", dataTerminalId)
|
||||
.add("commids", commids)
|
||||
.add("deviceType", deviceType)
|
||||
.add("status", status)
|
||||
.add("terFrom", terFrom)
|
||||
.add("terSource", terSource)
|
||||
.add("power", power)
|
||||
.add("isLock", isLock)
|
||||
.add("isHaveLock", isHaveLock)
|
||||
.add("isCamera", isCamera)
|
||||
.add("cooler", cooler)
|
||||
.add("hydraulic", hydraulic)
|
||||
.add("oilControl", oilControl)
|
||||
.add("airCondition", airCondition)
|
||||
.add("centerLock", centerLock)
|
||||
.add("cutoilelec", cutoilelec)
|
||||
.add("isMan", isMan)
|
||||
.add("isStandbyPower", isStandbyPower)
|
||||
.add("temperaturectrl", temperaturectrl)
|
||||
.add("isMixer", isMixer)
|
||||
.add("dobuleSpeed", dobuleSpeed)
|
||||
.add("switchNum", switchNum)
|
||||
.add("appid", appid)
|
||||
.add("antennaLocation", antennaLocation)
|
||||
.add("eqSourceId", eqSourceId)
|
||||
.add("mainVersion", mainVersion)
|
||||
.add("lcdVersion", lcdVersion)
|
||||
.add("co2Ctrl", co2Ctrl)
|
||||
.add("humidityChannel", humidityChannel)
|
||||
.add("relayChannel", relayChannel)
|
||||
.add("isConnected", isConnected)
|
||||
.add("isMonitor", isMonitor)
|
||||
.add("isLcd", isLcd)
|
||||
.add("cameraChannel", cameraChannel)
|
||||
.add("mcChannel", mcChannel)
|
||||
.add("video3G", video3G)
|
||||
.add("isSeparation", isSeparation)
|
||||
.add("isTrailer", isTrailer)
|
||||
.add("photoResolution", photoResolution)
|
||||
.add("equipId", equipId)
|
||||
.add("equipCode", equipCode)
|
||||
.add("firstClassId", firstClassId)
|
||||
.add("secondClassId", secondClassId)
|
||||
.add("thirdClassId", thirdClassId)
|
||||
.add("companyId", companyId)
|
||||
.add("companyLevel", companyLevel)
|
||||
.add("modifiedRemark", modifiedRemark)
|
||||
.add("isStopAnalyze", isStopAnalyze)
|
||||
.add("isAdas", isAdas)
|
||||
.add("isTyreBar", isTyreBar)
|
||||
.add("extAttr1", extAttr1)
|
||||
.add("extAttr2", extAttr2)
|
||||
.add("extAttr3", extAttr3)
|
||||
.add("extAttr4", extAttr4)
|
||||
.add("extAttr5", extAttr5)
|
||||
.add("extAttr6", extAttr6)
|
||||
.add("extAttr7", extAttr7)
|
||||
.add("extAttr8", extAttr8)
|
||||
.add("extAttr9", extAttr9)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,86 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/7 15:00
|
||||
* @ClassName VehicleBaseInfoVO
|
||||
* @Remark
|
||||
*/
|
||||
public class VehicleBaseInfoVO {
|
||||
/**
|
||||
* 车牌
|
||||
*/
|
||||
private String vehicleName;
|
||||
/**
|
||||
* 车队名称
|
||||
*/
|
||||
private String orgName;
|
||||
/**
|
||||
* 车队编码
|
||||
*/
|
||||
private String orgCode;
|
||||
/**
|
||||
* 车队联系人
|
||||
*/
|
||||
private String orgLinkName;
|
||||
/**
|
||||
* 车队联系方式
|
||||
*/
|
||||
private String orgLinkPhone;
|
||||
|
||||
public String getVehicleName() {
|
||||
return vehicleName;
|
||||
}
|
||||
|
||||
public void setVehicleName(String vehicleName) {
|
||||
this.vehicleName = vehicleName;
|
||||
}
|
||||
|
||||
public String getOrgName() {
|
||||
return orgName;
|
||||
}
|
||||
|
||||
public void setOrgName(String orgName) {
|
||||
this.orgName = orgName;
|
||||
}
|
||||
|
||||
public String getOrgCode() {
|
||||
return orgCode;
|
||||
}
|
||||
|
||||
public void setOrgCode(String orgCode) {
|
||||
this.orgCode = orgCode;
|
||||
}
|
||||
|
||||
public String getOrgLinkName() {
|
||||
return orgLinkName;
|
||||
}
|
||||
|
||||
public void setOrgLinkName(String orgLinkName) {
|
||||
this.orgLinkName = orgLinkName;
|
||||
}
|
||||
|
||||
public String getOrgLinkPhone() {
|
||||
return orgLinkPhone;
|
||||
}
|
||||
|
||||
public void setOrgLinkPhone(String orgLinkPhone) {
|
||||
this.orgLinkPhone = orgLinkPhone;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("vehicleName", vehicleName)
|
||||
.add("orgName", orgName)
|
||||
.add("orgCode", orgCode)
|
||||
.add("orgLinkName", orgLinkName)
|
||||
.add("orgLinkPhone", orgLinkPhone)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,546 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.basic;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class VehicleInfoResp {
|
||||
private String vehicleNO; //真实车牌 苏AF5595
|
||||
private String vehicle; //查询输入的车牌 苏AF5595
|
||||
private String regName; //系统中使用的车牌 苏AF5595
|
||||
private String gpsTime; //定位时间 2014/10/16 8:48
|
||||
private String speed; //速度 14
|
||||
private String odometer; //里程 287817.7
|
||||
private BigDecimal lat; //纬度(WGS-84坐标系) 31.209667
|
||||
private BigDecimal lon; //经度(WGS-84坐标系) 121.535469
|
||||
private String direction; //车头方向0-360(0为正北 顺时针递加) 198
|
||||
private String status; //状态 ACC开,3D定位,天线正常,冷机开,门关,门关4
|
||||
private String placeName; //车辆位置 直辖市上海市闵行区
|
||||
private String provice; //省 直辖市
|
||||
private String city; //市 上海市
|
||||
private String district; //区 闵行区
|
||||
private String roadName; //路名信息 景联路南82米(普通路)
|
||||
private String t1; //温度1(℃) 5
|
||||
private String t2; //温度2(℃) 15
|
||||
private String t3; //温度3(℃) 13
|
||||
private String t4; //温度4(℃) 2
|
||||
private String t5; //温度5(℃) 0
|
||||
private String t6; //温度6(℃) 12
|
||||
private String t7; //温度7(℃) 1
|
||||
private String t8; //温度8(℃) 2
|
||||
private BigDecimal lat02; //根据参数isoffsetlonlat返回的纬度 33.326545
|
||||
private BigDecimal lon02; //根据参数isoffsetlonlat返回的经度 113.332154
|
||||
private String areaName; //地标名称 黄埔江公寓
|
||||
private String time1; //温度1采集时间 2014/10/16 8:48
|
||||
private String time2; //温度2采集时间 2014/10/16 8:48
|
||||
private String time3; //温度3采集时间 2014/10/16 8:48
|
||||
private String time4; //温度4采集时间 2014/10/16 8:48
|
||||
private String time5; //温度5采集时间 2014/10/16 8:48
|
||||
private String time6; //温度6采集时间 2014/10/16 8:48
|
||||
private String time7; //温度7采集时间 2014/10/16 8:48
|
||||
private String time8; //温度8采集时间 2014/10/16 8:48
|
||||
private String h1; //湿度1(%RH) 60
|
||||
private String h2; //湿度2(%RH) 65
|
||||
private String h3; //湿度3(%RH) 62
|
||||
private String h4; //湿度4(%RH) 60
|
||||
private String h5; //湿度5(%RH) 60
|
||||
private String h6; //湿度6(%RH) 60
|
||||
private String h7; //湿度7(%RH) 60
|
||||
private String h8; //湿度8(%RH) 60
|
||||
private String ht1; //湿度1采集时间 2014/10/16 8:48
|
||||
private String ht2; //湿度2采集时间 2014/10/16 8:48
|
||||
private String ht3; //湿度3采集时间 2014/10/16 8:48
|
||||
private String ht4; //湿度4采集时间 2014/10/16 8:48
|
||||
private String ht5; //湿度5采集时间 2014/10/16 8:48
|
||||
private String ht6; //湿度6采集时间 2014/10/16 8:48
|
||||
private String ht7; //湿度7采集时间 2014/10/16 8:48
|
||||
private String ht8; //湿度8采集时间 2014/10/16 8:48
|
||||
private String deviceTypeStr; //设备类型 便携设备
|
||||
private String equipCode; //设备编号 HR160812000006
|
||||
private String oil; //当前油量 50
|
||||
private String height ; //海拔高度 单位米 1423
|
||||
private String stopSec; //停车时长 单位秒 300
|
||||
private Integer acc; //ACC状态;0 无,1关,2开 1
|
||||
private String vehicleNo; //真实车牌 苏AF5595
|
||||
private String ohm; //油量欧姆值 1180
|
||||
private Integer curAccSta; //当前ACC状态;1:在线 0:不在线 2:未知 1
|
||||
private String commIds; //中心识别码 12123222
|
||||
|
||||
public String getVehicleNO() {
|
||||
return vehicleNO;
|
||||
}
|
||||
|
||||
public void setVehicleNO(String vehicleNO) {
|
||||
this.vehicleNO = vehicleNO;
|
||||
}
|
||||
|
||||
public String getVehicle() {
|
||||
return vehicle;
|
||||
}
|
||||
|
||||
public void setVehicle(String vehicle) {
|
||||
this.vehicle = vehicle;
|
||||
}
|
||||
|
||||
public String getRegName() {
|
||||
return regName;
|
||||
}
|
||||
|
||||
public void setRegName(String regName) {
|
||||
this.regName = regName;
|
||||
}
|
||||
|
||||
public String getGpsTime() {
|
||||
return gpsTime;
|
||||
}
|
||||
|
||||
public void setGpsTime(String gpsTime) {
|
||||
this.gpsTime = gpsTime;
|
||||
}
|
||||
|
||||
public String getSpeed() {
|
||||
return speed;
|
||||
}
|
||||
|
||||
public void setSpeed(String speed) {
|
||||
this.speed = speed;
|
||||
}
|
||||
|
||||
public String getOdometer() {
|
||||
return odometer;
|
||||
}
|
||||
|
||||
public void setOdometer(String odometer) {
|
||||
this.odometer = odometer;
|
||||
}
|
||||
|
||||
public BigDecimal getLat() {
|
||||
return lat;
|
||||
}
|
||||
|
||||
public void setLat(BigDecimal lat) {
|
||||
this.lat = lat;
|
||||
}
|
||||
|
||||
public BigDecimal getLon() {
|
||||
return lon;
|
||||
}
|
||||
|
||||
public void setLon(BigDecimal lon) {
|
||||
this.lon = lon;
|
||||
}
|
||||
|
||||
public String getDirection() {
|
||||
return direction;
|
||||
}
|
||||
|
||||
public void setDirection(String direction) {
|
||||
this.direction = direction;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getPlaceName() {
|
||||
return placeName;
|
||||
}
|
||||
|
||||
public void setPlaceName(String placeName) {
|
||||
this.placeName = placeName;
|
||||
}
|
||||
|
||||
public String getProvice() {
|
||||
return provice;
|
||||
}
|
||||
|
||||
public void setProvice(String provice) {
|
||||
this.provice = provice;
|
||||
}
|
||||
|
||||
public String getCity() {
|
||||
return city;
|
||||
}
|
||||
|
||||
public void setCity(String city) {
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public String getDistrict() {
|
||||
return district;
|
||||
}
|
||||
|
||||
public void setDistrict(String district) {
|
||||
this.district = district;
|
||||
}
|
||||
|
||||
public String getRoadName() {
|
||||
return roadName;
|
||||
}
|
||||
|
||||
public void setRoadName(String roadName) {
|
||||
this.roadName = roadName;
|
||||
}
|
||||
|
||||
public String getT1() {
|
||||
return t1;
|
||||
}
|
||||
|
||||
public void setT1(String t1) {
|
||||
this.t1 = t1;
|
||||
}
|
||||
|
||||
public String getT2() {
|
||||
return t2;
|
||||
}
|
||||
|
||||
public void setT2(String t2) {
|
||||
this.t2 = t2;
|
||||
}
|
||||
|
||||
public String getT3() {
|
||||
return t3;
|
||||
}
|
||||
|
||||
public void setT3(String t3) {
|
||||
this.t3 = t3;
|
||||
}
|
||||
|
||||
public String getT4() {
|
||||
return t4;
|
||||
}
|
||||
|
||||
public void setT4(String t4) {
|
||||
this.t4 = t4;
|
||||
}
|
||||
|
||||
public String getT5() {
|
||||
return t5;
|
||||
}
|
||||
|
||||
public void setT5(String t5) {
|
||||
this.t5 = t5;
|
||||
}
|
||||
|
||||
public String getT6() {
|
||||
return t6;
|
||||
}
|
||||
|
||||
public void setT6(String t6) {
|
||||
this.t6 = t6;
|
||||
}
|
||||
|
||||
public String getT7() {
|
||||
return t7;
|
||||
}
|
||||
|
||||
public void setT7(String t7) {
|
||||
this.t7 = t7;
|
||||
}
|
||||
|
||||
public String getT8() {
|
||||
return t8;
|
||||
}
|
||||
|
||||
public void setT8(String t8) {
|
||||
this.t8 = t8;
|
||||
}
|
||||
|
||||
public BigDecimal getLat02() {
|
||||
return lat02;
|
||||
}
|
||||
|
||||
public void setLat02(BigDecimal lat02) {
|
||||
this.lat02 = lat02;
|
||||
}
|
||||
|
||||
public BigDecimal getLon02() {
|
||||
return lon02;
|
||||
}
|
||||
|
||||
public void setLon02(BigDecimal lon02) {
|
||||
this.lon02 = lon02;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public String getTime1() {
|
||||
return time1;
|
||||
}
|
||||
|
||||
public void setTime1(String time1) {
|
||||
this.time1 = time1;
|
||||
}
|
||||
|
||||
public String getTime2() {
|
||||
return time2;
|
||||
}
|
||||
|
||||
public void setTime2(String time2) {
|
||||
this.time2 = time2;
|
||||
}
|
||||
|
||||
public String getTime3() {
|
||||
return time3;
|
||||
}
|
||||
|
||||
public void setTime3(String time3) {
|
||||
this.time3 = time3;
|
||||
}
|
||||
|
||||
public String getTime4() {
|
||||
return time4;
|
||||
}
|
||||
|
||||
public void setTime4(String time4) {
|
||||
this.time4 = time4;
|
||||
}
|
||||
|
||||
public String getTime5() {
|
||||
return time5;
|
||||
}
|
||||
|
||||
public void setTime5(String time5) {
|
||||
this.time5 = time5;
|
||||
}
|
||||
|
||||
public String getTime6() {
|
||||
return time6;
|
||||
}
|
||||
|
||||
public void setTime6(String time6) {
|
||||
this.time6 = time6;
|
||||
}
|
||||
|
||||
public String getTime7() {
|
||||
return time7;
|
||||
}
|
||||
|
||||
public void setTime7(String time7) {
|
||||
this.time7 = time7;
|
||||
}
|
||||
|
||||
public String getTime8() {
|
||||
return time8;
|
||||
}
|
||||
|
||||
public void setTime8(String time8) {
|
||||
this.time8 = time8;
|
||||
}
|
||||
|
||||
public String getH1() {
|
||||
return h1;
|
||||
}
|
||||
|
||||
public void setH1(String h1) {
|
||||
this.h1 = h1;
|
||||
}
|
||||
|
||||
public String getH2() {
|
||||
return h2;
|
||||
}
|
||||
|
||||
public void setH2(String h2) {
|
||||
this.h2 = h2;
|
||||
}
|
||||
|
||||
public String getH3() {
|
||||
return h3;
|
||||
}
|
||||
|
||||
public void setH3(String h3) {
|
||||
this.h3 = h3;
|
||||
}
|
||||
|
||||
public String getH4() {
|
||||
return h4;
|
||||
}
|
||||
|
||||
public void setH4(String h4) {
|
||||
this.h4 = h4;
|
||||
}
|
||||
|
||||
public String getH5() {
|
||||
return h5;
|
||||
}
|
||||
|
||||
public void setH5(String h5) {
|
||||
this.h5 = h5;
|
||||
}
|
||||
|
||||
public String getH6() {
|
||||
return h6;
|
||||
}
|
||||
|
||||
public void setH6(String h6) {
|
||||
this.h6 = h6;
|
||||
}
|
||||
|
||||
public String getH7() {
|
||||
return h7;
|
||||
}
|
||||
|
||||
public void setH7(String h7) {
|
||||
this.h7 = h7;
|
||||
}
|
||||
|
||||
public String getH8() {
|
||||
return h8;
|
||||
}
|
||||
|
||||
public void setH8(String h8) {
|
||||
this.h8 = h8;
|
||||
}
|
||||
|
||||
public String getHt1() {
|
||||
return ht1;
|
||||
}
|
||||
|
||||
public void setHt1(String ht1) {
|
||||
this.ht1 = ht1;
|
||||
}
|
||||
|
||||
public String getHt2() {
|
||||
return ht2;
|
||||
}
|
||||
|
||||
public void setHt2(String ht2) {
|
||||
this.ht2 = ht2;
|
||||
}
|
||||
|
||||
public String getHt3() {
|
||||
return ht3;
|
||||
}
|
||||
|
||||
public void setHt3(String ht3) {
|
||||
this.ht3 = ht3;
|
||||
}
|
||||
|
||||
public String getHt4() {
|
||||
return ht4;
|
||||
}
|
||||
|
||||
public void setHt4(String ht4) {
|
||||
this.ht4 = ht4;
|
||||
}
|
||||
|
||||
public String getHt5() {
|
||||
return ht5;
|
||||
}
|
||||
|
||||
public void setHt5(String ht5) {
|
||||
this.ht5 = ht5;
|
||||
}
|
||||
|
||||
public String getHt6() {
|
||||
return ht6;
|
||||
}
|
||||
|
||||
public void setHt6(String ht6) {
|
||||
this.ht6 = ht6;
|
||||
}
|
||||
|
||||
public String getHt7() {
|
||||
return ht7;
|
||||
}
|
||||
|
||||
public void setHt7(String ht7) {
|
||||
this.ht7 = ht7;
|
||||
}
|
||||
|
||||
public String getHt8() {
|
||||
return ht8;
|
||||
}
|
||||
|
||||
public void setHt8(String ht8) {
|
||||
this.ht8 = ht8;
|
||||
}
|
||||
|
||||
public String getDeviceTypeStr() {
|
||||
return deviceTypeStr;
|
||||
}
|
||||
|
||||
public void setDeviceTypeStr(String deviceTypeStr) {
|
||||
this.deviceTypeStr = deviceTypeStr;
|
||||
}
|
||||
|
||||
public String getEquipCode() {
|
||||
return equipCode;
|
||||
}
|
||||
|
||||
public void setEquipCode(String equipCode) {
|
||||
this.equipCode = equipCode;
|
||||
}
|
||||
|
||||
public String getOil() {
|
||||
return oil;
|
||||
}
|
||||
|
||||
public void setOil(String oil) {
|
||||
this.oil = oil;
|
||||
}
|
||||
|
||||
public String getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
public void setHeight(String height) {
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public String getStopSec() {
|
||||
return stopSec;
|
||||
}
|
||||
|
||||
public void setStopSec(String stopSec) {
|
||||
this.stopSec = stopSec;
|
||||
}
|
||||
|
||||
public Integer getAcc() {
|
||||
return acc;
|
||||
}
|
||||
|
||||
public void setAcc(Integer acc) {
|
||||
this.acc = acc;
|
||||
}
|
||||
|
||||
public String getVehicleNo() {
|
||||
return vehicleNo;
|
||||
}
|
||||
|
||||
public void setVehicleNo(String vehicleNo) {
|
||||
this.vehicleNo = vehicleNo;
|
||||
}
|
||||
|
||||
public String getOhm() {
|
||||
return ohm;
|
||||
}
|
||||
|
||||
public void setOhm(String ohm) {
|
||||
this.ohm = ohm;
|
||||
}
|
||||
|
||||
public Integer getCurAccSta() {
|
||||
return curAccSta;
|
||||
}
|
||||
|
||||
public void setCurAccSta(Integer curAccSta) {
|
||||
this.curAccSta = curAccSta;
|
||||
}
|
||||
|
||||
public String getCommIds() {
|
||||
return commIds;
|
||||
}
|
||||
|
||||
public void setCommIds(String commIds) {
|
||||
this.commIds = commIds;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,130 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description TODO
|
||||
* @Author xxx@e6yun.com
|
||||
* @Created Date: 2021/7/8 10:59
|
||||
* @ClassName AiPictureVOListVO
|
||||
* @Remark
|
||||
*/
|
||||
public class AiPictureVOList {
|
||||
private Integer vehicleId;
|
||||
|
||||
private String startTime;
|
||||
|
||||
private String endTime;
|
||||
|
||||
private Integer firstType;
|
||||
|
||||
private Integer secondType;
|
||||
|
||||
private Integer DataType;
|
||||
|
||||
private Integer curPage;
|
||||
|
||||
private Integer pageSize;
|
||||
|
||||
private String sortIndx;
|
||||
|
||||
private String sortDir;
|
||||
|
||||
public Integer getVehicleId() {
|
||||
return vehicleId;
|
||||
}
|
||||
|
||||
public void setVehicleId(Integer vehicleId) {
|
||||
this.vehicleId = vehicleId;
|
||||
}
|
||||
|
||||
public String getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(String startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public String getEndTime() {
|
||||
return endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(String endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public Integer getFirstType() {
|
||||
return firstType;
|
||||
}
|
||||
|
||||
public void setFirstType(Integer firstType) {
|
||||
this.firstType = firstType;
|
||||
}
|
||||
|
||||
public Integer getSecondType() {
|
||||
return secondType;
|
||||
}
|
||||
|
||||
public void setSecondType(Integer secondType) {
|
||||
this.secondType = secondType;
|
||||
}
|
||||
|
||||
public Integer getDataType() {
|
||||
return DataType;
|
||||
}
|
||||
|
||||
public void setDataType(Integer dataType) {
|
||||
DataType = dataType;
|
||||
}
|
||||
|
||||
public Integer getCurPage() {
|
||||
return curPage;
|
||||
}
|
||||
|
||||
public void setCurPage(Integer curPage) {
|
||||
this.curPage = curPage;
|
||||
}
|
||||
|
||||
public Integer getPageSize() {
|
||||
return pageSize;
|
||||
}
|
||||
|
||||
public void setPageSize(Integer pageSize) {
|
||||
this.pageSize = pageSize;
|
||||
}
|
||||
|
||||
public String getSortIndx() {
|
||||
return sortIndx;
|
||||
}
|
||||
|
||||
public void setSortIndx(String sortIndx) {
|
||||
this.sortIndx = sortIndx;
|
||||
}
|
||||
|
||||
public String getSortDir() {
|
||||
return sortDir;
|
||||
}
|
||||
|
||||
public void setSortDir(String sortDir) {
|
||||
this.sortDir = sortDir;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("vehicleId", vehicleId)
|
||||
.add("startTime", startTime)
|
||||
.add("endTime", endTime)
|
||||
.add("firstType", firstType)
|
||||
.add("secondType", secondType)
|
||||
.add("DataType", DataType)
|
||||
.add("curPage", curPage)
|
||||
.add("pageSize", pageSize)
|
||||
.add("sortIndx", sortIndx)
|
||||
.add("sortDir", sortDir)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,303 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description AiPictureVOListVO
|
||||
* @Author jiangruikang@e6yun.com
|
||||
* @Created Date: 2021/7/13 10:40
|
||||
* @ClassName AiPictureVOListVO
|
||||
* @Remark
|
||||
*/
|
||||
public class AiPictureVOListVO {
|
||||
|
||||
private Integer sn;
|
||||
private Integer vehicleID;
|
||||
private String vehicleNO;
|
||||
private String orgName;
|
||||
private Date gpsTime;
|
||||
private String gpsTimeView;
|
||||
private BigDecimal lon;
|
||||
private BigDecimal lat;
|
||||
//private Integer direction;
|
||||
private Integer speed;
|
||||
private BigDecimal odometer;
|
||||
//private BigDecimal runOdometer;
|
||||
//private String status;
|
||||
//private String fileName;
|
||||
private Date picTime;
|
||||
private String picTimeView;
|
||||
private Integer fristTypeID;
|
||||
private String fristTypeName;
|
||||
private Integer secondTypeID;
|
||||
private String secondTypeName;
|
||||
private Integer eventTypeID;
|
||||
private String eventTypeName;
|
||||
private String areaName;
|
||||
private String placeName;
|
||||
private Integer route;
|
||||
private String routeView;
|
||||
//照片数据类型 0.二进制,1.OSS照片
|
||||
private Integer picDataType;
|
||||
//照片或视频类型 0.照片,1.视频,2.照片+视频
|
||||
private Integer urlType;
|
||||
/// <summary>
|
||||
/// 附件数据
|
||||
/// </summary>
|
||||
private List<AttachmentVO> attachmentList;
|
||||
private List<AttachmentVO> videos;
|
||||
private List<AttachmentVO> pictures;
|
||||
|
||||
public Integer getSn() {
|
||||
return sn;
|
||||
}
|
||||
|
||||
public void setSn(Integer sn) {
|
||||
this.sn = sn;
|
||||
}
|
||||
|
||||
public Integer getVehicleID() {
|
||||
return vehicleID;
|
||||
}
|
||||
|
||||
public void setVehicleID(Integer vehicleID) {
|
||||
this.vehicleID = vehicleID;
|
||||
}
|
||||
|
||||
public String getVehicleNO() {
|
||||
return vehicleNO;
|
||||
}
|
||||
|
||||
public void setVehicleNO(String vehicleNO) {
|
||||
this.vehicleNO = vehicleNO;
|
||||
}
|
||||
|
||||
public String getOrgName() {
|
||||
return orgName;
|
||||
}
|
||||
|
||||
public void setOrgName(String orgName) {
|
||||
this.orgName = orgName;
|
||||
}
|
||||
|
||||
public Date getGpsTime() {
|
||||
return gpsTime;
|
||||
}
|
||||
|
||||
public void setGpsTime(Date gpsTime) {
|
||||
this.gpsTime = gpsTime;
|
||||
}
|
||||
|
||||
public String getGpsTimeView() {
|
||||
return gpsTimeView;
|
||||
}
|
||||
|
||||
public void setGpsTimeView(String gpsTimeView) {
|
||||
this.gpsTimeView = gpsTimeView;
|
||||
}
|
||||
|
||||
public BigDecimal getLon() {
|
||||
return lon;
|
||||
}
|
||||
|
||||
public void setLon(BigDecimal lon) {
|
||||
this.lon = lon;
|
||||
}
|
||||
|
||||
public BigDecimal getLat() {
|
||||
return lat;
|
||||
}
|
||||
|
||||
public void setLat(BigDecimal lat) {
|
||||
this.lat = lat;
|
||||
}
|
||||
|
||||
public Integer getSpeed() {
|
||||
return speed;
|
||||
}
|
||||
|
||||
public void setSpeed(Integer speed) {
|
||||
this.speed = speed;
|
||||
}
|
||||
|
||||
public BigDecimal getOdometer() {
|
||||
return odometer;
|
||||
}
|
||||
|
||||
public void setOdometer(BigDecimal odometer) {
|
||||
this.odometer = odometer;
|
||||
}
|
||||
|
||||
public Date getPicTime() {
|
||||
return picTime;
|
||||
}
|
||||
|
||||
public void setPicTime(Date picTime) {
|
||||
this.picTime = picTime;
|
||||
}
|
||||
|
||||
public String getPicTimeView() {
|
||||
return picTimeView;
|
||||
}
|
||||
|
||||
public void setPicTimeView(String picTimeView) {
|
||||
this.picTimeView = picTimeView;
|
||||
}
|
||||
|
||||
public Integer getFristTypeID() {
|
||||
return fristTypeID;
|
||||
}
|
||||
|
||||
public void setFristTypeID(Integer fristTypeID) {
|
||||
this.fristTypeID = fristTypeID;
|
||||
}
|
||||
|
||||
public String getFristTypeName() {
|
||||
return fristTypeName;
|
||||
}
|
||||
|
||||
public void setFristTypeName(String fristTypeName) {
|
||||
this.fristTypeName = fristTypeName;
|
||||
}
|
||||
|
||||
public Integer getSecondTypeID() {
|
||||
return secondTypeID;
|
||||
}
|
||||
|
||||
public void setSecondTypeID(Integer secondTypeID) {
|
||||
this.secondTypeID = secondTypeID;
|
||||
}
|
||||
|
||||
public String getSecondTypeName() {
|
||||
return secondTypeName;
|
||||
}
|
||||
|
||||
public void setSecondTypeName(String secondTypeName) {
|
||||
this.secondTypeName = secondTypeName;
|
||||
}
|
||||
|
||||
public Integer getEventTypeID() {
|
||||
return eventTypeID;
|
||||
}
|
||||
|
||||
public void setEventTypeID(Integer eventTypeID) {
|
||||
this.eventTypeID = eventTypeID;
|
||||
}
|
||||
|
||||
public String getEventTypeName() {
|
||||
return eventTypeName;
|
||||
}
|
||||
|
||||
public void setEventTypeName(String eventTypeName) {
|
||||
this.eventTypeName = eventTypeName;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public String getPlaceName() {
|
||||
return placeName;
|
||||
}
|
||||
|
||||
public void setPlaceName(String placeName) {
|
||||
this.placeName = placeName;
|
||||
}
|
||||
|
||||
public Integer getRoute() {
|
||||
return route;
|
||||
}
|
||||
|
||||
public void setRoute(Integer route) {
|
||||
this.route = route;
|
||||
}
|
||||
|
||||
public String getRouteView() {
|
||||
return routeView;
|
||||
}
|
||||
|
||||
public void setRouteView(String routeView) {
|
||||
this.routeView = routeView;
|
||||
}
|
||||
|
||||
public Integer getPicDataType() {
|
||||
return picDataType;
|
||||
}
|
||||
|
||||
public void setPicDataType(Integer picDataType) {
|
||||
this.picDataType = picDataType;
|
||||
}
|
||||
|
||||
public Integer getUrlType() {
|
||||
return urlType;
|
||||
}
|
||||
|
||||
public void setUrlType(Integer urlType) {
|
||||
this.urlType = urlType;
|
||||
}
|
||||
|
||||
public List<AttachmentVO> getAttachmentList() {
|
||||
return attachmentList;
|
||||
}
|
||||
|
||||
public void setAttachmentList(List<AttachmentVO> attachmentList) {
|
||||
this.attachmentList = attachmentList;
|
||||
}
|
||||
|
||||
public List<AttachmentVO> getVideos() {
|
||||
return videos;
|
||||
}
|
||||
|
||||
public void setVideos(List<AttachmentVO> videos) {
|
||||
this.videos = videos;
|
||||
}
|
||||
|
||||
public List<AttachmentVO> getPictures() {
|
||||
return pictures;
|
||||
}
|
||||
|
||||
public void setPictures(List<AttachmentVO> pictures) {
|
||||
this.pictures = pictures;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("sn", sn)
|
||||
.add("vehicleID", vehicleID)
|
||||
.add("vehicleNO", vehicleNO)
|
||||
.add("orgName", orgName)
|
||||
.add("gpsTime", gpsTime)
|
||||
.add("gpsTimeView", gpsTimeView)
|
||||
.add("lon", lon)
|
||||
.add("lat", lat)
|
||||
.add("speed", speed)
|
||||
.add("odometer", odometer)
|
||||
.add("picTime", picTime)
|
||||
.add("picTimeView", picTimeView)
|
||||
.add("fristTypeID", fristTypeID)
|
||||
.add("fristTypeName", fristTypeName)
|
||||
.add("secondTypeID", secondTypeID)
|
||||
.add("secondTypeName", secondTypeName)
|
||||
.add("eventTypeID", eventTypeID)
|
||||
.add("eventTypeName", eventTypeName)
|
||||
.add("areaName", areaName)
|
||||
.add("placeName", placeName)
|
||||
.add("route", route)
|
||||
.add("routeView", routeView)
|
||||
.add("picDataType", picDataType)
|
||||
.add("urlType", urlType)
|
||||
.add("attachmentList", attachmentList)
|
||||
.add("videos", videos)
|
||||
.add("pictures", pictures)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description TODO
|
||||
* @Author xxx@e6yun.com
|
||||
* @Created Date: 2021/7/6 15:21
|
||||
* @ClassName AlarmVideoUrlVO
|
||||
* @Remark
|
||||
*/
|
||||
public class AlarmVideoUrlVO {
|
||||
|
||||
private Integer vehicleId;
|
||||
private String vehicle;
|
||||
private Integer channelId;
|
||||
private String url;
|
||||
private Long doorId = -1L;
|
||||
|
||||
public AlarmVideoUrlVO() {
|
||||
}
|
||||
|
||||
public Integer getVehicleId() {
|
||||
return vehicleId;
|
||||
}
|
||||
|
||||
public void setVehicleId(Integer vehicleId) {
|
||||
this.vehicleId = vehicleId;
|
||||
}
|
||||
|
||||
public String getVehicle() {
|
||||
return vehicle;
|
||||
}
|
||||
|
||||
public void setVehicle(String vehicle) {
|
||||
this.vehicle = vehicle;
|
||||
}
|
||||
|
||||
public Integer getChannelId() {
|
||||
return channelId;
|
||||
}
|
||||
|
||||
public void setChannelId(Integer channelId) {
|
||||
this.channelId = channelId;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public Long getDoorId() {
|
||||
return doorId;
|
||||
}
|
||||
|
||||
public void setDoorId(Long doorId) {
|
||||
this.doorId = doorId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("vehicleId", vehicleId)
|
||||
.add("vehicle", vehicle)
|
||||
.add("channelId", channelId)
|
||||
.add("url", url)
|
||||
.add("doorId", doorId)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/7 14:40
|
||||
* @ClassName AllTerminalAndVehicle
|
||||
* @Remark
|
||||
*/
|
||||
public class AllTerminalAndVehicle {
|
||||
private List<E6VehicleSummarySelfVO> e6VehicleSummaryPOS;
|
||||
private List<E6DataTerminalSummaryPO> e6DataTerminalSummaryPOS;
|
||||
|
||||
public List<E6VehicleSummarySelfVO> getE6VehicleSummaryPOS() {
|
||||
return e6VehicleSummaryPOS;
|
||||
}
|
||||
|
||||
public void setE6VehicleSummaryPOS(List<E6VehicleSummarySelfVO> e6VehicleSummaryPOS) {
|
||||
this.e6VehicleSummaryPOS = e6VehicleSummaryPOS;
|
||||
}
|
||||
|
||||
public List<E6DataTerminalSummaryPO> getE6DataTerminalSummaryPOS() {
|
||||
return e6DataTerminalSummaryPOS;
|
||||
}
|
||||
|
||||
public void setE6DataTerminalSummaryPOS(List<E6DataTerminalSummaryPO> e6DataTerminalSummaryPOS) {
|
||||
this.e6DataTerminalSummaryPOS = e6DataTerminalSummaryPOS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("e6VehicleSummaryPOS", e6VehicleSummaryPOS)
|
||||
.add("e6DataTerminalSummaryPOS", e6DataTerminalSummaryPOS)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description AttachmentVO
|
||||
* @Author jiangruikang@e6yun.com
|
||||
* @Created Date: 2021/7/13 10:42
|
||||
* @ClassName AttachmentVO
|
||||
* @Remark
|
||||
*/
|
||||
public class AttachmentVO {
|
||||
private Integer type;
|
||||
//URL地址
|
||||
private String url;
|
||||
private Integer picDataType;
|
||||
|
||||
public Integer getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public Integer getPicDataType() {
|
||||
return picDataType;
|
||||
}
|
||||
|
||||
public void setPicDataType(Integer picDataType) {
|
||||
this.picDataType = picDataType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("type", type)
|
||||
.add("url", url)
|
||||
.add("picDataType", picDataType)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,77 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description TODO
|
||||
* @Author xxx@e6yun.com
|
||||
* @Created Date: 2021/7/6 14:59
|
||||
* @ClassName DownVideoVO
|
||||
* @Remark
|
||||
*/
|
||||
public class DownVideo {
|
||||
|
||||
private String vehicle;
|
||||
|
||||
private String channelIds;
|
||||
|
||||
private String startTime;
|
||||
|
||||
private String endTime;
|
||||
|
||||
private String callbackUrl;
|
||||
|
||||
public DownVideo() {
|
||||
}
|
||||
|
||||
public String getVehicle() {
|
||||
return vehicle;
|
||||
}
|
||||
|
||||
public void setVehicle(String vehicle) {
|
||||
this.vehicle = vehicle;
|
||||
}
|
||||
|
||||
public String getChannelIds() {
|
||||
return channelIds;
|
||||
}
|
||||
|
||||
public void setChannelIds(String channelIds) {
|
||||
this.channelIds = channelIds;
|
||||
}
|
||||
|
||||
public String getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(String startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public String getEndTime() {
|
||||
return endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(String endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public String getCallbackUrl() {
|
||||
return callbackUrl;
|
||||
}
|
||||
|
||||
public void setCallbackUrl(String callbackUrl) {
|
||||
this.callbackUrl = callbackUrl;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("vehicle", vehicle)
|
||||
.add("channelIds", channelIds)
|
||||
.add("startTime", startTime)
|
||||
.add("endTime", endTime)
|
||||
.add("callbackUrl", callbackUrl)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description TODO
|
||||
* @Author xxx@e6yun.com
|
||||
* @Created Date: 2021/7/13 10:09
|
||||
* @ClassName DownVideo
|
||||
* @Remark
|
||||
*/
|
||||
public class DownVideoVO {
|
||||
|
||||
private String requestId;
|
||||
|
||||
private String videoList;
|
||||
|
||||
public DownVideoVO() {
|
||||
}
|
||||
|
||||
public String getRequestId() {
|
||||
return requestId;
|
||||
}
|
||||
|
||||
public void setRequestId(String requestId) {
|
||||
this.requestId = requestId;
|
||||
}
|
||||
|
||||
public String getVideoList() {
|
||||
return videoList;
|
||||
}
|
||||
|
||||
public void setVideoList(String videoList) {
|
||||
this.videoList = videoList;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("requestId", requestId)
|
||||
.add("videoList", videoList)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,746 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/13 15:54
|
||||
* @ClassName E6DataTerminalSummaryPO
|
||||
* @Remark
|
||||
*/
|
||||
public class E6DataTerminalSummaryPO {
|
||||
private Long maxModifiedTime;
|
||||
|
||||
private Integer dataTerminalId;
|
||||
|
||||
private String dataTerName;
|
||||
|
||||
private String commids;
|
||||
|
||||
private Integer deviceType;
|
||||
|
||||
private Integer status;
|
||||
|
||||
private Integer terminalId;
|
||||
|
||||
private Long installTime;
|
||||
|
||||
private Integer simid;
|
||||
|
||||
private Integer terFrom;
|
||||
|
||||
private Integer corpId;
|
||||
|
||||
private Integer isValid;
|
||||
|
||||
private Integer terSource;
|
||||
|
||||
private Integer power;
|
||||
|
||||
private Integer isLock;
|
||||
|
||||
private Integer isHaveLock;
|
||||
|
||||
private Integer isCamera;
|
||||
|
||||
private Integer cooler;
|
||||
|
||||
private Integer hydraulic;
|
||||
|
||||
private Integer oilControl;
|
||||
|
||||
private Integer airCondition;
|
||||
|
||||
private Integer centerLock;
|
||||
|
||||
private Integer cutoilelec;
|
||||
|
||||
private Integer isMan;
|
||||
|
||||
private Integer isStandbyPower;
|
||||
|
||||
private Integer temperaturectrl;
|
||||
|
||||
private Integer isMixer;
|
||||
|
||||
private Integer dobuleSpeed;
|
||||
|
||||
private Integer switchNum;
|
||||
|
||||
private String appid;
|
||||
|
||||
private String antennaLocation;
|
||||
|
||||
private Integer eqSourceId;
|
||||
|
||||
private String mainVersion;
|
||||
|
||||
private String lcdVersion;
|
||||
|
||||
private Integer co2Ctrl;
|
||||
|
||||
private Integer humidityChannel;
|
||||
|
||||
private Integer relayChannel;
|
||||
|
||||
private Integer isConnected;
|
||||
|
||||
private Integer isMonitor;
|
||||
|
||||
private Integer isLcd;
|
||||
|
||||
private Integer cameraChannel;
|
||||
|
||||
private Integer mcChannel;
|
||||
|
||||
private Integer video3G;
|
||||
|
||||
private Integer isSeparation;
|
||||
|
||||
private Integer isTrailer;
|
||||
|
||||
private Integer photoResolution;
|
||||
|
||||
private Integer equipId;
|
||||
|
||||
private String equipCode;
|
||||
|
||||
private Integer firstClassId;
|
||||
|
||||
private Integer secondClassId;
|
||||
|
||||
private Integer thirdClassId;
|
||||
|
||||
private Integer companyId;
|
||||
|
||||
private Integer companyLevel;
|
||||
|
||||
private String modifiedRemark;
|
||||
|
||||
private Integer isStopAnalyze;
|
||||
|
||||
private Integer isAdas;
|
||||
|
||||
private Integer isTyreBar;
|
||||
|
||||
private Integer extAttr1;
|
||||
|
||||
private Integer extAttr2;
|
||||
|
||||
private Integer extAttr3;
|
||||
|
||||
private Integer extAttr4;
|
||||
|
||||
private Integer extAttr5;
|
||||
|
||||
private Integer extAttr6;
|
||||
|
||||
private Integer extAttr7;
|
||||
|
||||
private Integer extAttr8;
|
||||
|
||||
private Integer extAttr9;
|
||||
|
||||
public Long getMaxModifiedTime() {
|
||||
return maxModifiedTime;
|
||||
}
|
||||
|
||||
public void setMaxModifiedTime(Long maxModifiedTime) {
|
||||
this.maxModifiedTime = maxModifiedTime;
|
||||
}
|
||||
|
||||
public Integer getDataTerminalId() {
|
||||
return dataTerminalId;
|
||||
}
|
||||
|
||||
public void setDataTerminalId(Integer dataTerminalId) {
|
||||
this.dataTerminalId = dataTerminalId;
|
||||
}
|
||||
|
||||
public String getDataTerName() {
|
||||
return dataTerName;
|
||||
}
|
||||
|
||||
public void setDataTerName(String dataTerName) {
|
||||
this.dataTerName = dataTerName;
|
||||
}
|
||||
|
||||
public String getCommids() {
|
||||
return commids;
|
||||
}
|
||||
|
||||
public void setCommids(String commids) {
|
||||
this.commids = commids;
|
||||
}
|
||||
|
||||
public Integer getDeviceType() {
|
||||
return deviceType;
|
||||
}
|
||||
|
||||
public void setDeviceType(Integer deviceType) {
|
||||
this.deviceType = deviceType;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getTerminalId() {
|
||||
return terminalId;
|
||||
}
|
||||
|
||||
public void setTerminalId(Integer terminalId) {
|
||||
this.terminalId = terminalId;
|
||||
}
|
||||
|
||||
public Long getInstallTime() {
|
||||
return installTime;
|
||||
}
|
||||
|
||||
public void setInstallTime(Long installTime) {
|
||||
this.installTime = installTime;
|
||||
}
|
||||
|
||||
public Integer getSimid() {
|
||||
return simid;
|
||||
}
|
||||
|
||||
public void setSimid(Integer simid) {
|
||||
this.simid = simid;
|
||||
}
|
||||
|
||||
public Integer getTerFrom() {
|
||||
return terFrom;
|
||||
}
|
||||
|
||||
public void setTerFrom(Integer terFrom) {
|
||||
this.terFrom = terFrom;
|
||||
}
|
||||
|
||||
public Integer getCorpId() {
|
||||
return corpId;
|
||||
}
|
||||
|
||||
public void setCorpId(Integer corpId) {
|
||||
this.corpId = corpId;
|
||||
}
|
||||
|
||||
public Integer getIsValid() {
|
||||
return isValid;
|
||||
}
|
||||
|
||||
public void setIsValid(Integer isValid) {
|
||||
this.isValid = isValid;
|
||||
}
|
||||
|
||||
public Integer getTerSource() {
|
||||
return terSource;
|
||||
}
|
||||
|
||||
public void setTerSource(Integer terSource) {
|
||||
this.terSource = terSource;
|
||||
}
|
||||
|
||||
public Integer getPower() {
|
||||
return power;
|
||||
}
|
||||
|
||||
public void setPower(Integer power) {
|
||||
this.power = power;
|
||||
}
|
||||
|
||||
public Integer getIsLock() {
|
||||
return isLock;
|
||||
}
|
||||
|
||||
public void setIsLock(Integer isLock) {
|
||||
this.isLock = isLock;
|
||||
}
|
||||
|
||||
public Integer getIsHaveLock() {
|
||||
return isHaveLock;
|
||||
}
|
||||
|
||||
public void setIsHaveLock(Integer isHaveLock) {
|
||||
this.isHaveLock = isHaveLock;
|
||||
}
|
||||
|
||||
public Integer getIsCamera() {
|
||||
return isCamera;
|
||||
}
|
||||
|
||||
public void setIsCamera(Integer isCamera) {
|
||||
this.isCamera = isCamera;
|
||||
}
|
||||
|
||||
public Integer getCooler() {
|
||||
return cooler;
|
||||
}
|
||||
|
||||
public void setCooler(Integer cooler) {
|
||||
this.cooler = cooler;
|
||||
}
|
||||
|
||||
public Integer getHydraulic() {
|
||||
return hydraulic;
|
||||
}
|
||||
|
||||
public void setHydraulic(Integer hydraulic) {
|
||||
this.hydraulic = hydraulic;
|
||||
}
|
||||
|
||||
public Integer getOilControl() {
|
||||
return oilControl;
|
||||
}
|
||||
|
||||
public void setOilControl(Integer oilControl) {
|
||||
this.oilControl = oilControl;
|
||||
}
|
||||
|
||||
public Integer getAirCondition() {
|
||||
return airCondition;
|
||||
}
|
||||
|
||||
public void setAirCondition(Integer airCondition) {
|
||||
this.airCondition = airCondition;
|
||||
}
|
||||
|
||||
public Integer getCenterLock() {
|
||||
return centerLock;
|
||||
}
|
||||
|
||||
public void setCenterLock(Integer centerLock) {
|
||||
this.centerLock = centerLock;
|
||||
}
|
||||
|
||||
public Integer getCutoilelec() {
|
||||
return cutoilelec;
|
||||
}
|
||||
|
||||
public void setCutoilelec(Integer cutoilelec) {
|
||||
this.cutoilelec = cutoilelec;
|
||||
}
|
||||
|
||||
public Integer getIsMan() {
|
||||
return isMan;
|
||||
}
|
||||
|
||||
public void setIsMan(Integer isMan) {
|
||||
this.isMan = isMan;
|
||||
}
|
||||
|
||||
public Integer getIsStandbyPower() {
|
||||
return isStandbyPower;
|
||||
}
|
||||
|
||||
public void setIsStandbyPower(Integer isStandbyPower) {
|
||||
this.isStandbyPower = isStandbyPower;
|
||||
}
|
||||
|
||||
public Integer getTemperaturectrl() {
|
||||
return temperaturectrl;
|
||||
}
|
||||
|
||||
public void setTemperaturectrl(Integer temperaturectrl) {
|
||||
this.temperaturectrl = temperaturectrl;
|
||||
}
|
||||
|
||||
public Integer getIsMixer() {
|
||||
return isMixer;
|
||||
}
|
||||
|
||||
public void setIsMixer(Integer isMixer) {
|
||||
this.isMixer = isMixer;
|
||||
}
|
||||
|
||||
public Integer getDobuleSpeed() {
|
||||
return dobuleSpeed;
|
||||
}
|
||||
|
||||
public void setDobuleSpeed(Integer dobuleSpeed) {
|
||||
this.dobuleSpeed = dobuleSpeed;
|
||||
}
|
||||
|
||||
public Integer getSwitchNum() {
|
||||
return switchNum;
|
||||
}
|
||||
|
||||
public void setSwitchNum(Integer switchNum) {
|
||||
this.switchNum = switchNum;
|
||||
}
|
||||
|
||||
public String getAppid() {
|
||||
return appid;
|
||||
}
|
||||
|
||||
public void setAppid(String appid) {
|
||||
this.appid = appid;
|
||||
}
|
||||
|
||||
public String getAntennaLocation() {
|
||||
return antennaLocation;
|
||||
}
|
||||
|
||||
public void setAntennaLocation(String antennaLocation) {
|
||||
this.antennaLocation = antennaLocation;
|
||||
}
|
||||
|
||||
public Integer getEqSourceId() {
|
||||
return eqSourceId;
|
||||
}
|
||||
|
||||
public void setEqSourceId(Integer eqSourceId) {
|
||||
this.eqSourceId = eqSourceId;
|
||||
}
|
||||
|
||||
public String getMainVersion() {
|
||||
return mainVersion;
|
||||
}
|
||||
|
||||
public void setMainVersion(String mainVersion) {
|
||||
this.mainVersion = mainVersion;
|
||||
}
|
||||
|
||||
public String getLcdVersion() {
|
||||
return lcdVersion;
|
||||
}
|
||||
|
||||
public void setLcdVersion(String lcdVersion) {
|
||||
this.lcdVersion = lcdVersion;
|
||||
}
|
||||
|
||||
public Integer getCo2Ctrl() {
|
||||
return co2Ctrl;
|
||||
}
|
||||
|
||||
public void setCo2Ctrl(Integer co2Ctrl) {
|
||||
this.co2Ctrl = co2Ctrl;
|
||||
}
|
||||
|
||||
public Integer getHumidityChannel() {
|
||||
return humidityChannel;
|
||||
}
|
||||
|
||||
public void setHumidityChannel(Integer humidityChannel) {
|
||||
this.humidityChannel = humidityChannel;
|
||||
}
|
||||
|
||||
public Integer getRelayChannel() {
|
||||
return relayChannel;
|
||||
}
|
||||
|
||||
public void setRelayChannel(Integer relayChannel) {
|
||||
this.relayChannel = relayChannel;
|
||||
}
|
||||
|
||||
public Integer getIsConnected() {
|
||||
return isConnected;
|
||||
}
|
||||
|
||||
public void setIsConnected(Integer isConnected) {
|
||||
this.isConnected = isConnected;
|
||||
}
|
||||
|
||||
public Integer getIsMonitor() {
|
||||
return isMonitor;
|
||||
}
|
||||
|
||||
public void setIsMonitor(Integer isMonitor) {
|
||||
this.isMonitor = isMonitor;
|
||||
}
|
||||
|
||||
public Integer getIsLcd() {
|
||||
return isLcd;
|
||||
}
|
||||
|
||||
public void setIsLcd(Integer isLcd) {
|
||||
this.isLcd = isLcd;
|
||||
}
|
||||
|
||||
public Integer getCameraChannel() {
|
||||
return cameraChannel;
|
||||
}
|
||||
|
||||
public void setCameraChannel(Integer cameraChannel) {
|
||||
this.cameraChannel = cameraChannel;
|
||||
}
|
||||
|
||||
public Integer getMcChannel() {
|
||||
return mcChannel;
|
||||
}
|
||||
|
||||
public void setMcChannel(Integer mcChannel) {
|
||||
this.mcChannel = mcChannel;
|
||||
}
|
||||
|
||||
public Integer getVideo3G() {
|
||||
return video3G;
|
||||
}
|
||||
|
||||
public void setVideo3G(Integer video3G) {
|
||||
this.video3G = video3G;
|
||||
}
|
||||
|
||||
public Integer getIsSeparation() {
|
||||
return isSeparation;
|
||||
}
|
||||
|
||||
public void setIsSeparation(Integer isSeparation) {
|
||||
this.isSeparation = isSeparation;
|
||||
}
|
||||
|
||||
public Integer getIsTrailer() {
|
||||
return isTrailer;
|
||||
}
|
||||
|
||||
public void setIsTrailer(Integer isTrailer) {
|
||||
this.isTrailer = isTrailer;
|
||||
}
|
||||
|
||||
public Integer getPhotoResolution() {
|
||||
return photoResolution;
|
||||
}
|
||||
|
||||
public void setPhotoResolution(Integer photoResolution) {
|
||||
this.photoResolution = photoResolution;
|
||||
}
|
||||
|
||||
public Integer getEquipId() {
|
||||
return equipId;
|
||||
}
|
||||
|
||||
public void setEquipId(Integer equipId) {
|
||||
this.equipId = equipId;
|
||||
}
|
||||
|
||||
public String getEquipCode() {
|
||||
return equipCode;
|
||||
}
|
||||
|
||||
public void setEquipCode(String equipCode) {
|
||||
this.equipCode = equipCode;
|
||||
}
|
||||
|
||||
public Integer getFirstClassId() {
|
||||
return firstClassId;
|
||||
}
|
||||
|
||||
public void setFirstClassId(Integer firstClassId) {
|
||||
this.firstClassId = firstClassId;
|
||||
}
|
||||
|
||||
public Integer getSecondClassId() {
|
||||
return secondClassId;
|
||||
}
|
||||
|
||||
public void setSecondClassId(Integer secondClassId) {
|
||||
this.secondClassId = secondClassId;
|
||||
}
|
||||
|
||||
public Integer getThirdClassId() {
|
||||
return thirdClassId;
|
||||
}
|
||||
|
||||
public void setThirdClassId(Integer thirdClassId) {
|
||||
this.thirdClassId = thirdClassId;
|
||||
}
|
||||
|
||||
public Integer getCompanyId() {
|
||||
return companyId;
|
||||
}
|
||||
|
||||
public void setCompanyId(Integer companyId) {
|
||||
this.companyId = companyId;
|
||||
}
|
||||
|
||||
public Integer getCompanyLevel() {
|
||||
return companyLevel;
|
||||
}
|
||||
|
||||
public void setCompanyLevel(Integer companyLevel) {
|
||||
this.companyLevel = companyLevel;
|
||||
}
|
||||
|
||||
public String getModifiedRemark() {
|
||||
return modifiedRemark;
|
||||
}
|
||||
|
||||
public void setModifiedRemark(String modifiedRemark) {
|
||||
this.modifiedRemark = modifiedRemark;
|
||||
}
|
||||
|
||||
public Integer getIsStopAnalyze() {
|
||||
return isStopAnalyze;
|
||||
}
|
||||
|
||||
public void setIsStopAnalyze(Integer isStopAnalyze) {
|
||||
this.isStopAnalyze = isStopAnalyze;
|
||||
}
|
||||
|
||||
public Integer getIsAdas() {
|
||||
return isAdas;
|
||||
}
|
||||
|
||||
public void setIsAdas(Integer isAdas) {
|
||||
this.isAdas = isAdas;
|
||||
}
|
||||
|
||||
public Integer getIsTyreBar() {
|
||||
return isTyreBar;
|
||||
}
|
||||
|
||||
public void setIsTyreBar(Integer isTyreBar) {
|
||||
this.isTyreBar = isTyreBar;
|
||||
}
|
||||
|
||||
public Integer getExtAttr1() {
|
||||
return extAttr1;
|
||||
}
|
||||
|
||||
public void setExtAttr1(Integer extAttr1) {
|
||||
this.extAttr1 = extAttr1;
|
||||
}
|
||||
|
||||
public Integer getExtAttr2() {
|
||||
return extAttr2;
|
||||
}
|
||||
|
||||
public void setExtAttr2(Integer extAttr2) {
|
||||
this.extAttr2 = extAttr2;
|
||||
}
|
||||
|
||||
public Integer getExtAttr3() {
|
||||
return extAttr3;
|
||||
}
|
||||
|
||||
public void setExtAttr3(Integer extAttr3) {
|
||||
this.extAttr3 = extAttr3;
|
||||
}
|
||||
|
||||
public Integer getExtAttr4() {
|
||||
return extAttr4;
|
||||
}
|
||||
|
||||
public void setExtAttr4(Integer extAttr4) {
|
||||
this.extAttr4 = extAttr4;
|
||||
}
|
||||
|
||||
public Integer getExtAttr5() {
|
||||
return extAttr5;
|
||||
}
|
||||
|
||||
public void setExtAttr5(Integer extAttr5) {
|
||||
this.extAttr5 = extAttr5;
|
||||
}
|
||||
|
||||
public Integer getExtAttr6() {
|
||||
return extAttr6;
|
||||
}
|
||||
|
||||
public void setExtAttr6(Integer extAttr6) {
|
||||
this.extAttr6 = extAttr6;
|
||||
}
|
||||
|
||||
public Integer getExtAttr7() {
|
||||
return extAttr7;
|
||||
}
|
||||
|
||||
public void setExtAttr7(Integer extAttr7) {
|
||||
this.extAttr7 = extAttr7;
|
||||
}
|
||||
|
||||
public Integer getExtAttr8() {
|
||||
return extAttr8;
|
||||
}
|
||||
|
||||
public void setExtAttr8(Integer extAttr8) {
|
||||
this.extAttr8 = extAttr8;
|
||||
}
|
||||
|
||||
public Integer getExtAttr9() {
|
||||
return extAttr9;
|
||||
}
|
||||
|
||||
public void setExtAttr9(Integer extAttr9) {
|
||||
this.extAttr9 = extAttr9;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("maxModifiedTime", maxModifiedTime)
|
||||
.add("dataTerminalId", dataTerminalId)
|
||||
.add("dataTerName", dataTerName)
|
||||
.add("commids", commids)
|
||||
.add("deviceType", deviceType)
|
||||
.add("status", status)
|
||||
.add("terminalId", terminalId)
|
||||
.add("installTime", installTime)
|
||||
.add("simid", simid)
|
||||
.add("terFrom", terFrom)
|
||||
.add("corpId", corpId)
|
||||
.add("isValid", isValid)
|
||||
.add("terSource", terSource)
|
||||
.add("power", power)
|
||||
.add("isLock", isLock)
|
||||
.add("isHaveLock", isHaveLock)
|
||||
.add("isCamera", isCamera)
|
||||
.add("cooler", cooler)
|
||||
.add("hydraulic", hydraulic)
|
||||
.add("oilControl", oilControl)
|
||||
.add("airCondition", airCondition)
|
||||
.add("centerLock", centerLock)
|
||||
.add("cutoilelec", cutoilelec)
|
||||
.add("isMan", isMan)
|
||||
.add("isStandbyPower", isStandbyPower)
|
||||
.add("temperaturectrl", temperaturectrl)
|
||||
.add("isMixer", isMixer)
|
||||
.add("dobuleSpeed", dobuleSpeed)
|
||||
.add("switchNum", switchNum)
|
||||
.add("appid", appid)
|
||||
.add("antennaLocation", antennaLocation)
|
||||
.add("eqSourceId", eqSourceId)
|
||||
.add("mainVersion", mainVersion)
|
||||
.add("lcdVersion", lcdVersion)
|
||||
.add("co2Ctrl", co2Ctrl)
|
||||
.add("humidityChannel", humidityChannel)
|
||||
.add("relayChannel", relayChannel)
|
||||
.add("isConnected", isConnected)
|
||||
.add("isMonitor", isMonitor)
|
||||
.add("isLcd", isLcd)
|
||||
.add("cameraChannel", cameraChannel)
|
||||
.add("mcChannel", mcChannel)
|
||||
.add("video3G", video3G)
|
||||
.add("isSeparation", isSeparation)
|
||||
.add("isTrailer", isTrailer)
|
||||
.add("photoResolution", photoResolution)
|
||||
.add("equipId", equipId)
|
||||
.add("equipCode", equipCode)
|
||||
.add("firstClassId", firstClassId)
|
||||
.add("secondClassId", secondClassId)
|
||||
.add("thirdClassId", thirdClassId)
|
||||
.add("companyId", companyId)
|
||||
.add("companyLevel", companyLevel)
|
||||
.add("modifiedRemark", modifiedRemark)
|
||||
.add("isStopAnalyze", isStopAnalyze)
|
||||
.add("isAdas", isAdas)
|
||||
.add("isTyreBar", isTyreBar)
|
||||
.add("extAttr1", extAttr1)
|
||||
.add("extAttr2", extAttr2)
|
||||
.add("extAttr3", extAttr3)
|
||||
.add("extAttr4", extAttr4)
|
||||
.add("extAttr5", extAttr5)
|
||||
.add("extAttr6", extAttr6)
|
||||
.add("extAttr7", extAttr7)
|
||||
.add("extAttr8", extAttr8)
|
||||
.add("extAttr9", extAttr9)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,828 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/13 15:53
|
||||
* @ClassName E6VehicleSummarySelfVO extends E6DataTerminalSummaryPO
|
||||
* @Remark
|
||||
*/
|
||||
public class E6VehicleSummarySelfVO{
|
||||
|
||||
|
||||
private Integer insideLength;
|
||||
|
||||
private Integer insideWidth;
|
||||
|
||||
private Integer insideHeight;
|
||||
|
||||
private Integer vehicleType;
|
||||
|
||||
private Integer vehicleTypeGB;
|
||||
|
||||
private Integer vehicleBrand;
|
||||
|
||||
public Integer getInsideLength() {
|
||||
return insideLength;
|
||||
}
|
||||
|
||||
public void setInsideLength(Integer insideLength) {
|
||||
this.insideLength = insideLength;
|
||||
}
|
||||
|
||||
public Integer getInsideWidth() {
|
||||
return insideWidth;
|
||||
}
|
||||
|
||||
public void setInsideWidth(Integer insideWidth) {
|
||||
this.insideWidth = insideWidth;
|
||||
}
|
||||
|
||||
public Integer getInsideHeight() {
|
||||
return insideHeight;
|
||||
}
|
||||
|
||||
public void setInsideHeight(Integer insideHeight) {
|
||||
this.insideHeight = insideHeight;
|
||||
}
|
||||
|
||||
public Integer getVehicleType() {
|
||||
return vehicleType;
|
||||
}
|
||||
|
||||
public void setVehicleType(Integer vehicleType) {
|
||||
this.vehicleType = vehicleType;
|
||||
}
|
||||
|
||||
public Integer getVehicleTypeGB() {
|
||||
return vehicleTypeGB;
|
||||
}
|
||||
|
||||
public void setVehicleTypeGB(Integer vehicleTypeGB) {
|
||||
this.vehicleTypeGB = vehicleTypeGB;
|
||||
}
|
||||
|
||||
public Integer getVehicleBrand() {
|
||||
return vehicleBrand;
|
||||
}
|
||||
|
||||
public void setVehicleBrand(Integer vehicleBrand) {
|
||||
this.vehicleBrand = vehicleBrand;
|
||||
}
|
||||
|
||||
// @Override
|
||||
// public String toString() {
|
||||
// return MoreObjects.toStringHelper(this)
|
||||
// .add("insideLength", insideLength)
|
||||
// .add("insideWidth", insideWidth)
|
||||
// .add("insideHeight", insideHeight)
|
||||
// .add("vehicleType", vehicleType)
|
||||
// .add("vehicleTypeGB", vehicleTypeGB)
|
||||
// .add("vehicleBrand", vehicleBrand)
|
||||
// .toString();
|
||||
// }
|
||||
|
||||
|
||||
private Long maxModifiedTime;
|
||||
|
||||
private Integer dataTerminalId;
|
||||
|
||||
private String dataTerName;
|
||||
|
||||
private String commids;
|
||||
|
||||
private Integer deviceType;
|
||||
|
||||
private Integer status;
|
||||
|
||||
private Integer terminalId;
|
||||
|
||||
private Long installTime;
|
||||
|
||||
private Integer simid;
|
||||
|
||||
private Integer terFrom;
|
||||
|
||||
private Integer corpId;
|
||||
|
||||
private Integer isValid;
|
||||
|
||||
private Integer terSource;
|
||||
|
||||
private Integer power;
|
||||
|
||||
private Integer isLock;
|
||||
|
||||
private Integer isHaveLock;
|
||||
|
||||
private Integer isCamera;
|
||||
|
||||
private Integer cooler;
|
||||
|
||||
private Integer hydraulic;
|
||||
|
||||
private Integer oilControl;
|
||||
|
||||
private Integer airCondition;
|
||||
|
||||
private Integer centerLock;
|
||||
|
||||
private Integer cutoilelec;
|
||||
|
||||
private Integer isMan;
|
||||
|
||||
private Integer isStandbyPower;
|
||||
|
||||
private Integer temperaturectrl;
|
||||
|
||||
private Integer isMixer;
|
||||
|
||||
private Integer dobuleSpeed;
|
||||
|
||||
private Integer switchNum;
|
||||
|
||||
private String appid;
|
||||
|
||||
private String antennaLocation;
|
||||
|
||||
private Integer eqSourceId;
|
||||
|
||||
private String mainVersion;
|
||||
|
||||
private String lcdVersion;
|
||||
|
||||
private Integer co2Ctrl;
|
||||
|
||||
private Integer humidityChannel;
|
||||
|
||||
private Integer relayChannel;
|
||||
|
||||
private Integer isConnected;
|
||||
|
||||
private Integer isMonitor;
|
||||
|
||||
private Integer isLcd;
|
||||
|
||||
private Integer cameraChannel;
|
||||
|
||||
private Integer mcChannel;
|
||||
|
||||
private Integer video3G;
|
||||
|
||||
private Integer isSeparation;
|
||||
|
||||
private Integer isTrailer;
|
||||
|
||||
private Integer photoResolution;
|
||||
|
||||
private Integer equipId;
|
||||
|
||||
private String equipCode;
|
||||
|
||||
private Integer firstClassId;
|
||||
|
||||
private Integer secondClassId;
|
||||
|
||||
private Integer thirdClassId;
|
||||
|
||||
private Integer companyId;
|
||||
|
||||
private Integer companyLevel;
|
||||
|
||||
private String modifiedRemark;
|
||||
|
||||
private Integer isStopAnalyze;
|
||||
|
||||
private Integer isAdas;
|
||||
|
||||
private Integer isTyreBar;
|
||||
|
||||
private Integer extAttr1;
|
||||
|
||||
private Integer extAttr2;
|
||||
|
||||
private Integer extAttr3;
|
||||
|
||||
private Integer extAttr4;
|
||||
|
||||
private Integer extAttr5;
|
||||
|
||||
private Integer extAttr6;
|
||||
|
||||
private Integer extAttr7;
|
||||
|
||||
private Integer extAttr8;
|
||||
|
||||
private Integer extAttr9;
|
||||
|
||||
public Long getMaxModifiedTime() {
|
||||
return maxModifiedTime;
|
||||
}
|
||||
|
||||
public void setMaxModifiedTime(Long maxModifiedTime) {
|
||||
this.maxModifiedTime = maxModifiedTime;
|
||||
}
|
||||
|
||||
public Integer getDataTerminalId() {
|
||||
return dataTerminalId;
|
||||
}
|
||||
|
||||
public void setDataTerminalId(Integer dataTerminalId) {
|
||||
this.dataTerminalId = dataTerminalId;
|
||||
}
|
||||
|
||||
public String getDataTerName() {
|
||||
return dataTerName;
|
||||
}
|
||||
|
||||
public void setDataTerName(String dataTerName) {
|
||||
this.dataTerName = dataTerName;
|
||||
}
|
||||
|
||||
public String getCommids() {
|
||||
return commids;
|
||||
}
|
||||
|
||||
public void setCommids(String commids) {
|
||||
this.commids = commids;
|
||||
}
|
||||
|
||||
public Integer getDeviceType() {
|
||||
return deviceType;
|
||||
}
|
||||
|
||||
public void setDeviceType(Integer deviceType) {
|
||||
this.deviceType = deviceType;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getTerminalId() {
|
||||
return terminalId;
|
||||
}
|
||||
|
||||
public void setTerminalId(Integer terminalId) {
|
||||
this.terminalId = terminalId;
|
||||
}
|
||||
|
||||
public Long getInstallTime() {
|
||||
return installTime;
|
||||
}
|
||||
|
||||
public void setInstallTime(Long installTime) {
|
||||
this.installTime = installTime;
|
||||
}
|
||||
|
||||
public Integer getSimid() {
|
||||
return simid;
|
||||
}
|
||||
|
||||
public void setSimid(Integer simid) {
|
||||
this.simid = simid;
|
||||
}
|
||||
|
||||
public Integer getTerFrom() {
|
||||
return terFrom;
|
||||
}
|
||||
|
||||
public void setTerFrom(Integer terFrom) {
|
||||
this.terFrom = terFrom;
|
||||
}
|
||||
|
||||
public Integer getCorpId() {
|
||||
return corpId;
|
||||
}
|
||||
|
||||
public void setCorpId(Integer corpId) {
|
||||
this.corpId = corpId;
|
||||
}
|
||||
|
||||
public Integer getIsValid() {
|
||||
return isValid;
|
||||
}
|
||||
|
||||
public void setIsValid(Integer isValid) {
|
||||
this.isValid = isValid;
|
||||
}
|
||||
|
||||
public Integer getTerSource() {
|
||||
return terSource;
|
||||
}
|
||||
|
||||
public void setTerSource(Integer terSource) {
|
||||
this.terSource = terSource;
|
||||
}
|
||||
|
||||
public Integer getPower() {
|
||||
return power;
|
||||
}
|
||||
|
||||
public void setPower(Integer power) {
|
||||
this.power = power;
|
||||
}
|
||||
|
||||
public Integer getIsLock() {
|
||||
return isLock;
|
||||
}
|
||||
|
||||
public void setIsLock(Integer isLock) {
|
||||
this.isLock = isLock;
|
||||
}
|
||||
|
||||
public Integer getIsHaveLock() {
|
||||
return isHaveLock;
|
||||
}
|
||||
|
||||
public void setIsHaveLock(Integer isHaveLock) {
|
||||
this.isHaveLock = isHaveLock;
|
||||
}
|
||||
|
||||
public Integer getIsCamera() {
|
||||
return isCamera;
|
||||
}
|
||||
|
||||
public void setIsCamera(Integer isCamera) {
|
||||
this.isCamera = isCamera;
|
||||
}
|
||||
|
||||
public Integer getCooler() {
|
||||
return cooler;
|
||||
}
|
||||
|
||||
public void setCooler(Integer cooler) {
|
||||
this.cooler = cooler;
|
||||
}
|
||||
|
||||
public Integer getHydraulic() {
|
||||
return hydraulic;
|
||||
}
|
||||
|
||||
public void setHydraulic(Integer hydraulic) {
|
||||
this.hydraulic = hydraulic;
|
||||
}
|
||||
|
||||
public Integer getOilControl() {
|
||||
return oilControl;
|
||||
}
|
||||
|
||||
public void setOilControl(Integer oilControl) {
|
||||
this.oilControl = oilControl;
|
||||
}
|
||||
|
||||
public Integer getAirCondition() {
|
||||
return airCondition;
|
||||
}
|
||||
|
||||
public void setAirCondition(Integer airCondition) {
|
||||
this.airCondition = airCondition;
|
||||
}
|
||||
|
||||
public Integer getCenterLock() {
|
||||
return centerLock;
|
||||
}
|
||||
|
||||
public void setCenterLock(Integer centerLock) {
|
||||
this.centerLock = centerLock;
|
||||
}
|
||||
|
||||
public Integer getCutoilelec() {
|
||||
return cutoilelec;
|
||||
}
|
||||
|
||||
public void setCutoilelec(Integer cutoilelec) {
|
||||
this.cutoilelec = cutoilelec;
|
||||
}
|
||||
|
||||
public Integer getIsMan() {
|
||||
return isMan;
|
||||
}
|
||||
|
||||
public void setIsMan(Integer isMan) {
|
||||
this.isMan = isMan;
|
||||
}
|
||||
|
||||
public Integer getIsStandbyPower() {
|
||||
return isStandbyPower;
|
||||
}
|
||||
|
||||
public void setIsStandbyPower(Integer isStandbyPower) {
|
||||
this.isStandbyPower = isStandbyPower;
|
||||
}
|
||||
|
||||
public Integer getTemperaturectrl() {
|
||||
return temperaturectrl;
|
||||
}
|
||||
|
||||
public void setTemperaturectrl(Integer temperaturectrl) {
|
||||
this.temperaturectrl = temperaturectrl;
|
||||
}
|
||||
|
||||
public Integer getIsMixer() {
|
||||
return isMixer;
|
||||
}
|
||||
|
||||
public void setIsMixer(Integer isMixer) {
|
||||
this.isMixer = isMixer;
|
||||
}
|
||||
|
||||
public Integer getDobuleSpeed() {
|
||||
return dobuleSpeed;
|
||||
}
|
||||
|
||||
public void setDobuleSpeed(Integer dobuleSpeed) {
|
||||
this.dobuleSpeed = dobuleSpeed;
|
||||
}
|
||||
|
||||
public Integer getSwitchNum() {
|
||||
return switchNum;
|
||||
}
|
||||
|
||||
public void setSwitchNum(Integer switchNum) {
|
||||
this.switchNum = switchNum;
|
||||
}
|
||||
|
||||
public String getAppid() {
|
||||
return appid;
|
||||
}
|
||||
|
||||
public void setAppid(String appid) {
|
||||
this.appid = appid;
|
||||
}
|
||||
|
||||
public String getAntennaLocation() {
|
||||
return antennaLocation;
|
||||
}
|
||||
|
||||
public void setAntennaLocation(String antennaLocation) {
|
||||
this.antennaLocation = antennaLocation;
|
||||
}
|
||||
|
||||
public Integer getEqSourceId() {
|
||||
return eqSourceId;
|
||||
}
|
||||
|
||||
public void setEqSourceId(Integer eqSourceId) {
|
||||
this.eqSourceId = eqSourceId;
|
||||
}
|
||||
|
||||
public String getMainVersion() {
|
||||
return mainVersion;
|
||||
}
|
||||
|
||||
public void setMainVersion(String mainVersion) {
|
||||
this.mainVersion = mainVersion;
|
||||
}
|
||||
|
||||
public String getLcdVersion() {
|
||||
return lcdVersion;
|
||||
}
|
||||
|
||||
public void setLcdVersion(String lcdVersion) {
|
||||
this.lcdVersion = lcdVersion;
|
||||
}
|
||||
|
||||
public Integer getCo2Ctrl() {
|
||||
return co2Ctrl;
|
||||
}
|
||||
|
||||
public void setCo2Ctrl(Integer co2Ctrl) {
|
||||
this.co2Ctrl = co2Ctrl;
|
||||
}
|
||||
|
||||
public Integer getHumidityChannel() {
|
||||
return humidityChannel;
|
||||
}
|
||||
|
||||
public void setHumidityChannel(Integer humidityChannel) {
|
||||
this.humidityChannel = humidityChannel;
|
||||
}
|
||||
|
||||
public Integer getRelayChannel() {
|
||||
return relayChannel;
|
||||
}
|
||||
|
||||
public void setRelayChannel(Integer relayChannel) {
|
||||
this.relayChannel = relayChannel;
|
||||
}
|
||||
|
||||
public Integer getIsConnected() {
|
||||
return isConnected;
|
||||
}
|
||||
|
||||
public void setIsConnected(Integer isConnected) {
|
||||
this.isConnected = isConnected;
|
||||
}
|
||||
|
||||
public Integer getIsMonitor() {
|
||||
return isMonitor;
|
||||
}
|
||||
|
||||
public void setIsMonitor(Integer isMonitor) {
|
||||
this.isMonitor = isMonitor;
|
||||
}
|
||||
|
||||
public Integer getIsLcd() {
|
||||
return isLcd;
|
||||
}
|
||||
|
||||
public void setIsLcd(Integer isLcd) {
|
||||
this.isLcd = isLcd;
|
||||
}
|
||||
|
||||
public Integer getCameraChannel() {
|
||||
return cameraChannel;
|
||||
}
|
||||
|
||||
public void setCameraChannel(Integer cameraChannel) {
|
||||
this.cameraChannel = cameraChannel;
|
||||
}
|
||||
|
||||
public Integer getMcChannel() {
|
||||
return mcChannel;
|
||||
}
|
||||
|
||||
public void setMcChannel(Integer mcChannel) {
|
||||
this.mcChannel = mcChannel;
|
||||
}
|
||||
|
||||
public Integer getVideo3G() {
|
||||
return video3G;
|
||||
}
|
||||
|
||||
public void setVideo3G(Integer video3G) {
|
||||
this.video3G = video3G;
|
||||
}
|
||||
|
||||
public Integer getIsSeparation() {
|
||||
return isSeparation;
|
||||
}
|
||||
|
||||
public void setIsSeparation(Integer isSeparation) {
|
||||
this.isSeparation = isSeparation;
|
||||
}
|
||||
|
||||
public Integer getIsTrailer() {
|
||||
return isTrailer;
|
||||
}
|
||||
|
||||
public void setIsTrailer(Integer isTrailer) {
|
||||
this.isTrailer = isTrailer;
|
||||
}
|
||||
|
||||
public Integer getPhotoResolution() {
|
||||
return photoResolution;
|
||||
}
|
||||
|
||||
public void setPhotoResolution(Integer photoResolution) {
|
||||
this.photoResolution = photoResolution;
|
||||
}
|
||||
|
||||
public Integer getEquipId() {
|
||||
return equipId;
|
||||
}
|
||||
|
||||
public void setEquipId(Integer equipId) {
|
||||
this.equipId = equipId;
|
||||
}
|
||||
|
||||
public String getEquipCode() {
|
||||
return equipCode;
|
||||
}
|
||||
|
||||
public void setEquipCode(String equipCode) {
|
||||
this.equipCode = equipCode;
|
||||
}
|
||||
|
||||
public Integer getFirstClassId() {
|
||||
return firstClassId;
|
||||
}
|
||||
|
||||
public void setFirstClassId(Integer firstClassId) {
|
||||
this.firstClassId = firstClassId;
|
||||
}
|
||||
|
||||
public Integer getSecondClassId() {
|
||||
return secondClassId;
|
||||
}
|
||||
|
||||
public void setSecondClassId(Integer secondClassId) {
|
||||
this.secondClassId = secondClassId;
|
||||
}
|
||||
|
||||
public Integer getThirdClassId() {
|
||||
return thirdClassId;
|
||||
}
|
||||
|
||||
public void setThirdClassId(Integer thirdClassId) {
|
||||
this.thirdClassId = thirdClassId;
|
||||
}
|
||||
|
||||
public Integer getCompanyId() {
|
||||
return companyId;
|
||||
}
|
||||
|
||||
public void setCompanyId(Integer companyId) {
|
||||
this.companyId = companyId;
|
||||
}
|
||||
|
||||
public Integer getCompanyLevel() {
|
||||
return companyLevel;
|
||||
}
|
||||
|
||||
public void setCompanyLevel(Integer companyLevel) {
|
||||
this.companyLevel = companyLevel;
|
||||
}
|
||||
|
||||
public String getModifiedRemark() {
|
||||
return modifiedRemark;
|
||||
}
|
||||
|
||||
public void setModifiedRemark(String modifiedRemark) {
|
||||
this.modifiedRemark = modifiedRemark;
|
||||
}
|
||||
|
||||
public Integer getIsStopAnalyze() {
|
||||
return isStopAnalyze;
|
||||
}
|
||||
|
||||
public void setIsStopAnalyze(Integer isStopAnalyze) {
|
||||
this.isStopAnalyze = isStopAnalyze;
|
||||
}
|
||||
|
||||
public Integer getIsAdas() {
|
||||
return isAdas;
|
||||
}
|
||||
|
||||
public void setIsAdas(Integer isAdas) {
|
||||
this.isAdas = isAdas;
|
||||
}
|
||||
|
||||
public Integer getIsTyreBar() {
|
||||
return isTyreBar;
|
||||
}
|
||||
|
||||
public void setIsTyreBar(Integer isTyreBar) {
|
||||
this.isTyreBar = isTyreBar;
|
||||
}
|
||||
|
||||
public Integer getExtAttr1() {
|
||||
return extAttr1;
|
||||
}
|
||||
|
||||
public void setExtAttr1(Integer extAttr1) {
|
||||
this.extAttr1 = extAttr1;
|
||||
}
|
||||
|
||||
public Integer getExtAttr2() {
|
||||
return extAttr2;
|
||||
}
|
||||
|
||||
public void setExtAttr2(Integer extAttr2) {
|
||||
this.extAttr2 = extAttr2;
|
||||
}
|
||||
|
||||
public Integer getExtAttr3() {
|
||||
return extAttr3;
|
||||
}
|
||||
|
||||
public void setExtAttr3(Integer extAttr3) {
|
||||
this.extAttr3 = extAttr3;
|
||||
}
|
||||
|
||||
public Integer getExtAttr4() {
|
||||
return extAttr4;
|
||||
}
|
||||
|
||||
public void setExtAttr4(Integer extAttr4) {
|
||||
this.extAttr4 = extAttr4;
|
||||
}
|
||||
|
||||
public Integer getExtAttr5() {
|
||||
return extAttr5;
|
||||
}
|
||||
|
||||
public void setExtAttr5(Integer extAttr5) {
|
||||
this.extAttr5 = extAttr5;
|
||||
}
|
||||
|
||||
public Integer getExtAttr6() {
|
||||
return extAttr6;
|
||||
}
|
||||
|
||||
public void setExtAttr6(Integer extAttr6) {
|
||||
this.extAttr6 = extAttr6;
|
||||
}
|
||||
|
||||
public Integer getExtAttr7() {
|
||||
return extAttr7;
|
||||
}
|
||||
|
||||
public void setExtAttr7(Integer extAttr7) {
|
||||
this.extAttr7 = extAttr7;
|
||||
}
|
||||
|
||||
public Integer getExtAttr8() {
|
||||
return extAttr8;
|
||||
}
|
||||
|
||||
public void setExtAttr8(Integer extAttr8) {
|
||||
this.extAttr8 = extAttr8;
|
||||
}
|
||||
|
||||
public Integer getExtAttr9() {
|
||||
return extAttr9;
|
||||
}
|
||||
|
||||
public void setExtAttr9(Integer extAttr9) {
|
||||
this.extAttr9 = extAttr9;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("insideLength", insideLength)
|
||||
.add("insideWidth", insideWidth)
|
||||
.add("insideHeight", insideHeight)
|
||||
.add("vehicleType", vehicleType)
|
||||
.add("vehicleTypeGB", vehicleTypeGB)
|
||||
.add("vehicleBrand", vehicleBrand)
|
||||
|
||||
.add("maxModifiedTime", maxModifiedTime)
|
||||
.add("dataTerminalId", dataTerminalId)
|
||||
.add("dataTerName", dataTerName)
|
||||
.add("commids", commids)
|
||||
.add("deviceType", deviceType)
|
||||
.add("status", status)
|
||||
.add("terminalId", terminalId)
|
||||
.add("installTime", installTime)
|
||||
.add("simid", simid)
|
||||
.add("terFrom", terFrom)
|
||||
.add("corpId", corpId)
|
||||
.add("isValid", isValid)
|
||||
.add("terSource", terSource)
|
||||
.add("power", power)
|
||||
.add("isLock", isLock)
|
||||
.add("isHaveLock", isHaveLock)
|
||||
.add("isCamera", isCamera)
|
||||
.add("cooler", cooler)
|
||||
.add("hydraulic", hydraulic)
|
||||
.add("oilControl", oilControl)
|
||||
.add("airCondition", airCondition)
|
||||
.add("centerLock", centerLock)
|
||||
.add("cutoilelec", cutoilelec)
|
||||
.add("isMan", isMan)
|
||||
.add("isStandbyPower", isStandbyPower)
|
||||
.add("temperaturectrl", temperaturectrl)
|
||||
.add("isMixer", isMixer)
|
||||
.add("dobuleSpeed", dobuleSpeed)
|
||||
.add("switchNum", switchNum)
|
||||
.add("appid", appid)
|
||||
.add("antennaLocation", antennaLocation)
|
||||
.add("eqSourceId", eqSourceId)
|
||||
.add("mainVersion", mainVersion)
|
||||
.add("lcdVersion", lcdVersion)
|
||||
.add("co2Ctrl", co2Ctrl)
|
||||
.add("humidityChannel", humidityChannel)
|
||||
.add("relayChannel", relayChannel)
|
||||
.add("isConnected", isConnected)
|
||||
.add("isMonitor", isMonitor)
|
||||
.add("isLcd", isLcd)
|
||||
.add("cameraChannel", cameraChannel)
|
||||
.add("mcChannel", mcChannel)
|
||||
.add("video3G", video3G)
|
||||
.add("isSeparation", isSeparation)
|
||||
.add("isTrailer", isTrailer)
|
||||
.add("photoResolution", photoResolution)
|
||||
.add("equipId", equipId)
|
||||
.add("equipCode", equipCode)
|
||||
.add("firstClassId", firstClassId)
|
||||
.add("secondClassId", secondClassId)
|
||||
.add("thirdClassId", thirdClassId)
|
||||
.add("companyId", companyId)
|
||||
.add("companyLevel", companyLevel)
|
||||
.add("modifiedRemark", modifiedRemark)
|
||||
.add("isStopAnalyze", isStopAnalyze)
|
||||
.add("isAdas", isAdas)
|
||||
.add("isTyreBar", isTyreBar)
|
||||
.add("extAttr1", extAttr1)
|
||||
.add("extAttr2", extAttr2)
|
||||
.add("extAttr3", extAttr3)
|
||||
.add("extAttr4", extAttr4)
|
||||
.add("extAttr5", extAttr5)
|
||||
.add("extAttr6", extAttr6)
|
||||
.add("extAttr7", extAttr7)
|
||||
.add("extAttr8", extAttr8)
|
||||
.add("extAttr9", extAttr9)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/13 17:38
|
||||
* @ClassName ErrorInfoVO
|
||||
* @Remark
|
||||
*/
|
||||
public class ErrorInfoVO {
|
||||
|
||||
private String resultCode;
|
||||
|
||||
private String resultMessage;
|
||||
|
||||
public String getResultCode() {
|
||||
return resultCode;
|
||||
}
|
||||
|
||||
public void setResultCode(String resultCode) {
|
||||
this.resultCode = resultCode;
|
||||
}
|
||||
|
||||
public String getResultMessage() {
|
||||
return resultMessage;
|
||||
}
|
||||
|
||||
public void setResultMessage(String resultMessage) {
|
||||
this.resultMessage = resultMessage;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("resultCode", resultCode)
|
||||
.add("resultMessage", resultMessage)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,90 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description TODO
|
||||
* @Author xxx@e6yun.com
|
||||
* @Created Date: 2021/7/7 17:40
|
||||
* @ClassName GBVideoVO
|
||||
* @Remark
|
||||
*/
|
||||
public class GBVideo {
|
||||
|
||||
private Integer vehicleid;
|
||||
private String wid;
|
||||
private String channelids;
|
||||
private String videoqualitystr;
|
||||
private String balarmtime;
|
||||
private Integer eventtype;
|
||||
private String guid;
|
||||
|
||||
public Integer getVehicleid() {
|
||||
return vehicleid;
|
||||
}
|
||||
|
||||
public void setVehicleid(Integer vehicleid) {
|
||||
this.vehicleid = vehicleid;
|
||||
}
|
||||
|
||||
public String getWid() {
|
||||
return wid;
|
||||
}
|
||||
|
||||
public void setWid(String wid) {
|
||||
this.wid = wid;
|
||||
}
|
||||
|
||||
public String getChannelids() {
|
||||
return channelids;
|
||||
}
|
||||
|
||||
public void setChannelids(String channelids) {
|
||||
this.channelids = channelids;
|
||||
}
|
||||
|
||||
public String getVideoqualitystr() {
|
||||
return videoqualitystr;
|
||||
}
|
||||
|
||||
public void setVideoqualitystr(String videoqualitystr) {
|
||||
this.videoqualitystr = videoqualitystr;
|
||||
}
|
||||
|
||||
public String getBalarmtime() {
|
||||
return balarmtime;
|
||||
}
|
||||
|
||||
public void setBalarmtime(String balarmtime) {
|
||||
this.balarmtime = balarmtime;
|
||||
}
|
||||
|
||||
public Integer getEventtype() {
|
||||
return eventtype;
|
||||
}
|
||||
|
||||
public void setEventtype(Integer eventtype) {
|
||||
this.eventtype = eventtype;
|
||||
}
|
||||
|
||||
public String getGuid() {
|
||||
return guid;
|
||||
}
|
||||
|
||||
public void setGuid(String guid) {
|
||||
this.guid = guid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("vehicleid", vehicleid)
|
||||
.add("wid", wid)
|
||||
.add("channelids", channelids)
|
||||
.add("videoqualitystr", videoqualitystr)
|
||||
.add("balarmtime", balarmtime)
|
||||
.add("eventtype", eventtype)
|
||||
.add("guid", guid)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,121 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description TODO
|
||||
* @Author xxx@e6yun.com
|
||||
* @Created Date: 2021/7/7 17:13
|
||||
* @ClassName IntercomUrlVO
|
||||
* @Remark
|
||||
*/
|
||||
public class IntercomUrlVO {
|
||||
|
||||
private Boolean success = false;
|
||||
private String wid ;
|
||||
private String url ;
|
||||
private String resultCode;
|
||||
private String resultMessage;
|
||||
private String channelId;
|
||||
private Integer videoStatus;
|
||||
private String rtmpUrl;
|
||||
private Integer videoQuality = 1;
|
||||
private String httpUrl;
|
||||
|
||||
|
||||
public String getResultCode() {
|
||||
return resultCode;
|
||||
}
|
||||
|
||||
public void setResultCode(String resultCode) {
|
||||
this.resultCode = resultCode;
|
||||
}
|
||||
|
||||
public String getResultMessage() {
|
||||
return resultMessage;
|
||||
}
|
||||
|
||||
public void setResultMessage(String resultMessage) {
|
||||
this.resultMessage = resultMessage;
|
||||
}
|
||||
|
||||
public Boolean getSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(Boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getWid() {
|
||||
return wid;
|
||||
}
|
||||
|
||||
public void setWid(String wid) {
|
||||
this.wid = wid;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public String getChannelId() {
|
||||
return channelId;
|
||||
}
|
||||
|
||||
public void setChannelId(String channelId) {
|
||||
this.channelId = channelId;
|
||||
}
|
||||
|
||||
public Integer getVideoStatus() {
|
||||
return videoStatus;
|
||||
}
|
||||
|
||||
public void setVideoStatus(Integer videoStatus) {
|
||||
this.videoStatus = videoStatus;
|
||||
}
|
||||
|
||||
public String getRtmpUrl() {
|
||||
return rtmpUrl;
|
||||
}
|
||||
|
||||
public void setRtmpUrl(String rtmpUrl) {
|
||||
this.rtmpUrl = rtmpUrl;
|
||||
}
|
||||
|
||||
public Integer getVideoQuality() {
|
||||
return videoQuality;
|
||||
}
|
||||
|
||||
public void setVideoQuality(Integer videoQuality) {
|
||||
this.videoQuality = videoQuality;
|
||||
}
|
||||
|
||||
public String getHttpUrl() {
|
||||
return httpUrl;
|
||||
}
|
||||
|
||||
public void setHttpUrl(String httpUrl) {
|
||||
this.httpUrl = httpUrl;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("success", success)
|
||||
.add("wid", wid)
|
||||
.add("url", url)
|
||||
.add("resultCode", resultCode)
|
||||
.add("resultMessage", resultMessage)
|
||||
.add("channelId", channelId)
|
||||
.add("videoStatus", videoStatus)
|
||||
.add("rtmpUrl", rtmpUrl)
|
||||
.add("videoQuality", videoQuality)
|
||||
.add("httpUrl", httpUrl)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description TODO
|
||||
* @Author xxx@e6yun.com
|
||||
* @Created Date: 2021/7/7 17:08
|
||||
* @ClassName IntercomVO
|
||||
* @Remark
|
||||
*/
|
||||
public class IntercomVO {
|
||||
|
||||
private Integer vehicleId;
|
||||
|
||||
private String wId;
|
||||
private String channelIds;
|
||||
|
||||
public Integer getVehicleId() {
|
||||
return vehicleId;
|
||||
}
|
||||
|
||||
public void setVehicleId(Integer vehicleId) {
|
||||
this.vehicleId = vehicleId;
|
||||
}
|
||||
|
||||
public String getwId() {
|
||||
return wId;
|
||||
}
|
||||
|
||||
public void setwId(String wId) {
|
||||
this.wId = wId;
|
||||
}
|
||||
|
||||
public String getChannelIds() {
|
||||
return channelIds;
|
||||
}
|
||||
|
||||
public void setChannelIds(String channelIds) {
|
||||
this.channelIds = channelIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("vehicleId", vehicleId)
|
||||
.add("wId", wId)
|
||||
.add("channelIds", channelIds)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,107 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/9/8 9:25
|
||||
* @ClassName LeaveAreaRealVO
|
||||
* @Remark
|
||||
*/
|
||||
public class LeaveAreaRealVO {
|
||||
private String categoryCode;
|
||||
|
||||
private String vehicle;
|
||||
|
||||
private String leaveCategoryTime;
|
||||
|
||||
private String lat;
|
||||
|
||||
private String lon;
|
||||
|
||||
private String placeName;
|
||||
|
||||
private String gpsTime;
|
||||
|
||||
private String duration;
|
||||
|
||||
public String getCategoryCode() {
|
||||
return categoryCode;
|
||||
}
|
||||
|
||||
public void setCategoryCode(String categoryCode) {
|
||||
this.categoryCode = categoryCode;
|
||||
}
|
||||
|
||||
public String getVehicle() {
|
||||
return vehicle;
|
||||
}
|
||||
|
||||
public void setVehicle(String vehicle) {
|
||||
this.vehicle = vehicle;
|
||||
}
|
||||
|
||||
public String getLeaveCategoryTime() {
|
||||
return leaveCategoryTime;
|
||||
}
|
||||
|
||||
public void setLeaveCategoryTime(String leaveCategoryTime) {
|
||||
this.leaveCategoryTime = leaveCategoryTime;
|
||||
}
|
||||
|
||||
public String getLat() {
|
||||
return lat;
|
||||
}
|
||||
|
||||
public void setLat(String lat) {
|
||||
this.lat = lat;
|
||||
}
|
||||
|
||||
public String getLon() {
|
||||
return lon;
|
||||
}
|
||||
|
||||
public void setLon(String lon) {
|
||||
this.lon = lon;
|
||||
}
|
||||
|
||||
public String getPlaceName() {
|
||||
return placeName;
|
||||
}
|
||||
|
||||
public void setPlaceName(String placeName) {
|
||||
this.placeName = placeName;
|
||||
}
|
||||
|
||||
public String getGpsTime() {
|
||||
return gpsTime;
|
||||
}
|
||||
|
||||
public void setGpsTime(String gpsTime) {
|
||||
this.gpsTime = gpsTime;
|
||||
}
|
||||
|
||||
public String getDuration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
public void setDuration(String duration) {
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
final StringBuilder sb = new StringBuilder("LeaveAreaRealVO{");
|
||||
sb.append("categoryCode='").append(categoryCode).append('\'');
|
||||
sb.append(", vehicle='").append(vehicle).append('\'');
|
||||
sb.append(", leaveCategoryTime='").append(leaveCategoryTime).append('\'');
|
||||
sb.append(", lat='").append(lat).append('\'');
|
||||
sb.append(", lon='").append(lon).append('\'');
|
||||
sb.append(", placeName='").append(placeName).append('\'');
|
||||
sb.append(", gpsTime='").append(gpsTime).append('\'');
|
||||
sb.append(", duration='").append(duration).append('\'');
|
||||
sb.append('}');
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,118 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/7 14:28
|
||||
* @ClassName NewVideoUrlVO
|
||||
* @Remark
|
||||
*/
|
||||
public class NewVideoUrlVO {
|
||||
|
||||
private Integer vehicleId;
|
||||
|
||||
private String vehicle;
|
||||
|
||||
private Integer channelId;
|
||||
|
||||
private Integer videoQuality;
|
||||
|
||||
private String url;
|
||||
|
||||
private String rtmpUrl;
|
||||
|
||||
private Integer expiry;
|
||||
|
||||
private String guid;
|
||||
|
||||
private String title;
|
||||
|
||||
public Integer getVehicleId() {
|
||||
return vehicleId;
|
||||
}
|
||||
|
||||
public void setVehicleId(Integer vehicleId) {
|
||||
this.vehicleId = vehicleId;
|
||||
}
|
||||
|
||||
public String getVehicle() {
|
||||
return vehicle;
|
||||
}
|
||||
|
||||
public void setVehicle(String vehicle) {
|
||||
this.vehicle = vehicle;
|
||||
}
|
||||
|
||||
public Integer getChannelId() {
|
||||
return channelId;
|
||||
}
|
||||
|
||||
public void setChannelId(Integer channelId) {
|
||||
this.channelId = channelId;
|
||||
}
|
||||
|
||||
public Integer getVideoQuality() {
|
||||
return videoQuality;
|
||||
}
|
||||
|
||||
public void setVideoQuality(Integer videoQuality) {
|
||||
this.videoQuality = videoQuality;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public String getRtmpUrl() {
|
||||
return rtmpUrl;
|
||||
}
|
||||
|
||||
public void setRtmpUrl(String rtmpUrl) {
|
||||
this.rtmpUrl = rtmpUrl;
|
||||
}
|
||||
|
||||
public Integer getExpiry() {
|
||||
return expiry;
|
||||
}
|
||||
|
||||
public void setExpiry(Integer expiry) {
|
||||
this.expiry = expiry;
|
||||
}
|
||||
|
||||
public String getGuid() {
|
||||
return guid;
|
||||
}
|
||||
|
||||
public void setGuid(String guid) {
|
||||
this.guid = guid;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("vehicleId", vehicleId)
|
||||
.add("vehicle", vehicle)
|
||||
.add("channelId", channelId)
|
||||
.add("videoQuality", videoQuality)
|
||||
.add("url", url)
|
||||
.add("rtmpUrl", rtmpUrl)
|
||||
.add("expiry", expiry)
|
||||
.add("guid", guid)
|
||||
.add("title", title)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,89 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description TODO
|
||||
* @Author xxx@e6yun.com
|
||||
* @Created Date: 2021/7/6 10:59
|
||||
* @ClassName OverTempVO
|
||||
* @Remark
|
||||
*/
|
||||
public class OverTemp {
|
||||
|
||||
private String vehicleNos;
|
||||
|
||||
private String isApply;
|
||||
|
||||
private String isNotifyLinkman;
|
||||
|
||||
private String isPlatformShow;
|
||||
|
||||
private String isAlarmSound;
|
||||
|
||||
private String remark;
|
||||
|
||||
public OverTemp() {
|
||||
}
|
||||
|
||||
public String getVehicleNos() {
|
||||
return vehicleNos;
|
||||
}
|
||||
|
||||
public void setVehicleNos(String vehicleNos) {
|
||||
this.vehicleNos = vehicleNos;
|
||||
}
|
||||
|
||||
public String getIsApply() {
|
||||
return isApply;
|
||||
}
|
||||
|
||||
public void setIsApply(String isApply) {
|
||||
this.isApply = isApply;
|
||||
}
|
||||
|
||||
|
||||
public String getIsNotifyLinkman() {
|
||||
return isNotifyLinkman;
|
||||
}
|
||||
|
||||
public void setIsNotifyLinkman(String isNotifyLinkman) {
|
||||
this.isNotifyLinkman = isNotifyLinkman;
|
||||
}
|
||||
|
||||
public String getIsPlatformShow() {
|
||||
return isPlatformShow;
|
||||
}
|
||||
|
||||
public void setIsPlatformShow(String isPlatformShow) {
|
||||
this.isPlatformShow = isPlatformShow;
|
||||
}
|
||||
|
||||
public String getIsAlarmSound() {
|
||||
return isAlarmSound;
|
||||
}
|
||||
|
||||
public void setIsAlarmSound(String isAlarmSound) {
|
||||
this.isAlarmSound = isAlarmSound;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("vehicleNos", vehicleNos)
|
||||
.add("isApply", isApply)
|
||||
.add("isNotifyLinkman", isNotifyLinkman)
|
||||
.add("isPlatformShow", isPlatformShow)
|
||||
.add("isAlarmSound", isAlarmSound)
|
||||
.add("remark", remark)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,117 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/10/9 15:19
|
||||
* @ClassName PlaybackVideoUVO
|
||||
* @Remark
|
||||
*/
|
||||
public class PlaybackVideoUVO {
|
||||
private Integer vehicleId;
|
||||
|
||||
private String vehicle;
|
||||
|
||||
private Integer channelId;
|
||||
|
||||
private Integer videoQuality;
|
||||
|
||||
private String url;
|
||||
|
||||
private String rtmpUrl;
|
||||
|
||||
private Integer expiry;
|
||||
|
||||
private String guid;
|
||||
|
||||
private String title;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("vehicleId", vehicleId)
|
||||
.add("vehicle", vehicle)
|
||||
.add("channelId", channelId)
|
||||
.add("videoQuality", videoQuality)
|
||||
.add("url", url)
|
||||
.add("rtmpUrl", rtmpUrl)
|
||||
.add("expiry", expiry)
|
||||
.add("guid", guid)
|
||||
.add("title", title)
|
||||
.toString();
|
||||
}
|
||||
|
||||
public Integer getVehicleId() {
|
||||
return vehicleId;
|
||||
}
|
||||
|
||||
public void setVehicleId(Integer vehicleId) {
|
||||
this.vehicleId = vehicleId;
|
||||
}
|
||||
|
||||
public String getVehicle() {
|
||||
return vehicle;
|
||||
}
|
||||
|
||||
public void setVehicle(String vehicle) {
|
||||
this.vehicle = vehicle;
|
||||
}
|
||||
|
||||
public Integer getChannelId() {
|
||||
return channelId;
|
||||
}
|
||||
|
||||
public void setChannelId(Integer channelId) {
|
||||
this.channelId = channelId;
|
||||
}
|
||||
|
||||
public Integer getVideoQuality() {
|
||||
return videoQuality;
|
||||
}
|
||||
|
||||
public void setVideoQuality(Integer videoQuality) {
|
||||
this.videoQuality = videoQuality;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public String getRtmpUrl() {
|
||||
return rtmpUrl;
|
||||
}
|
||||
|
||||
public void setRtmpUrl(String rtmpUrl) {
|
||||
this.rtmpUrl = rtmpUrl;
|
||||
}
|
||||
|
||||
public Integer getExpiry() {
|
||||
return expiry;
|
||||
}
|
||||
|
||||
public void setExpiry(Integer expiry) {
|
||||
this.expiry = expiry;
|
||||
}
|
||||
|
||||
public String getGuid() {
|
||||
return guid;
|
||||
}
|
||||
|
||||
public void setGuid(String guid) {
|
||||
this.guid = guid;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,99 @@
|
|||
package com.e6yun.project.sdk.api.pojo.basevo.business;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author ningkun@e6yun.com
|
||||
* @Created Date: 2021/7/14 15:50
|
||||
* @ClassName PlaybackVideoVO
|
||||
* @Remark
|
||||
*/
|
||||
public class PlaybackVideoVO {
|
||||
private Boolean success = false;
|
||||
private String wid ;
|
||||
private String url ;
|
||||
private String channelId;
|
||||
private Integer videoStatus;
|
||||
private String rtmpUrl;
|
||||
private Integer videoQuality = 1;
|
||||
private String httpUrl;
|
||||
|
||||
public Boolean getSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(Boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getWid() {
|
||||
return wid;
|
||||
}
|
||||
|
||||
public void setWid(String wid) {
|
||||
this.wid = wid;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public String getChannelId() {
|
||||
return channelId;
|
||||
}
|
||||
|
||||
public void setChannelId(String channelId) {
|
||||
this.channelId = channelId;
|
||||
}
|
||||
|
||||
public Integer getVideoStatus() {
|
||||
return videoStatus;
|
||||
}
|
||||
|
||||
public void setVideoStatus(Integer videoStatus) {
|
||||
this.videoStatus = videoStatus;
|
||||
}
|
||||
|
||||
public String getRtmpUrl() {
|
||||
return rtmpUrl;
|
||||
}
|
||||
|
||||
public void setRtmpUrl(String rtmpUrl) {
|
||||
this.rtmpUrl = rtmpUrl;
|
||||
}
|
||||
|
||||
public Integer getVideoQuality() {
|
||||
return videoQuality;
|
||||
}
|
||||
|
||||
public void setVideoQuality(Integer videoQuality) {
|
||||
this.videoQuality = videoQuality;
|
||||
}
|
||||
|
||||
public String getHttpUrl() {
|
||||
return httpUrl;
|
||||
}
|
||||
|
||||
public void setHttpUrl(String httpUrl) {
|
||||
this.httpUrl = httpUrl;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("success", success)
|
||||
.add("wid", wid)
|
||||
.add("url", url)
|
||||
.add("channelId", channelId)
|
||||
.add("videoStatus", videoStatus)
|
||||
.add("rtmpUrl", rtmpUrl)
|
||||
.add("videoQuality", videoQuality)
|
||||
.add("httpUrl", httpUrl)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue