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/code/CRezept.cpp | 53 ++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Bachelor/Softwaretechnik2/code/CRezept.cpp (limited to 'Bachelor/Softwaretechnik2/code/CRezept.cpp') diff --git a/Bachelor/Softwaretechnik2/code/CRezept.cpp b/Bachelor/Softwaretechnik2/code/CRezept.cpp new file mode 100644 index 0000000..87aa341 --- /dev/null +++ b/Bachelor/Softwaretechnik2/code/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;iverarbeite(); + 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; +} -- cgit v1.2.3