info.gratour.jt808core.protocol.msg.types.vtdr.JT808VTDR_DriveOverTime_11 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.jt808core.protocol.msg.types.vtdr;
import java.util.ArrayList;
import java.util.List;
public class JT808VTDR_DriveOverTime_11 implements JT808VTDRDataBlock {
private List driveOverTimes;
public List getDriveOverTimes() {
return driveOverTimes;
}
public void setDriveOverTimes(List driveOverTimes) {
this.driveOverTimes = driveOverTimes;
}
public void addDriveOverTimeEntry(VTDR_DriveOverTimeEntry driveOverTimeEntry) {
if (this.driveOverTimes == null)
this.driveOverTimes = new ArrayList<>();
this.driveOverTimes.add(driveOverTimeEntry);
}
@Override
public String toString() {
return "JT808VTDR_DriveOverTime{" +
"driveOverTimes=" + driveOverTimes +
'}';
}
}