summaryrefslogtreecommitdiffstats
path: root/Project/Capacitor.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-06-06 11:37:00 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-06-06 11:37:00 -0300
commitc5636d2031b20e673441e095d90ba94942698e7c (patch)
tree30b9f15cd5d91fe11a07960154d03afc2328bf8a /Project/Capacitor.h
parent0586ac0d34e4d8d5dd9845f2fdd212716b3004f9 (diff)
downloadPSP.git-c5636d2031b20e673441e095d90ba94942698e7c.tar.gz
PSP.git-c5636d2031b20e673441e095d90ba94942698e7c.tar.xz
PSP.git-c5636d2031b20e673441e095d90ba94942698e7c.zip
Some class enum implementation
Just for better code design: https://docs.microsoft.com/pt-br/dotnet/architecture/microservices/microservice-ddd-cqrs-patterns/enumeration-classes-over-enum-types
Diffstat (limited to 'Project/Capacitor.h')
-rw-r--r--Project/Capacitor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/Capacitor.h b/Project/Capacitor.h
index c98070d..ad4613f 100644
--- a/Project/Capacitor.h
+++ b/Project/Capacitor.h
@@ -25,7 +25,7 @@ class ReactiveShuntElementForm;
struct CapacitorElectricalData {
wxString name;
double reactivePower = 100.0;
- ElectricalUnit reactivePowerUnit = ElectricalUnit::UNIT_MVAr;
+ ElectricalUnit reactivePowerUnit = ElectricalUnit::UNIT_Mvar;
};
/**