diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-06-06 11:37:00 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-06-06 11:37:00 -0300 |
commit | c5636d2031b20e673441e095d90ba94942698e7c (patch) | |
tree | 30b9f15cd5d91fe11a07960154d03afc2328bf8a /Project/Inductor.h | |
parent | 0586ac0d34e4d8d5dd9845f2fdd212716b3004f9 (diff) | |
download | PSP.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/Inductor.h')
-rw-r--r-- | Project/Inductor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/Inductor.h b/Project/Inductor.h index d613a4c..9227fb7 100644 --- a/Project/Inductor.h +++ b/Project/Inductor.h @@ -25,7 +25,7 @@ class ReactiveShuntElementForm; struct InductorElectricalData { wxString name; double reactivePower = 100.0; - ElectricalUnit reactivePowerUnit = ElectricalUnit::UNIT_MVAr; + ElectricalUnit reactivePowerUnit = ElectricalUnit::UNIT_Mvar; }; /** |