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/CMischer.cpp | |
| download | Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2 | |
Diffstat (limited to 'Bachelor/Softwaretechnik2/mixer/CMischer.cpp')
| -rw-r--r-- | Bachelor/Softwaretechnik2/mixer/CMischer.cpp | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Bachelor/Softwaretechnik2/mixer/CMischer.cpp b/Bachelor/Softwaretechnik2/mixer/CMischer.cpp new file mode 100644 index 0000000..a5eafe9 --- /dev/null +++ b/Bachelor/Softwaretechnik2/mixer/CMischer.cpp @@ -0,0 +1,51 @@ +/**********************************************************************************/
+/* Definitionsmodul */
+/**********************************************************************************/
+/*
+ * generiert mit Innovator Version 8.1.04
+ *
+ * erstellt am: 12.01.2006 14:59:41
+ * Repository : swtc20
+ * Modell : swt
+ * Benutzer : swtc20
+ * File : /users/swtc20/code/CMischer.cpp
+ *
+ */
+
+
+// ino.module.CMischer.1091.includes
+#include "CMischer.hpp"
+// ino.end
+using std::cout;
+using std::endl;
+
+// ino.method.startGeraet.1134.definition
+int systemModel::AnalyseModell::CMischer::startCGeraet(int i)
+// ino.end
+// ino.method.startGeraet.1134.body
+{
+ cout << "Gerät " << getname() << " startet mit Wert "<< i << endl;
+ setWert(i);
+ stopCGeraet();
+ return 0;
+}
+// ino.end
+
+// ino.method.stopGeraet.1137.definition
+int systemModel::AnalyseModell::CMischer::stopCGeraet()
+// ino.end
+// ino.method.stopGeraet.1137.body
+{
+ cout << "Gerät " << getname() << " stoppt" <<endl;
+ return 0;
+}
+// ino.end
+systemModel::AnalyseModell::CMischer::CMischer()
+{
+}
+systemModel::AnalyseModell::CMischer::CMischer(string s):CGeraet(s)
+{
+
+}
+
+
|
