..
This commit is contained in:
@@ -273,8 +273,8 @@ namespace Project
|
||||
else
|
||||
{
|
||||
//단순 수치값을 크게 표시히낟.
|
||||
var Volt = dev_bms?.Current_Volt ?? 25.35f;
|
||||
var Lev = dev_bms?.Current_Level ?? 80.1f;
|
||||
var Volt = dev_bms?.BMSInformation.packVoltage ?? 25.35f;
|
||||
var Lev = dev_bms?.BMSInformation.rsoc ?? 80f;
|
||||
|
||||
var textColor = Color.Lime;
|
||||
if (Lev < 30) textColor = Color.Red;
|
||||
@@ -439,7 +439,7 @@ namespace Project
|
||||
|
||||
|
||||
var bmslevel = 28f;
|
||||
if (dev_bms != null) bmslevel = dev_bms.Current_Level;
|
||||
if (dev_bms != null) bmslevel = dev_bms.BMSInformation.rsoc;
|
||||
var CornerRadius = 10;
|
||||
var XPosition = rectR.Left + (rectR.Width - batw) / 2f;
|
||||
var YPosition = rectR.Top + (rectR.Height - bath) / 2f + (rectR.Height * 0.05f);
|
||||
|
||||
Reference in New Issue
Block a user