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

com.geotab.model.entity.device.Go7 Maven / Gradle / Ivy

package com.geotab.model.entity.device;

import com.geotab.model.CustomParameter;
import com.geotab.model.entity.enginetype.EngineType;
import com.geotab.model.entity.group.Group;
import com.geotab.model.entity.worktime.WorkTime;
import com.geotab.model.enumeration.DevicePlan;
import com.geotab.model.enumeration.DeviceType;
import com.geotab.model.enumeration.GoTalkLanguage;
import com.geotab.model.enumeration.HosOption;
import java.time.Duration;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * The Geotab GO7 device. Additional properties can be seen in {@link GoCurveAuxiliary}.
 */
@NoArgsConstructor
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class Go7 extends GoCurveAuxiliary {

  @Builder(builderMethodName = "go7Builder")
  public Go7(String id, String name, Long version, DeviceType deviceType,
      LocalDateTime ignoreDownloadsUntil, String serialNumber,
      Integer productId, String vehicleIdentificationNumber, String licensePlate,
      String licenseState, Short major, Short minor, Duration timeToDownload,
      WorkTime workTime, List groups, List devicePlans,
      boolean pinDevice, String timeZoneId,
      Float maxSecondsBetweenLogs, LocalDateTime activeFrom, LocalDateTime activeTo,
      String comment, DeviceFlags deviceFlags, List autoGroups,
      List customParameters, boolean disableBuzzer, boolean enableBeepOnIdle,
      boolean enableMustReprogram, boolean enableSpeedWarning,
      EngineType engineType, String engineVehicleIdentificationNumber, boolean ensureHotStart,
      Integer gpsOffDelay, Integer idleMinutes, Boolean isSpeedIndicator,
      Double minAccidentSpeed, Short parameterVersion, Double speedingOff,
      Double speedingOn, GoTalkLanguage goTalkLanguage,
      Double fuelTankCapacity, Boolean disableSleeperBerth,
      HosOption autoHos, Short parameterVersionOnDevice,
      Integer accelerationWarningThreshold, Integer accelerometerThresholdWarningFactor,
      Integer brakingWarningThreshold, Integer corneringWarningThreshold,
      boolean enableBeepOnDangerousDriving, boolean enableBeepOnRpm,
      Integer engineHourOffset, boolean isActiveTrackingEnabled, boolean isDriverSeatbeltWarningOn,
      boolean isPassengerSeatbeltWarningOn, boolean isReverseDetectOn,
      boolean isIoxConnectionEnabled,
      Float odometerFactor, Double odometerOffset, Integer rpmValue,
      Double seatbeltWarningSpeed, double[] auxWarningSpeed, boolean[] enableAuxWarning,
      boolean enableControlExternalRelay, int externalDeviceShutDownDelay, int immobilizeArming,
      boolean immobilizeUnit, boolean[] isAuxIgnTrigger, boolean[] isAuxInverted,
      Map customFeatures) {

    super(id, name, version, deviceType, ignoreDownloadsUntil, serialNumber, productId,
        vehicleIdentificationNumber, licensePlate, licenseState, major, minor,
        timeToDownload, workTime, groups, devicePlans, pinDevice, timeZoneId,
        maxSecondsBetweenLogs, activeFrom, activeTo, comment, deviceFlags, autoGroups,
        customParameters, disableBuzzer, enableBeepOnIdle, enableMustReprogram, enableSpeedWarning,
        engineType, engineVehicleIdentificationNumber, ensureHotStart, gpsOffDelay,
        idleMinutes, isSpeedIndicator, minAccidentSpeed, parameterVersion, speedingOff, speedingOn,
        goTalkLanguage, fuelTankCapacity, disableSleeperBerth, autoHos, parameterVersionOnDevice,
        accelerationWarningThreshold, accelerometerThresholdWarningFactor, brakingWarningThreshold,
        corneringWarningThreshold, enableBeepOnDangerousDriving, enableBeepOnRpm, engineHourOffset,
        isActiveTrackingEnabled, isDriverSeatbeltWarningOn, isPassengerSeatbeltWarningOn,
        isReverseDetectOn, isIoxConnectionEnabled, odometerFactor, odometerOffset, rpmValue,
        seatbeltWarningSpeed, auxWarningSpeed, enableAuxWarning, enableControlExternalRelay,
        externalDeviceShutDownDelay, immobilizeArming, immobilizeUnit, isAuxIgnTrigger,
        isAuxInverted, customFeatures);
  }

  @Override
  public void populateDefaults() {
    super.populateDefaults();
    this.productId = 105;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy