From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- Bachelor/Softwaretechnik2/mixer/CWaage.hpp | 110 +++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 Bachelor/Softwaretechnik2/mixer/CWaage.hpp (limited to 'Bachelor/Softwaretechnik2/mixer/CWaage.hpp') diff --git a/Bachelor/Softwaretechnik2/mixer/CWaage.hpp b/Bachelor/Softwaretechnik2/mixer/CWaage.hpp new file mode 100644 index 0000000..f0fabfc --- /dev/null +++ b/Bachelor/Softwaretechnik2/mixer/CWaage.hpp @@ -0,0 +1,110 @@ +/**********************************************************************************/ +/* Deklarationsmodul */ +/**********************************************************************************/ +/* + * generiert mit Innovator Version 8.1.04 + * + * erstellt am: 12.01.2006 14:36:14 + * Repository : swtc20 + * Modell : swt + * Benutzer : swtc20 + * File : /users/swtc20/code/CWaage.hpp + * + */ + + +// ino.module.CWaage.1073.ifndef +#ifndef _CWAAGE_HPP_1073 +#define _CWAAGE_HPP_1073 +// ino.end +#include +#include "CSubjekt.hpp" +#include "CVentilGeraet.hpp" +using std::string; + + +namespace systemModel { + namespace AnalyseModell { + + +// ino.class.CWaage.436.declaration +class CWaage: public CSubjekt +// ino.end +// ino.class.CWaage.436.body +{ + // ino.attribute.mGesamtGewicht.481.declaration + private: + int mGesamtGewicht; + // ino.end + + // ino.attribute.mDifferenzGewicht.483.declaration + private: + int mDifferenzGewicht; + // ino.end + + // ino.method.aktiviere.760.declaration + public: + virtual int aktiviere(CVentilGeraet *); + // ino.end + + // ino.method.gewichtErreicht.762.declaration + public: + virtual int gewichtErreicht(); + // ino.end + + // ino.method.gewichtNichtErreicht.764.declaration + public: + virtual int gewichtNichtErreicht(); + // ino.end + + // ino.method.erhoeheGewicht.568.declaration + public: + virtual int erhoeheGewicht(int fBetrag); + // ino.end + + // ino.method.verringereGewicht.570.declaration + public: + virtual int verringereGewicht(int fBetrag); + // ino.end + + // ino.method.getGesamtGewicht.564.declaration + public: + virtual int getGesamtGewicht(); + // ino.end + + // ino.method.getDifferenzGewicht.566.declaration + public: + virtual int getDifferenzGewicht(); + // ino.end + + // ino.method.tariere.487.declaration + public: + virtual void tariere(); + // ino.end + public: + CWaage(); + private: + CVentilGeraet *pAktVentilGeraet; + public: + void aendereGewicht(); + private: + bool mGewichtErreicht; +}; +// ino.end + + + + + + }; // namespace AnalyseModell +}; // namespace systemModel + + +#if !defined(NO_IMPLICIT_NAMESPACE_USE) +using namespace systemModel::AnalyseModell; +#endif + +// ino.module.CWaage.1073.endif +#endif +// ino.end + -- cgit v1.2.3