blob: 87aa3410d9822370f3a87a819b7e27ee4e2d04c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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;
}
|