added basic project
This commit is contained in:
commit
d9ccf06a51
BIN
code/code/.vs/MDT5/v15/.suo
Normal file
BIN
code/code/.vs/MDT5/v15/.suo
Normal file
Binary file not shown.
1020
code/code/.vs/config/applicationhost.config
Normal file
1020
code/code/.vs/config/applicationhost.config
Normal file
File diff suppressed because it is too large
Load Diff
41
code/code/MDT5.sln
Normal file
41
code/code/MDT5.sln
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 15
|
||||||
|
VisualStudioVersion = 15.0.27428.2005
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "code", ".", "{9311C3EF-F1D1-4606-8668-322C176CA58F}"
|
||||||
|
ProjectSection(WebsiteProperties) = preProject
|
||||||
|
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
|
||||||
|
Debug.AspNetCompiler.VirtualPath = "/localhost_49537"
|
||||||
|
Debug.AspNetCompiler.PhysicalPath = "MDT5\"
|
||||||
|
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_49537\"
|
||||||
|
Debug.AspNetCompiler.Updateable = "true"
|
||||||
|
Debug.AspNetCompiler.ForceOverwrite = "true"
|
||||||
|
Debug.AspNetCompiler.FixedNames = "false"
|
||||||
|
Debug.AspNetCompiler.Debug = "True"
|
||||||
|
Release.AspNetCompiler.VirtualPath = "/localhost_49537"
|
||||||
|
Release.AspNetCompiler.PhysicalPath = "MDT5\"
|
||||||
|
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_49537\"
|
||||||
|
Release.AspNetCompiler.Updateable = "true"
|
||||||
|
Release.AspNetCompiler.ForceOverwrite = "true"
|
||||||
|
Release.AspNetCompiler.FixedNames = "false"
|
||||||
|
Release.AspNetCompiler.Debug = "False"
|
||||||
|
VWDPort = "49537"
|
||||||
|
SlnRelativePath = "MDT5\"
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{9311C3EF-F1D1-4606-8668-322C176CA58F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{9311C3EF-F1D1-4606-8668-322C176CA58F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {B1CA379E-4295-41CB-A81A-11D05D4683F6}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
6
code/code/Web.config
Normal file
6
code/code/Web.config
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<configuration>
|
||||||
|
<system.web>
|
||||||
|
<compilation debug="true" targetFramework="4.0"/>
|
||||||
|
</system.web>
|
||||||
|
</configuration>
|
1
code/code/exercise01/README.txt
Normal file
1
code/code/exercise01/README.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Hier entsteht die Lösung zu Praktikum 01
|
5
code/code/exercise01/app/css/mobile.css
Normal file
5
code/code/exercise01/app/css/mobile.css
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
h2 small {
|
||||||
|
color: green;
|
||||||
|
font-size: small;
|
||||||
|
}
|
BIN
code/code/exercise01/app/img/ohm.ico
Normal file
BIN
code/code/exercise01/app/img/ohm.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 446 B |
17
code/code/exercise01/app/index.html
Normal file
17
code/code/exercise01/app/index.html
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title></title>
|
||||||
|
<link rel="stylesheet" href="css/mobile.css">
|
||||||
|
<link rel="icon" href="img/ohm.ico">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h2>
|
||||||
|
Patientenverwaltung
|
||||||
|
<small>Ein Demoprojekt</small>
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
1
code/code/exercise02/README.txt
Normal file
1
code/code/exercise02/README.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Hier entsteht die Lösung zu Praktikum 02
|
14
code/code/exercise02/app/index.html
Normal file
14
code/code/exercise02/app/index.html
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title></title>
|
||||||
|
<script src="../../lib/jquery-3.3.1.min.js"></script>
|
||||||
|
<script src="scripts/landung.js"></script>
|
||||||
|
<script src="../../lib/es6-shim.min.js"</script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
1
code/code/exercise02/app/scripts/app.js
Normal file
1
code/code/exercise02/app/scripts/app.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
alert("test");
|
75
code/code/exercise02/app/scripts/landung.js
Normal file
75
code/code/exercise02/app/scripts/landung.js
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
function simulation() {
|
||||||
|
var v;
|
||||||
|
var s;
|
||||||
|
var fuel;
|
||||||
|
var schub = false;
|
||||||
|
|
||||||
|
setStartValues(50000, -1000, 10000);
|
||||||
|
|
||||||
|
function switchon() {
|
||||||
|
schub = true;
|
||||||
|
update();
|
||||||
|
checkGameOver();
|
||||||
|
}
|
||||||
|
|
||||||
|
function switchoff() {
|
||||||
|
schub = false;
|
||||||
|
update();
|
||||||
|
checkGameOver();
|
||||||
|
}
|
||||||
|
|
||||||
|
function a() {
|
||||||
|
if (schub == false || fuel <= 0)
|
||||||
|
return -1.63;
|
||||||
|
else {
|
||||||
|
fuel = fuel - 100;
|
||||||
|
return -1.63 + 12;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function showValues() {
|
||||||
|
$("#height").html("Höhe: " + s + " m");
|
||||||
|
$("#speed").html("Geschwindigkeit: " + v + " m/s");
|
||||||
|
$("#fuel").html("Teibstoffvorrat: " + fuel + " l");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function update() {
|
||||||
|
v = v + a();
|
||||||
|
s = s + v;
|
||||||
|
showValues();
|
||||||
|
}
|
||||||
|
|
||||||
|
function checkGameOver() {
|
||||||
|
if (s <= 0) {
|
||||||
|
if (v < -10)
|
||||||
|
alert("Fehlschlag");
|
||||||
|
else
|
||||||
|
alert("Erfolgreich");
|
||||||
|
|
||||||
|
setStartValues(50000, -1000, 10000);
|
||||||
|
showValues();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function setStartValues(height, velocity, Newfuel) {
|
||||||
|
v = velocity;
|
||||||
|
s = height;
|
||||||
|
fuel = Newfuel;
|
||||||
|
}
|
||||||
|
|
||||||
|
$("body").append("<div id='height'>Höhe: </div>");
|
||||||
|
$("body").append("<div id='speed'>Geschwindikgiet: </div>");
|
||||||
|
$("body").append("<div id='fuel'>Treibstoffvorrat: </div>");
|
||||||
|
|
||||||
|
$("body").append("<button id='energy'>Triebwerk an</button>");
|
||||||
|
$("body").append("<button id='no-energy'>Triebwerk aus</button>");
|
||||||
|
|
||||||
|
$("#energy").click(switchon);
|
||||||
|
$("#no-energy").click(switchoff);
|
||||||
|
|
||||||
|
showValues();
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(simulation);
|
||||||
|
|
1
code/code/exercise03/README.txt
Normal file
1
code/code/exercise03/README.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Hier entsteht die Lösung zu Praktikum 03
|
1
code/code/exercise04/README.txt
Normal file
1
code/code/exercise04/README.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Hier entsteht die Lösung zu Praktikum 04
|
1
code/code/exercise05/README.txt
Normal file
1
code/code/exercise05/README.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Hier entsteht die Lösung zu Praktikum 05
|
1
code/code/exercise06/README.txt
Normal file
1
code/code/exercise06/README.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Hier entsteht die Lösung zu Praktikum 06
|
1
code/code/exercise07/README.txt
Normal file
1
code/code/exercise07/README.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Hier entsteht die Lösung zu Praktikum 07
|
1
code/code/exercise08/README.txt
Normal file
1
code/code/exercise08/README.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Hier entsteht die Lösung zu Praktikum 08
|
1
code/code/exercise09/README.txt
Normal file
1
code/code/exercise09/README.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Hier entsteht die Lösung zu Praktikum 09
|
12
code/code/lib/es6-shim.min.js
vendored
Normal file
12
code/code/lib/es6-shim.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
code/code/lib/jquery-3.3.1.min.js
vendored
Normal file
2
code/code/lib/jquery-3.3.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
code/code/ohm.ico
Normal file
BIN
code/code/ohm.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 446 B |
Loading…
x
Reference in New Issue
Block a user