info.gratour.adaptor.VehRepo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt-core Show documentation
Show all versions of jt-core Show documentation
`jt-core` is a java/scala communication processing library for JT808/JT809/JT1078 standard.
The newest version!
/*******************************************************************************
* Copyright (c) 2019, 2020 lucendar.com.
* All rights reserved.
*
* Contributors:
* KwanKin Yau ([email protected]) - initial API and implementation
*******************************************************************************/
package info.gratour.adaptor;
import info.gratour.adaptor.types.PlateNoAndColor;
import info.gratour.adaptor.types.VehCurrDrv;
import info.gratour.jtmodel.VehBrief;
import java.util.List;
public interface VehRepo {
VehCurrDrv getVehCurrDrv(long vehId);
VehCurrDrv getVehCurrDrv(String plateNo, int plateColor);
VehBrief cachedGetVehBrief(long vehId);
/**
*
* @param vehId null if not use vehId condition
* @param plateNo null if not use plateNo condition
* @param plateColor null if not use plateColor condition
* @return vehicle brief information
*/
VehBrief[] qryVehBrief(Long vehId, String plateNo, Integer plateColor);
VehBrief qryVehBriefBySimNo(String simNo);
VehBrief[] fetchVehBriefNeedsUploadToGov(int fetchCount);
void markVehBriefRegToGov(List vehs);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy