573 lines
28 KiB
HTML
Executable File
573 lines
28 KiB
HTML
Executable File
<!DOCTYPE HTML>
|
|
<meta charset="utf-8" />
|
|
<html>
|
|
|
|
<head>
|
|
<title>Infrastructure</title>
|
|
<style>
|
|
th {
|
|
text-align: left;
|
|
}
|
|
|
|
table {
|
|
text-align: left;
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
}
|
|
</style>
|
|
<link href="css/columnlayout.css" rel="stylesheet">
|
|
<script type="text/javascript" src="js/infrastructure.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<!-- divFunctions -->
|
|
<hr>
|
|
<table style="width:40.5%" id="HeaderTable">
|
|
<tr id="HeaderTableRow">
|
|
<td>
|
|
<div id="WebSocketStart">
|
|
<input type="button" id="create" value="Connect to Server" onclick="WebSocketTest()">
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<form>
|
|
<input type="text" value="EXCTDS01:2080" id="ipadresse" />
|
|
</form>
|
|
</td>
|
|
<td>
|
|
<div id="Serverconnect">
|
|
<font color="red">
|
|
Server: not connected
|
|
</font>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<hr>
|
|
<H1>Mounting Points</H1>
|
|
<table>
|
|
<th>
|
|
<H2>BT 56</H2>
|
|
</th>
|
|
<th>
|
|
<H2>BT 575</H2>
|
|
</th>
|
|
<th>
|
|
<H2>BT 576</H2>
|
|
</th>
|
|
<th>
|
|
<H2>BT 577</H2>
|
|
</th>
|
|
<tr>
|
|
<td>
|
|
<a href="Documents/BT56neuBSM.pdf">Mounting Points BSM</a>
|
|
<br>
|
|
<a href="Documents/BT56neuIPS.pdf">Mounting Points IPS</a>
|
|
<br>
|
|
</td>
|
|
<td>
|
|
<a href="Documents/BT575/BT575_GSM.pdf">Mounting Points GSM</a>
|
|
<br>
|
|
<a href="Documents/BT575/BT575E_IPS.pdf">Mounting Points E IPS</a>
|
|
<br>
|
|
<a href="Documents/BT575/BT575O_IPS.pdf">Mounting Points 0 IPS</a>
|
|
<br>
|
|
</td>
|
|
<td>
|
|
<a href="Documents/BT576/BT576_GSM.pdf">Mounting Points GSM</a>
|
|
<br>
|
|
<a href="Documents/BT576/BT576_IPS.pdf">Mounting Points IPS</a>
|
|
<br>
|
|
</td>
|
|
<td>
|
|
<a href="Documents/BT577/BT577GSM.pdf">Mounting Points GSM</a>
|
|
<br>
|
|
<a href="Documents/BT577/BT577IPS.pdf">Mounting Points IPS</a>
|
|
<br>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="button" value="Show/Hide functions" onclick="toggle('divFunctions');return false">
|
|
<hr>
|
|
<div style="display: none" id="divFunctions">
|
|
<h2>Mount by ID's</h2>
|
|
<label type="number" for="mount_mountingPointId">Mounting Point Id:</label>
|
|
<input id="mount_mountingPointId" name="mount_mountingPointId">
|
|
<label type="number" for="mount_assetId"></label>
|
|
Asset Id:
|
|
<input id="mount_assetId" name="mount_assetId">
|
|
<input type="button" id="sendMount" value="Send mount" onclick="sendMount()">
|
|
<h2>Mount by tag</h2>
|
|
<label type="text" for="mountTag_mountingPointTag">Mounting Point tag:</label>
|
|
<input id="mountTag_mountingPointTag" name="mountTag_mountingPointTag">
|
|
<label type="text" for="mountTag_assetTag">
|
|
Asset tag:
|
|
</label>
|
|
<input id="mountTag_assetTag" name="mountTag_assetTag">
|
|
<input type="button" id="sendMountTag" value="Send mountTag" onclick="sendMountTag()">
|
|
<h2>Unmount asset</h2>
|
|
<label type="number" for="unmountAsset_assetId"></label>
|
|
<label>
|
|
Asset ID:
|
|
</label>
|
|
<input id="unmountAsset_assetId" name="unmountAsset_assetId">
|
|
<input type="button" id="unmountAsset" value="Send unmountAsset" onclick="sendUnmountAsset()">
|
|
<h2>Unmount mounting point</h2>
|
|
<label type="number" for="unmountMountingPoint_assetId">
|
|
Mounting Point ID:
|
|
</label>
|
|
<input id="unmountMountingPoint_mountingPointId" name="unmountMountingPoint_mountingPointId">
|
|
<input type="button" id="unmountMountingPoint" value="Send unmountMountingPoint" onclick="sendUnmountMountingPoint()">
|
|
<h2>Unmount object (=building)</h2>
|
|
<label type="number" for="unmountObject_objectId">
|
|
Object ID:
|
|
</label>
|
|
<input id="unmountObject_objectId" name="unmountObject_objectId">
|
|
<input type="button" id="unmountObject" value="Send unmountObject" onclick="sendUnmountObject()">
|
|
<h2>Unmount area</h2>
|
|
<label type="number" for="unmountArea_areaId">
|
|
Area ID:
|
|
</label>
|
|
<input id="unmountArea_areaId" name="unmountArea_areaId">
|
|
<input type="button" id="unmountArea" value="Send unmountArea" onclick="sendUnmountArea()">
|
|
<h2>Object mounting ready</h2>
|
|
<label type="number" for="objectMountingReady_plannedMountingId">Planned mounting ID:</label>
|
|
<input id="objectMountingReady_plannedMountingId" name="objectMountingReady_plannedMountingId">
|
|
<label type="number" for="objectMountingReady_objectId">
|
|
Object ID:
|
|
</label>
|
|
<input id="objectMountingReady_objectId" name="objectMountingReady_objectId">
|
|
<input type="button" id="objectMountingReady" value="Send objectMountingReady" onclick="sendObjectMountingReady()">
|
|
<h2>Get asset state</h2>
|
|
<label type="number" for="getAssetState_assetId">Asset ID:
|
|
</label>
|
|
<input id="getAssetState_assetId" name="getAssetState_assetId">
|
|
<label type="text" for="getAssetState_assetTag">
|
|
Asset tag:
|
|
</label>
|
|
<input id="getAssetState_assetTag" name="getAssetState_assetTag">
|
|
<input type="button" id="getAssetState" value="Send getAssetState" onclick="sendGetAssetState()">
|
|
<h2>Get building state</h2>
|
|
<label type="number" for="getBuildingState_buildingId">
|
|
Building ID:</label>
|
|
<input id="getBuildingState_buildingId" name="getBuildingState_buildingId">
|
|
<input type="button" id="getBuildingState" value="Send getBuildingState" onclick="sendGetBuildingStateManually()">
|
|
<hr>
|
|
<div id="sendGet">
|
|
<input type="button" id="GetEssentials" value="GetEssentials" onclick="sendGetEssentials()">
|
|
<input type="button" id="SendGetBuildingState" value="GetBuildingState" onclick="sendGetBuildingState(1)">
|
|
<input type="button" id="SendGetAssets" value="GetAssets" onclick="sendGetAssets()">
|
|
</div>
|
|
<!-- sendGet -->
|
|
<h2>Mounten für Faule -- USE WITH CAUTION!</h2>
|
|
<input type="button" id="mountingHack" value="send mounting hack" onclick="mountingHackForBldg56Ref()">
|
|
</div>
|
|
<!-- divFunctions -->
|
|
<H2>Select Building</H2>
|
|
<form name="BuildingForm" id="BuildingForm">
|
|
<table>
|
|
<div class="columnstyle">
|
|
<p id="rbBuildings">
|
|
</div>
|
|
</table>
|
|
<input type="button" id="Submit" value="Submit" onclick="checkedBuilding(document.BuildingForm.bg)">
|
|
</form>
|
|
<hr>
|
|
<H1 id="BuildingTable">No Building selected</h1>
|
|
<div style="display: none" id="mountAssets">
|
|
<!-- Choose Asset Type -->
|
|
<h2>Choose Asset Type</h2>
|
|
<form action="#">
|
|
<label>AssetType:
|
|
<select name="AssetTypes" onchange="selectAssetType(this.value)" id="selectAsset">
|
|
<option value=1>BuildingSensorModule</option>
|
|
<!--<option value=2>BuildingControlUnit</option>-->
|
|
<option value=3>OutdoorCamera</option>
|
|
<option value=4>IndoorCamera</option>
|
|
<option value=5>OutdoorIPS</option>
|
|
<option value=6>IndoorIPS</option>
|
|
<option value=7>MeteoDataUnit</option>
|
|
<option value=10>AnnouncementUnit</option>
|
|
<option value=12>EffectGenerationControlUnit</option>
|
|
<option value=13>OutdoorControlUnit</option>
|
|
<option value=14>BuildingNetworkSwitch</option>
|
|
</select>
|
|
</label>
|
|
</form>
|
|
<!-- Mount BSM's-->
|
|
<div style="display: none" id="divBuildingSensorModule">
|
|
<H2>Mount BSM </H2>
|
|
Assign BSM to Mountpoint:
|
|
<form name="MountFormBsm" id="MountFormBsm">
|
|
<table style="width:50.0%">
|
|
<tr>
|
|
<th>
|
|
Mountpoint
|
|
</th>
|
|
<th>
|
|
Asset
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p id="rbMountPointsBsm">
|
|
</td>
|
|
<td>
|
|
<div class="columnstyle">
|
|
<p id="rbAssetsBsm">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="button" id="Mount" value="Mount" onclick="sendMountAssets(document.MountFormBsm.mp, document.MountFormBsm.ASSET)">
|
|
</form>
|
|
</div>
|
|
<!--divBuildingSensorModule-->
|
|
<!-- Mount BCU's-->
|
|
<div style="display: none" id="divBuildingControlUnit">
|
|
<H2>Mount BCU </H2>
|
|
Assign BCU to Mountpoint:
|
|
<form name="MountFormBcu" id="MountFormBcu">
|
|
<table style="width:30.0%">
|
|
<tr>
|
|
<th>
|
|
Mountpoint
|
|
</th>
|
|
<th>
|
|
Asset
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p id="rbMountPointsBcu">
|
|
</td>
|
|
<td>
|
|
<div class="columnstyle">
|
|
<p id="rbAssetsBcu">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="button" id="Mount" value="Mount" onclick="sendMountAssets(document.MountFormBcu.mp, document.MountFormBcu.ASSET)">
|
|
</form>
|
|
</div>
|
|
<!--divBuildingControlUnit-->
|
|
<!-- Mount IPS in's-->
|
|
<div style="display: none" id="divIndoorIPS">
|
|
<H2>Mount IPS In</H2>
|
|
Assign IPS In to Mountpoint:
|
|
<form name="MountFormIpsIn" id="MountFormIpsIn">
|
|
<table style="width:30.0%">
|
|
<tr>
|
|
<th>
|
|
Mountpoint
|
|
</th>
|
|
<th>
|
|
Asset
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p id="rbMountPointsIpsIn">
|
|
</td>
|
|
<td>
|
|
<div class="columnstyle">
|
|
<p id="rbAssetsIpsIn">
|
|
</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="button" id="Mount" value="Mount" onclick="sendMountAssets(document.MountFormIpsIn.mp, document.MountFormIpsIn.ASSET)">
|
|
</form>
|
|
</div>
|
|
<!--divIndoorIPS-->
|
|
<!-- Mount IPS Out -->
|
|
<div style="display: none" id="divOutdoorIPS">
|
|
<H2>Mount IPS Out</H2>
|
|
Assign IPS Out to Mountpoint:
|
|
<form name="MountFormIpsOut" id="MountFormIpsOut">
|
|
<table style="width:30.0%">
|
|
<tr>
|
|
<th>
|
|
Mountpoint
|
|
</th>
|
|
<th>
|
|
Asset
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p id="rbMountPointsIpsOut">
|
|
</td>
|
|
<td>
|
|
<div class="columnstyle">
|
|
<p id="rbAssetsIpsOut">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="button" id="Mount" value="Mount" onclick="sendMountAssets(document.MountFormIpsOut.mp, document.MountFormIpsOut.ASSET)">
|
|
</form>
|
|
</div>
|
|
<!--divOutdoorIPS-->
|
|
<!-- Mount Cameras-->
|
|
<div style="display: none" id="divIndoorCamera">
|
|
<H2>Mount Camera In</H2>
|
|
Assign Camera in to Mountpoint:
|
|
<form name="MountFormCameraIn" id="MountFormCameraIn">
|
|
<table style="width:30.0%">
|
|
<tr>
|
|
<th>
|
|
Mountpoint
|
|
</th>
|
|
<th>
|
|
Asset
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p id="rbMountPointsCameraIn">
|
|
</td>
|
|
<td>
|
|
<div class="columnstyle">
|
|
<p id="rbAssetsCameraIn">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="button" id="Mount" value="Mount" onclick="sendMountAssets(document.MountFormCameraIn.mp, document.MountFormCameraIn.ASSET)">
|
|
</form>
|
|
</div>
|
|
<!--divIndoorCamera-->
|
|
<!-- Mount Cameras-->
|
|
<div style="display: none" id="divOutdoorCamera">
|
|
<H2>Mount Camera Out</H2>
|
|
Assign Camera in to Mountpoint:
|
|
<form name="MountFormCameraOut" id="MountFormCameraOut">
|
|
<table style="width:30.0%">
|
|
<tr>
|
|
<th>
|
|
Mountpoint
|
|
</th>
|
|
<th>
|
|
Asset
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p id="rbMountPointsCameraOut">
|
|
</td>
|
|
<td>
|
|
<div class="columnstyle">
|
|
<p id="rbAssetsCameraOut">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="button" id="Mount" value="Mount" onclick="sendMountAssets(document.MountFormCameraOut.mp, document.MountFormCameraOut.ASSET)">
|
|
</form>
|
|
</div>
|
|
<!--divOutdoorCamera-->
|
|
<!-- MDU-->
|
|
<div style="display: none" id="divMeteoDataUnit">
|
|
<H2>Mount Meteo Data Unit</H2>
|
|
Assign Meteo Data Unit to Mountpoint:
|
|
<form name="MountFormMdu" id="MountFormMdu">
|
|
<table style="width:30.0%">
|
|
<tr>
|
|
<th>
|
|
Mountpoint
|
|
</th>
|
|
<th>
|
|
Asset
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p id="rbMountPointsMdu">
|
|
</td>
|
|
<td>
|
|
<div class="columnstyle">
|
|
<p id="rbAssetsMdu">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="button" id="Mount" value="Mount" onclick="sendMountAssets(document.MountFormMdu.mp, document.MountFormMdu.ASSET)">
|
|
</form>
|
|
</div>
|
|
<!--divMeteoDataUnit-->
|
|
<!-- Announcemenmt-->
|
|
<div style="display: none" id="divAnnouncementUnit">
|
|
<H2>Mount AnnouncementUnit </H2>
|
|
Assign AnnouncementUnit to Mountpoint:
|
|
<form name="MountFormAnnouncement" id="MountFormAnnouncement">
|
|
<table style="width:30.0%">
|
|
<tr>
|
|
<th>
|
|
Mountpoint
|
|
</th>
|
|
<th>
|
|
Asset
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p id="rbMountPointsAnnouncement">
|
|
</td>
|
|
<td>
|
|
<div class="columnstyle">
|
|
<p id="rbAssetsAnnouncement">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="button" id="Mount" value="Mount" onclick="sendMountAssets(document.MountFormAnnouncement.mp, document.MountFormAnnouncement.ASSET)">
|
|
</form>
|
|
</div>
|
|
<!--divAnnouncementUnit-->
|
|
<!-- EGCU-->
|
|
<div style="display: none" id="divEffectGenerationControlUnit">
|
|
<H2>Mount Effect Generation Unit</H2>
|
|
Assign Effect Generation Unit to Mountpoint:
|
|
<form name="MountFormEgcu" id="MountFormEgcu">
|
|
<table style="width:30.0%">
|
|
<tr>
|
|
<th>
|
|
Mountpoint
|
|
</th>
|
|
<th>
|
|
Asset
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p id="rbMountPointsEgcu">
|
|
</td>
|
|
<td>
|
|
<div class="columnstyle">
|
|
<p id="rbAssetsEgcu">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="button" id="Mount" value="Mount" onclick="sendMountAssets(document.MountFormEgcu.mp, document.MountFormEgcu.ASSET)">
|
|
</form>
|
|
</div>
|
|
<!--divEffectGenerationControlUnit-->
|
|
<!-- OCU-->
|
|
<div style="display: none" id="divOutdoorControlUnit">
|
|
<H2>Mount Outdoor Control Unit</H2>
|
|
Assign Outdoor Control Unit to Mountpoint:
|
|
<form name="MountFormOcu" id="MountFormOcu">
|
|
<table style="width:30.0%">
|
|
<tr>
|
|
<th>
|
|
Mountpoint
|
|
</th>
|
|
<th>
|
|
Asset
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p id="rbMountPointsOcu">
|
|
</td>
|
|
<td>
|
|
<div class="columnstyle">
|
|
<p id="rbAssetsOcu">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="button" id="Mount" value="Mount" onclick="sendMountAssets(document.MountFormOcu.mp, document.MountFormOcu.ASSET)">
|
|
</form>
|
|
</div>
|
|
<!--divEffectGenerationControlUnit-->
|
|
<div style="display: none" id="divBuildingNetworkSwitch">
|
|
<H2>Mount Building Network Switch</H2>
|
|
Assign Building Network Switch to Mountpoint:
|
|
<form name="MountFormBns" id="MountFormBns">
|
|
<table style="width:30.0%">
|
|
<tr>
|
|
<th>
|
|
Mountpoint
|
|
</th>
|
|
<th>
|
|
Asset
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p id="rbMountPointsBuildingNetworkSwitch">
|
|
</td>
|
|
<td>
|
|
<div class="columnstyle">
|
|
<p id="rbAssetsBuildingNetworkSwitch">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="button" id="Mount" value="Mount" onclick="sendMountAssets(document.MountFormBns.mp, document.MountFormBns.ASSET)">
|
|
</form>
|
|
</div>
|
|
|
|
<!-- Unmount -->
|
|
<hr>
|
|
<H2>unmount Asset</h2>
|
|
<table id="AssetStateTable">
|
|
</table>
|
|
<hr>
|
|
<input type="button" value="Show/Hide Details" onclick="toggle('divText');return false">
|
|
<div style="display: none" id="divText">
|
|
<H1>Area</h1>
|
|
<p id="area">
|
|
<hr>
|
|
<H1>Asset State</h1>
|
|
<p id="assetState">
|
|
<hr>
|
|
<H1>Asset State Object</h1>
|
|
<p id="assetStateObject">
|
|
<hr>
|
|
<H1>Assets</h1>
|
|
<p id="assets">
|
|
<hr>
|
|
<H1>Asset Type</h1>
|
|
<p id="assetType">
|
|
<hr>
|
|
<H1>Error</h1>
|
|
<p id="error">
|
|
<hr>
|
|
<H1>Level</h1>
|
|
<p id="level">
|
|
<hr>
|
|
<H2>Mount Point Table</H2>
|
|
<table id="mountingPointTable">
|
|
</table>
|
|
<p id="mountingPoint">
|
|
<hr>
|
|
<H1>Object</h1>
|
|
<p id="object">
|
|
<hr>
|
|
<H1>Object Mounting</h1>
|
|
<p id="objectMounting">
|
|
<hr>
|
|
<H1>Ok</h1>
|
|
<p id="ok">
|
|
<hr>
|
|
<H1>Planned Mounting</h1>
|
|
<p id="plannedMounting">
|
|
<hr>
|
|
<H1>Room</h1>
|
|
<p id="room">
|
|
<hr>
|
|
<H1>Training Area
|
|
</h1>
|
|
<p id="trainingArea">
|
|
<body/>
|
|
</div>
|
|
<!-- divText -->
|
|
|
|
</html>
|