24 lines
538 B
C#
24 lines
538 B
C#
using Raytheon.Instruments.PowerSupply;
|
|
|
|
namespace ProgramLib
|
|
{
|
|
/// <summary>
|
|
/// Stores voltage and current reading
|
|
/// </summary>
|
|
internal class PowerSupplyData
|
|
{
|
|
public double Voltage { get; set; }
|
|
public double Current { get; set; }
|
|
public PowerSupplyModuleInfo PowerSupplyModuleInfo { get; set; }
|
|
public bool Initialized { get; set; }
|
|
|
|
/// <summary>
|
|
/// Set data to unitialized
|
|
/// </summary>
|
|
public void Reset()
|
|
{
|
|
Initialized = false;
|
|
}
|
|
}
|
|
}
|