Package edu.wpi.first.hal
Class PowerDistributionVersion
java.lang.Object
edu.wpi.first.hal.PowerDistributionVersion
public class PowerDistributionVersion extends Object
Power distribution version.
-
Field Summary
Fields Modifier and Type Field Description int
firmwareFix
Firmware fix version number.int
firmwareMajor
Firmware major version number.int
firmwareMinor
Firmware minor version number.int
hardwareMajor
Hardware major version number.int
hardwareMinor
Hardware minor version number.int
uniqueId
Unique ID. -
Constructor Summary
Constructors Constructor Description PowerDistributionVersion(int firmwareMajor, int firmwareMinor, int firmwareFix, int hardwareMinor, int hardwareMajor, int uniqueId)
Constructs a power distribution version (Called from the HAL). -
Method Summary
-
Field Details
-
firmwareMajor
Firmware major version number. -
firmwareMinor
Firmware minor version number. -
firmwareFix
Firmware fix version number. -
hardwareMinor
Hardware minor version number. -
hardwareMajor
Hardware major version number. -
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 majorfirmwareMinor
- firmware minorfirmwareFix
- firmware fixhardwareMinor
- hardware minorhardwareMajor
- hardware majoruniqueId
- unique id
-