|
@@ -56,8 +56,9 @@ public class InverterAnalysis {
|
|
public void setInputPower(Double inputPower) {
|
|
public void setInputPower(Double inputPower) {
|
|
if (inputPower == null) {
|
|
if (inputPower == null) {
|
|
this.inputPower = 0.0;
|
|
this.inputPower = 0.0;
|
|
|
|
+ } else {
|
|
|
|
+ this.inputPower = inputPower;
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
public Double getOutputPower() {
|
|
public Double getOutputPower() {
|
|
@@ -67,6 +68,8 @@ public class InverterAnalysis {
|
|
public void setOutputPower(Double outputPower) {
|
|
public void setOutputPower(Double outputPower) {
|
|
if (outputPower == null) {
|
|
if (outputPower == null) {
|
|
this.outputPower = 0.0;
|
|
this.outputPower = 0.0;
|
|
|
|
+ } else {
|
|
|
|
+ this.outputPower = outputPower;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -77,6 +80,8 @@ public class InverterAnalysis {
|
|
public void setInputVoltage(Double inputVoltage) {
|
|
public void setInputVoltage(Double inputVoltage) {
|
|
if (inputVoltage == null) {
|
|
if (inputVoltage == null) {
|
|
this.inputVoltage = 0.0;
|
|
this.inputVoltage = 0.0;
|
|
|
|
+ } else {
|
|
|
|
+ this.inputVoltage = inputVoltage;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|