Class PowerDistributionVersion

java.lang.Object
edu.wpi.first.hal.PowerDistributionVersion

public class PowerDistributionVersion extends Object
Power distribution version.
  • Field Details

    • firmwareMajor

      public final int firmwareMajor
      Firmware major version number.
    • firmwareMinor

      public final int firmwareMinor
      Firmware minor version number.
    • firmwareFix

      public final int firmwareFix
      Firmware fix version number.
    • hardwareMinor

      public final int hardwareMinor
      Hardware minor version number.
    • hardwareMajor

      public final int hardwareMajor
      Hardware major version number.
    • uniqueId

      public final int uniqueId
      Unique ID.
  • Constructor Details

    • PowerDistributionVersion

      public PowerDistributionVersion(int firmwareMajor, int firmwareMinor, int firmwareFix, int hardwareMinor, int hardwareMajor, int uniqueId)
      Constructs a power distribution version (Called from the HAL).
      Parameters:
      firmwareMajor - firmware major
      firmwareMinor - firmware minor
      firmwareFix - firmware fix
      hardwareMinor - hardware minor
      hardwareMajor - hardware major
      uniqueId - unique id