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

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProgramLib
{
/// <summary>
/// Stores voltage and current reading
/// </summary>
internal class PowerSupplyData
{
public double _voltage;
public double _current;
public Raytheon.Instruments.PowerSupplies.PowerSupplyModuleInfo _powerSupplyModuleInfo;
public bool _initialized;
/// <summary>
/// Set data to unitialized
/// </summary>
public void Reset()
{
_initialized = false;
}
}
}