diff options
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)
+{
+
+}
+
+
|
