Monitor power supply data for fault conditions
This commit is contained in:
@@ -49,5 +49,15 @@ namespace Raytheon.Instruments
|
||||
{
|
||||
return _powerSupplyModule.PowerModuleInfoDict;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get power supply module names
|
||||
/// </summary>
|
||||
/// <param></param>
|
||||
/// <returns></returns>
|
||||
public List<string> GetPowerSupplyModuleNames()
|
||||
{
|
||||
return _powerSupplyModule.PowerModules;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,6 +34,8 @@ namespace Raytheon.Instruments
|
||||
protected Semaphore SemObj = new System.Threading.Semaphore(initialCount: 1, maximumCount: 1);
|
||||
protected object SyncObj = new object();
|
||||
protected string ActivePowerModule;
|
||||
|
||||
public List<string> PowerModules { get; protected set; }
|
||||
|
||||
public Dictionary<string, PowerSupplyModuleInfo> PowerModuleInfoDict { get; protected set; }
|
||||
|
||||
@@ -63,7 +65,7 @@ namespace Raytheon.Instruments
|
||||
/// </summary>
|
||||
public virtual bool FrontPanelEnabled
|
||||
{
|
||||
get;
|
||||
private get;
|
||||
set;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,10 +31,10 @@ namespace Raytheon.Instruments.PowerSupplies
|
||||
overVoltageProtection_ = -1.0;
|
||||
voltageSetpoint_ = -1.0;
|
||||
voltageSlewRate_ = -1.0;
|
||||
lowerVoltageLimit_ = -1.0;
|
||||
upperVoltageLimit_ = -1.0;
|
||||
lowerCurrentLimit_ = -1.0;
|
||||
upperCurrentLimit_ = -1.0;
|
||||
voltageLowerLimit_ = -1.0;
|
||||
voltageUpperLimit_ = -1.0;
|
||||
currentLowerLimit_ = -1.0;
|
||||
currentUpperLimit_ = -1.0;
|
||||
isOn_ = false;
|
||||
faultStatus = -1;
|
||||
}
|
||||
@@ -45,10 +45,10 @@ namespace Raytheon.Instruments.PowerSupplies
|
||||
overVoltageProtection_ = overVoltageProtection;
|
||||
voltageSetpoint_ = voltageSetpoint;
|
||||
voltageSlewRate_ = voltageSlewRate;
|
||||
lowerVoltageLimit_ = minVoltage;
|
||||
upperVoltageLimit_ = maxVoltage;
|
||||
lowerCurrentLimit_ = minCurrent;
|
||||
upperCurrentLimit_ = maxCurrent;
|
||||
voltageLowerLimit_ = minVoltage;
|
||||
voltageUpperLimit_ = maxVoltage;
|
||||
currentLowerLimit_ = minCurrent;
|
||||
currentUpperLimit_ = maxCurrent;
|
||||
isOn_ = false;
|
||||
faultStatus = -1;
|
||||
|
||||
@@ -58,10 +58,10 @@ namespace Raytheon.Instruments.PowerSupplies
|
||||
public string moduleNameFormat;
|
||||
public double overCurrentProtection_;
|
||||
public double overVoltageProtection_;
|
||||
public double lowerVoltageLimit_;
|
||||
public double upperVoltageLimit_;
|
||||
public double lowerCurrentLimit_;
|
||||
public double upperCurrentLimit_;
|
||||
public double voltageLowerLimit_;
|
||||
public double voltageUpperLimit_;
|
||||
public double currentLowerLimit_;
|
||||
public double currentUpperLimit_;
|
||||
public double voltageSetpoint_;
|
||||
public double voltageSlewRate_;
|
||||
public bool isOn_;
|
||||
|
||||
Reference in New Issue
Block a user