added basic project
This commit is contained in:
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<system.web>
|
||||
<compilation debug="true" targetFramework="4.0"/>
|
||||
</system.web>
|
||||
</configuration>
|
||||
@@ -0,0 +1 @@
|
||||
Hier entsteht die Lösung zu Praktikum 01
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
h2 small {
|
||||
color: green;
|
||||
font-size: small;
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 446 B |
@@ -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>
|
||||
@@ -0,0 +1 @@
|
||||
Hier entsteht die Lösung zu Praktikum 02
|
||||
@@ -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>
|
||||
@@ -0,0 +1 @@
|
||||
alert("test");␍␍
|
||||
@@ -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);
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Hier entsteht die Lösung zu Praktikum 03
|
||||
@@ -0,0 +1 @@
|
||||
Hier entsteht die Lösung zu Praktikum 04
|
||||
@@ -0,0 +1 @@
|
||||
Hier entsteht die Lösung zu Praktikum 05
|
||||
@@ -0,0 +1 @@
|
||||
Hier entsteht die Lösung zu Praktikum 06
|
||||
@@ -0,0 +1 @@
|
||||
Hier entsteht die Lösung zu Praktikum 07
|
||||
@@ -0,0 +1 @@
|
||||
Hier entsteht die Lösung zu Praktikum 08
|
||||
@@ -0,0 +1 @@
|
||||
Hier entsteht die Lösung zu Praktikum 09
|
||||
Vendored
+12
File diff suppressed because one or more lines are too long
Vendored
+2
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 446 B |
Reference in New Issue
Block a user