29 lines
607 B
C#
29 lines
607 B
C#
using Raytheon.Instruments.PowerSupply;
|
|
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 PowerSupplyModuleInfo _powerSupplyModuleInfo;
|
|
public bool _initialized;
|
|
|
|
/// <summary>
|
|
/// Set data to unitialized
|
|
/// </summary>
|
|
public void Reset()
|
|
{
|
|
_initialized = false;
|
|
}
|
|
}
|
|
}
|