issue #10 #11 Change to online mode to local-storage mode.

This commit is contained in:
paul kim
2024-07-04 16:23:31 +09:00
parent f2e0890c3d
commit 16ecff93d8
8 changed files with 149 additions and 90 deletions

View File

@@ -478,7 +478,7 @@ HotelTV.ui_welcome = (function() {
let _tmval = 10;
let _state = HotelTV.state;
let _trTbl = HotelTV.translation;
setTimeout(HotelTV.hal.Reboot, 12000);
HotelTV.ui_utils.ShowSysNoticeMsg(true,
"notice",
"SYSTEM NOTICE",
@@ -493,7 +493,6 @@ HotelTV.ui_welcome = (function() {
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hal.Reboot, 500);
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
}
});
@@ -501,7 +500,7 @@ HotelTV.ui_welcome = (function() {
let _tmval = 10;
let _state = HotelTV.state;
let _trTbl = HotelTV.translation;
setTimeout(HotelTV.hal.Reboot, 12000);
HotelTV.ui_utils.ShowSysNoticeMsg(true,
"notice",
"SYSTEM NOTICE",
@@ -516,7 +515,6 @@ HotelTV.ui_welcome = (function() {
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hal.Reboot, 500);
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
}
});
@@ -524,7 +522,7 @@ HotelTV.ui_welcome = (function() {
let _tmval = 30;
let _state = HotelTV.state;
let _trTbl = HotelTV.translation;
setTimeout(HotelTV.hal.Reboot, 32000);
HotelTV.ui_utils.ShowSysNoticeMsg(true,
"notice",
"SYSTEM NOTICE",
@@ -539,8 +537,6 @@ HotelTV.ui_welcome = (function() {
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
},
"cb_eoe": function() {
//setTimeout(HotelTV.hal.PwrOff, 500);
setTimeout(HotelTV.hal.Reboot, 500);
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
}
});
@@ -550,7 +546,7 @@ HotelTV.ui_welcome = (function() {
let _tmval = 30;
let _state = HotelTV.state;
let _trTbl = HotelTV.translation;
setTimeout(HotelTV.hal.Reboot, 32000);
HotelTV.ui_utils.ShowSysNoticeMsg(true,
"notice",
"SYSTEM NOTICE",
@@ -565,7 +561,6 @@ HotelTV.ui_welcome = (function() {
$('.error #countdown #message').text(`System will be restart in ${_tmval} second...`);
},
"cb_eoe": function() {
setTimeout(HotelTV.hal.Reboot, 500);
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
}
});