GRL-USB-PD-C2/C2-EPR API 1.1.9
GRL-USB-PD-C2/C2-EPR API Documentation
|
BatteryStatusMesaage configuration class. More...
Public Member Functions | |
BatteryStatusMesaage () | |
Constructor. | |
List< uint > | GetByteData () |
Gets raw byte data of BatteryStatusMesaage. | |
bool | ClearDataObjects () |
Clears the object. | |
bool | AddBatteryStatusPDO (uint BatteryPresentCapacity) |
Allows you to add the BatteryStatus PDO. | |
uint | BatteryInfoField (BatteryStatus batteryStatus, bool InvalidBatteryReference=false, bool BatteryisPresent=false) |
Used to create the Battery Status Message. | |
BatteryStatusMesaage configuration class.
GrlPdLib.BatteryStatusMesaage.BatteryStatusMesaage | ( | ) |
Constructor.
bool GrlPdLib.BatteryStatusMesaage.AddBatteryStatusPDO | ( | uint | BatteryPresentCapacity | ) |
Allows you to add the BatteryStatus PDO.
Battery_Info | Battery Info, refer specification for more details |
BatteryPresentCapacity |
uint GrlPdLib.BatteryStatusMesaage.BatteryInfoField | ( | BatteryStatus | batteryStatus, |
bool | InvalidBatteryReference = false, | ||
bool | BatteryisPresent = false ) |
Used to create the Battery Status Message.
InvalidBatteryReference | |
BatteryisPresent | |
batteryStatus |
bool GrlPdLib.BatteryStatusMesaage.ClearDataObjects | ( | ) |
Clears the object.
List< uint > GrlPdLib.BatteryStatusMesaage.GetByteData | ( | ) |
Gets raw byte data of BatteryStatusMesaage.