Update GUI with power supply's voltage and current readings

This commit is contained in:
Duc
2025-01-05 12:37:37 -07:00
parent b38765789d
commit 1bb3389ee6
9 changed files with 156 additions and 40 deletions

View File

@@ -41,6 +41,9 @@ namespace ProgramLib
private PowerSupplyMeasurementManager _psManager = null;
private ProgramGuiManager _guiManager = null;
internal bool _isUutPwrOn = false;
internal PowerSupplySharedData _powerSupplySharedData = new PowerSupplySharedData();
/// <summary>
/// Initialize power supply measurement manager
/// </summary>
@@ -112,7 +115,7 @@ namespace ProgramLib
_threadList.Add(new PassthroughDataGuiUpdateThread());
_threadList.Last().Start();
_threadList.Add(new PowerSupplyGuiUpdateThread());
_threadList.Add(new PowerSupplyUpdateThread());
_threadList.Last().Start();
}
}