diff options
| author | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
|---|---|---|
| committer | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
| commit | 33613a85afc4b1481367fbe92a17ee59c240250b (patch) | |
| tree | 670b842326116b376b505ec2263878912fca97e2 /Bachelor/Softwaretechnik2/mixer/CRezept.cpp | |
| download | Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2 | |
Diffstat (limited to 'Bachelor/Softwaretechnik2/mixer/CRezept.cpp')
| -rw-r--r-- | Bachelor/Softwaretechnik2/mixer/CRezept.cpp | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Bachelor/Softwaretechnik2/mixer/CRezept.cpp b/Bachelor/Softwaretechnik2/mixer/CRezept.cpp new file mode 100644 index 0000000..87aa341 --- /dev/null +++ b/Bachelor/Softwaretechnik2/mixer/CRezept.cpp @@ -0,0 +1,53 @@ +/**********************************************************************************/
+/* Definitionsmodul */
+/**********************************************************************************/
+/*
+ * generiert mit Innovator Version 8.1.04
+ *
+ * erstellt am: 12.01.2006 14:36:19
+ * Repository : swtc20
+ * Modell : swt
+ * Benutzer : swtc20
+ * File : /users/swtc20/code/CRezept.cpp
+ *
+ */
+
+
+// ino.module.CRezept.1077.includes
+#include "CRezept.hpp"
+// ino.end
+#include "CDosierer.hpp"
+#include "CEntleerer.hpp"
+#include "CWaage.hpp"
+#include "CDisplay.hpp"
+#include "CStampfer.hpp"
+#include "CMischer.hpp"
+#include "CRezeptSchritt.hpp"
+
+
+// ino.method.verarbeiteRezept.921.definition
+int systemModel::AnalyseModell::CRezept::verarbeiteRezept()
+// ino.end
+// ino.method.verarbeiteRezept.921.body
+{
+ for (int i=0;i<rezSchr.size();i++)
+ rezSchr[i]->verarbeite();
+ return 0;
+}
+// ino.end
+
+systemModel::AnalyseModell::CRezept::CRezept() {
+ mAktRezeptSchritt=0;
+}
+
+
+void systemModel::AnalyseModell::CRezept::addRezeptschritt(CRezeptschritt * pcrs)
+{
+ //rezSchr[mAktRezeptSchritt]=pcrs;
+ //mAktRezeptSchritt++;
+ rezSchr.push_back(pcrs);
+}
+
+void systemModel::AnalyseModell::CRezept::setAktRezeptschritt(int n) {
+ mAktRezeptSchritt=n;
+}
|
