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

com.geotab.model.entity.diagnostic.GoFaultDiagnostic Maven / Gradle / Ivy

/*
 *
 * 2020 Copyright (C) Geotab Inc. All rights reserved.
 */

package com.geotab.model.entity.diagnostic;

import com.geotab.model.entity.controller.Controller;
import com.geotab.model.entity.enginetype.EngineType;
import com.geotab.model.entity.source.Source;
import com.geotab.model.entity.unitofmeasure.UnitOfMeasure;
import com.geotab.model.enumeration.DiagnosticType;
import com.geotab.model.enumeration.FaultResetMode;
import com.geotab.model.enumeration.ValidLoggingPeriod;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * A diagnostic for a Go Device fault.
 */
@NoArgsConstructor
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class GoFaultDiagnostic extends Diagnostic {

  @Builder(builderMethodName = "goFaultDiagnosticBuilder")
  public GoFaultDiagnostic(String id, String name, Long version, Integer code,
      Controller controller,
      EngineType engineType,
      FaultResetMode faultResetMode,
      Source source,
      UnitOfMeasure unitOfMeasure,
      ValidLoggingPeriod validLoggingPeriod,
      Boolean isLogGuaranteedOnEstimateError) {
    super(id, name, version, code, controller, DiagnosticType.GO_FAULT, engineType,
        faultResetMode, source, unitOfMeasure, validLoggingPeriod, isLogGuaranteedOnEstimateError);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy