Monitor power supply data for fault conditions

This commit is contained in:
Duc
2025-01-04 18:41:54 -07:00
parent 7e2a821337
commit b38765789d
14 changed files with 242 additions and 70 deletions

View File

@@ -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_;