-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
75 lines (69 loc) · 2.82 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<html>
<head>
<title>Fanitoring Realtime HMI Viewer</title>
<!--<link rel="shortcut icon" href="http://185.104.229.164:12568/poddraw/webapp/favicon.png">-->
<link rel="shortcut icon" href="http://172.16.110.26/poddraw/webapp/favicon.png">
<link rel="stylesheet" href="style/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.css">
<!--<link href="https://fonts.googleapis.com/css?family=Roboto:300,400" rel="stylesheet">-->
<script type="text/javascript">
// POD_DRAW_URL = 'http://185.104.229.164:12568/poddraw/webapp';
POD_DRAW_URL = 'http://172.16.110.26/poddraw/webapp';
</script>
<script type="text/javascript" src="js/podasync.min.js"></script>
<script type="text/javascript" src="js/viewer.min.js"></script>
<script type="text/javascript" src="js/toastify-js.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.js"></script>
<script type="text/javascript" src="js/app.js"></script>
</head>
<body>
<div id="notificationContainer"></div>
<div id="podGraph">
<div id="outlineContainer"></div>
<div id="statusContainer"></div>
<a href="http://185.104.229.164:12568/poddraw/" id="footer-copyright" target="_blank">Powered by PodDraw © 2019</a>
</div>
<script type="text/javascript">
(function () {
main({
fakeData: true,
protocol: 'websockets',
protocolParams: {
socketAddress: 'ws://172.16.110.20:8003/ws',
serverName: 'fanitoring-process',
peerId: 1736993,
reconnectOnClose: true,
connectionCheckTimeout: 10000,
serverRegisteration: true,
asyncLogging: {
onFunction: true
}
},
map: {
type: 'file',
data: 'maps/fanitoring-demo.xml'
},
graphContainer: 'podGraph',
outlineContainer: 'outlineContainer',
statusContainer: 'statusContainer',
notificationContainer: 'notificationContainer',
logButton: {
type: 'window', // [ tab / window ]
title: 'Fanitoring Logs',
url: 'https://www.google.com'
},
notificationOptions: {
enable: true,
duration: 5000,
autoClose: false,
closeBtn: false,
positionHorizontal: 'left',
positionVertical: 'top'
},
renderingPitch: 'high', // high, medium or low
numbersRoundPrecision: 2, // round numbers to at most 2 decimal places ( 2.325241 => 2.32 )
chartDataArrayMaxLength: 20
});
})();
</script>
</body>