diff options
Diffstat (limited to 'oop2w6/Inductor.h')
-rw-r--r-- | oop2w6/Inductor.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/oop2w6/Inductor.h b/oop2w6/Inductor.h new file mode 100644 index 0000000..7bb25c4 --- /dev/null +++ b/oop2w6/Inductor.h @@ -0,0 +1,15 @@ +#pragma once + +#include "IComponent.h" + +class Inductor : public IComponent { +private: + double inductance; + bool bIsSaturable; + +public: + Inductor(double inductance, bool isSaturable); + virtual double getValue(); + virtual bool isSaturable(); +}; + |