龙鱼电池警告状态
class BatteryWarning
描述: 龙鱼电池警告状态
class BatteryWarning(value: Int) {
/**
* Indicates whether the battery is unbalanced.
* A battery is considered unbalanced if the charge levels of its cells differ significantly.
*
* 表示电池是否不平衡。
* 如果电池的各个单元电荷水平差异显著,则认为电池不平衡。
*/
val isNotBalanceBattery: Boolean
/**
* Indicates whether battery 1 (front battery) is missing.
*
* 表示电池1(前电池)未安装
*/
val isBattery1Missing: Boolean
/**
* Indicates whether battery 2 (rear battery) is missing.
*
* 表示电池2(后电池)未安装
*/
val isBattery2Missing: Boolean
}