All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.gratour.jt808core.protocol.msg.types.vtdr.JT808VTDR_DriveOverTime_11 Maven / Gradle / Ivy

Go to download

`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 +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy