Package xbot.common.properties
Class PowerDistributionProperties
java.lang.Object
xbot.common.properties.PowerDistributionProperties
This class manages properties related to the power distribution system (PDP/PDH)
for AdvantageKit logging. It allows you to set the name of the device connected
to each channel on the PDP/PDH, which can be useful for identifying which devices
are drawing power in your logs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDeviceMapping(PDHPort channel, String deviceName) Sets the name of the device connected to a given channel.
-
Constructor Details
-
PowerDistributionProperties
@Inject public PowerDistributionProperties()
-
-
Method Details
-
setDeviceMapping
Sets the name of the device connected to a given channel. This is used for logging purposes in AdvantageKit.- Parameters:
channel- The channel on the PDP/PDH where the device is connected.deviceName- The name of the device to associate with that channel.
-