16 lines
490 B
C#
16 lines
490 B
C#
namespace CANFDApiProxy.Messages
|
|
{
|
|
public class BatteryMessage
|
|
{
|
|
public decimal LoadV { get; set; }
|
|
public decimal Current { get; set; }
|
|
public decimal Power { get; set; }
|
|
public decimal Percent { get; set; }
|
|
public bool Enable { get; set; }
|
|
public override string ToString()
|
|
{
|
|
return $"LoadV: {LoadV}, Current: {Current}, Power: {Power}, Percent: {Percent}, Enable: {Enable}";
|
|
}
|
|
}
|
|
}
|