-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
77 lines (63 loc) · 3.2 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
76
77
<!-- ! Copyright (c) 2021, Samsung Electronics Co., Ltd
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="description" content="Tizen TV basic template generated by Samsung TV Web IDE"/>
<title>System Command Sample Application</title>
<!-- Script Files -->
<script type='text/javascript' language='javascript' src='$WEBAPIS/webapis/webapis.js'></script>
<script type="text/javascript" src="js/main.js"></script>
<!-- StyleSheet -->
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<h1 align="center" style="color: red;">PEPPER webapis.systemcontrol: System Command Sample application</h1>
<ul style="list-style-type:circle; color:navy; font-size: 25px;">
<li>KEY 1 : getControlVersion</li>
<li>KEY 2 : powerReboot</li>
<li>KEY 3 : getScreenCapture</li>
<li>KEY 4 : getDeviceSWVersion</li>
<li>KEY 5 : getSerialNumber</li>
<li>KEY 6 : set -> getLampSchedule</li>
<li>KEY 7 : setPanelMute (1sec)</li>
<li>KEY 8 : SetSafteyLock to ON</li>
<li>KEY 9 : SetSafteyLock to OFF</li>
<li>KEY 0 : setFirmwareUpdateListener</li>
<li>KEY LEFT : updateFirmware</li>
<li>KEY UP : unsetFirmwareUpdateListener</li>
<li>KEY RIGHT : get Menu orientation</li>
<li>KEY DOWN : get Source orientation</li>
<li>KEY REWIND : setPcConnection to 'RJ45'</li>
<li>KEY FASTFORWARD : setPcConnection to 'RS232'</li>
<li>KEY STOP : setSafetyLock to ON</li>
<li>KEY PLAY : setSafetyLock to OFF</li>
<li>KEY PAUSE : Clear logs</li>
<li>RETURN : Show ScreenCapture</li>
</ul>
<br><br>
<button onclick=
"show_image('/opt/usr/home/owner/share/magicinfo/PepperAPIScreenCapture.jpg',
400,
400,
'Screen Capture Logo');" autofocus>Screen Capture Logo</button>
<br><br>
<div id="log" style="color:green;margin-left: 20px; font-size: 25px;"><br/>LOG EVENTS :: <br/></div>
</body>
</html>