This commit is contained in:
backuppc
2026-01-14 15:29:38 +09:00
parent 5801137d63
commit d5516f9708
17 changed files with 605 additions and 402 deletions

View File

@@ -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);