Files
qt5-legatus-legacy/Lts/Tools/ParticipantPositionGeneratorHTML/sendJsonMsg.html
T
2026-08-13 18:33:10 +02:00

150 lines
4.9 KiB
HTML
Executable File

<!DOCTYPE HTML>
<meta charset="utf-8"/>
<html>
<head>
<title>Position-Report</title>
<style>
table
{
padding-left: 5px;
border-spacing: 10px;
text-align: center;
table-layout: fixed;
}
</style>
<script type="text/javascript" src="js/sendJson.js"></script>
</head>
<body>
<h1>Senden eines Positionsreports</h1>
<table id="HeaderTable">
<tr id="HeaderTableRow" style=" padding-left: 5px;">
<td>
<div id="WebSocketStart">
<input type="button" style="width:150px; padding-left: 5px" id="create" value="Connect to Server" onclick="Javascript:WebSocketTest()">
</div>
</td>
<td>
<form>
<input type="text" value="EXCTDS01:12346" id="ipadresse" />
</form>
</td>
<td>
<div id="Wlsconnect">
<font color="red">
Wls: not connected
</font>
</div>
</td>
<td>
<div id="Serverconnect">
<font color="red">
Server: not connected
</font>
</div>
</td>
</tr>
</table>
<div id="PositionReportCheck" style="background-color: #BDBDBD; width: 385px; padding-top: 5px; padding-bottom: 5px;">
<table>
<tr>
<td>
<font color="black">
Type:
</font>
</td>
<td>
<input type="text" id="type" value="PositionReport"/>
</td>
</tr>
<tr>
<td>
<font color="black">
Equipmentnumber:
</font>
</td>
<td>
<input type="text" id="equipmentnumber" value="2831"/>
</td>
</tr>
<tr>
<td>
<font color="black">
Latitude(rad):
</font>
</td>
<td>
<input type="text" id="latitude" value="0.92597504404927866"/>
</td>
</tr>
<tr>
<td>
<font color="black">
Longitude(rad):
</font>
</td>
<td>
<input type="text" id="longitude" value="0.15527616487116957"/>
</td>
</tr>
<tr>
<td>
<font color="black">
Height(m):
</font>
</td>
<td>
<input type="text" id="height" value="2"/>
</td>
</tr>
<tr>
<td>
<font color="black">
AreaID:
</font>
</td>
<td>
<input type="text" id="areaID" value="5"/>
</td>
</tr>
<tr>
<td>
<font color="black">
ObjectID:
</font>
</td>
<td>
<input type="text" id="objectID" value="-1"/>
</td>
</tr>
<tr>
<td>
<font color="black">
RoomID:
</font>
</td>
<td>
<input type="text" id="roomID" value="-1"/>
</td>
</tr>
<tr>
<td>
<input type="button" id="updateUnix" value="Unixtime(Update)" onclick="Javascript:updateUnix()"/>
</td>
<td>
<input type="text" id="timestamp" value=""/>
</td>
</tr>
<tr>
<td>
<input type="button" id="send" value="Send Report" onclick="Javascript:takeAndSendParams()"/>
</td>
</tr>
</table>
</div>
</body>
</html>