Binary file not shown.
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 65 KiB |
@@ -924,23 +924,6 @@ HotelTV.hcap = (function() {
|
|||||||
_devinfo["power_mode"] = hcap.power.PowerMode.NORMAL;
|
_devinfo["power_mode"] = hcap.power.PowerMode.NORMAL;
|
||||||
console.log("power_mode mode set as " + _devinfo["power_mode"]);
|
console.log("power_mode mode set as " + _devinfo["power_mode"]);
|
||||||
});
|
});
|
||||||
// hcap.power.getPowerMode({
|
|
||||||
// "onSuccess": function(s) {
|
|
||||||
// console.log("onSuccess power mode " + s.mode);
|
|
||||||
// if (s.mode != hcap.power.PowerMode.NORMAL) {
|
|
||||||
// hcap.power.setPowerMode({
|
|
||||||
// "mode": hcap.power.PowerMode.NORMAL,
|
|
||||||
// "onSuccess": null,
|
|
||||||
// "onFailure": function(f) {
|
|
||||||
// console.log("onFailure : errorMessage = " + f.errorMessage);
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
// "onFailure": function(f) {
|
|
||||||
// console.log("onFailure : errorMessage = " + f.errorMessage);
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ var HotelTV = HotelTV || {
|
|||||||
'message': {},
|
'message': {},
|
||||||
'translation': {},
|
'translation': {},
|
||||||
'state': {
|
'state': {
|
||||||
'lang': 'kr',
|
'lang': 'en-US',
|
||||||
'menu': {
|
'menu': {
|
||||||
'stage': {
|
'stage': {
|
||||||
'cur':null,
|
'cur':null,
|
||||||
@@ -208,7 +208,6 @@ HotelTV.Init = async function() {
|
|||||||
|
|
||||||
//SETP#02::> Set Debug Options
|
//SETP#02::> Set Debug Options
|
||||||
__fxn_Set_DebugOpt(false, 'osd', false);
|
__fxn_Set_DebugOpt(false, 'osd', false);
|
||||||
//__fxn_Set_DebugOpt(true, 'native', true);
|
|
||||||
|
|
||||||
//STEP#03::> Get Device Info
|
//STEP#03::> Get Device Info
|
||||||
HotelTV.ui_utils.SetBusy(true);
|
HotelTV.ui_utils.SetBusy(true);
|
||||||
@@ -490,19 +489,32 @@ HotelTV.Init = async function() {
|
|||||||
sessionStorage.setItem("translation", JSON.stringify(HotelTV.translation));
|
sessionStorage.setItem("translation", JSON.stringify(HotelTV.translation));
|
||||||
|
|
||||||
//Now Switch Over Welcome page
|
//Now Switch Over Welcome page
|
||||||
if (HotelTV.opening != null) {
|
const __ifxn_getAndrestorBgServiceInfo = async function() {
|
||||||
$(".startup").fadeOut(1000, function() {
|
try {
|
||||||
window.location.replace('./wellcome.html');
|
HotelTV.services = await HotelTV.api.GetServiceInfo();
|
||||||
});
|
sessionStorage.setItem("services", JSON.stringify(HotelTV.services));
|
||||||
} else {
|
} catch (_error) {
|
||||||
if (HotelTV.state['registration'].license == 'hotel-full') {
|
console.error("Display Error page for get service info");
|
||||||
setTimeout(function() {
|
|
||||||
window.location.replace('./app_hoteltv_full.html');
|
|
||||||
}, 1000);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (HotelTV.opening != null ) {
|
||||||
|
if ( HotelTV.guestinfo.watchTV==true ) {
|
||||||
|
HotelTV.state.lang = HotelTV.guestinfo.language;
|
||||||
|
__ifxn_getAndrestorBgServiceInfo();
|
||||||
|
HotelTV.UnloadWelCome(true, 2000);
|
||||||
|
} else {
|
||||||
|
$(".startup").fadeOut(1000, function() {
|
||||||
|
window.location.replace('./wellcome.html');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
__ifxn_getAndrestorBgServiceInfo();
|
||||||
|
HotelTV.state.lang = HotelTV.guestinfo.language;
|
||||||
|
HotelTV.UnloadWelCome(true, 2000);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
let _tmval = 30;
|
let _tmval = 60;
|
||||||
HotelTV.ui_utils.ShowErrMsg(true,
|
HotelTV.ui_utils.ShowErrMsg(true,
|
||||||
"system.error.unregistered-device",
|
"system.error.unregistered-device",
|
||||||
"SYSTEM ERROR",
|
"SYSTEM ERROR",
|
||||||
@@ -517,7 +529,8 @@ HotelTV.Init = async function() {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": function() {
|
||||||
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nPlease reboot the device by manualy(using remote contoller)`);
|
$('.error #countdown #message').text(`The Device ID is ${HotelTV.devinfo.serial_number}.\r\n\r\nSystem will be reboot`);
|
||||||
|
setTimeout(HotelTV.hcap.Reboot, 500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
@@ -535,7 +548,6 @@ HotelTV.LoadWelCome = async function() {
|
|||||||
HotelTV.dbginfo = await JSON.parse(sessionStorage.getItem("dbginfo"));
|
HotelTV.dbginfo = await JSON.parse(sessionStorage.getItem("dbginfo"));
|
||||||
//SETP#02::> Set Debug Options
|
//SETP#02::> Set Debug Options
|
||||||
__fxn_Set_DebugOpt(false, 'native', true);
|
__fxn_Set_DebugOpt(false, 'native', true);
|
||||||
//__fxn_Set_DebugOpt(true, 'native', true);
|
|
||||||
|
|
||||||
HotelTV.devinfo = await JSON.parse(sessionStorage.getItem("devinfo"));
|
HotelTV.devinfo = await JSON.parse(sessionStorage.getItem("devinfo"));
|
||||||
HotelTV.svrinfo = await JSON.parse(sessionStorage.getItem("svrinfo"));
|
HotelTV.svrinfo = await JSON.parse(sessionStorage.getItem("svrinfo"));
|
||||||
@@ -645,9 +657,12 @@ HotelTV.LoadWelCome = async function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
HotelTV.UnloadWelCome = async function() {
|
HotelTV.UnloadWelCome = async function(_skip_ui_close=false, _main_load_delay=1000) {
|
||||||
sessionStorage.setItem("state", JSON.stringify(HotelTV.state));
|
sessionStorage.setItem("state", JSON.stringify(HotelTV.state));
|
||||||
HotelTV.ui_welcome.Close();
|
|
||||||
|
if ( _skip_ui_close==false ){
|
||||||
|
HotelTV.ui_welcome.Close();
|
||||||
|
}
|
||||||
|
|
||||||
//MQTT Disconnect
|
//MQTT Disconnect
|
||||||
if( HotelTV.services.client ){
|
if( HotelTV.services.client ){
|
||||||
@@ -655,9 +670,10 @@ HotelTV.UnloadWelCome = async function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (HotelTV.state['registration'].license == 'hotel-full') {
|
if (HotelTV.state['registration'].license == 'hotel-full') {
|
||||||
setTimeout(function() {
|
const __ifxn_replace_page = function() {
|
||||||
window.location.replace('./app_hoteltv_full.html');
|
window.location.replace('./app_hoteltv_full.html');
|
||||||
}, 1000);
|
}
|
||||||
|
setTimeout(__ifxn_replace_page, _main_load_delay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2020,6 +2020,10 @@ HotelTV.ui_appfull = (function() {
|
|||||||
_elAmCtgyBg.append(_elDiv_Ctgy);
|
_elAmCtgyBg.append(_elDiv_Ctgy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// popup:amenity 프레임 활성화
|
||||||
|
if ( _elAmPupRoot.css('display') == "none") {
|
||||||
|
_elAmPupRoot.show();
|
||||||
|
}
|
||||||
|
|
||||||
_elAmCtgyBg.owlCarousel({
|
_elAmCtgyBg.owlCarousel({
|
||||||
center: true,
|
center: true,
|
||||||
@@ -3559,6 +3563,10 @@ HotelTV.ui_appfull = (function() {
|
|||||||
_elRsCtgyBg.append(_elDiv_Ctgy);
|
_elRsCtgyBg.append(_elDiv_Ctgy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// popup:roomservice 프레임 활성화
|
||||||
|
if ( _elRsPupRoot.css('display') == "none") {
|
||||||
|
_elRsPupRoot.show();
|
||||||
|
}
|
||||||
|
|
||||||
_elRsCtgyBg.owlCarousel({
|
_elRsCtgyBg.owlCarousel({
|
||||||
center: true,
|
center: true,
|
||||||
@@ -6234,7 +6242,9 @@ HotelTV.ui_appfull = (function() {
|
|||||||
$('.widjet .top .message').hide();
|
$('.widjet .top .message').hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
$('div#lst_mypagebg div #mp_message_title').text(_guest.name + _trTbl.ui.mypage.message.title.title[_state.lang].replace("_XX", _msgCnt.toString()));
|
if ( $('div#lst_mypagebg').find('div #mp_message_title').length>0 ){
|
||||||
|
$('div#lst_mypagebg div #mp_message_title').text(_guest.name + _trTbl.ui.mypage.message.title.title[_state.lang].replace("_XX", _msgCnt.toString()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -7258,7 +7268,8 @@ HotelTV.ui_appfull = (function() {
|
|||||||
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
|
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": function() {
|
||||||
setTimeout(HotelTV.hcap.PwrOff, 500);
|
//setTimeout(HotelTV.hcap.PwrOff, 500);
|
||||||
|
setTimeout(HotelTV.hcap.Reboot, 500);
|
||||||
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -525,7 +525,8 @@ HotelTV.ui_welcome = (function() {
|
|||||||
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
|
$('.error #countdown #message').text(`System will be shutdown in ${_tmval} second...`);
|
||||||
},
|
},
|
||||||
"cb_eoe": function() {
|
"cb_eoe": function() {
|
||||||
setTimeout(HotelTV.hcap.PwrOff, 500);
|
//setTimeout(HotelTV.hcap.PwrOff, 500);
|
||||||
|
setTimeout(HotelTV.hcap.Reboot, 500);
|
||||||
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
HotelTV.api.ReportEvent([{'power': false, 'location':null}])
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
BIN
procentric/application/theme/HIM00001/images/quantity_edit_arrow.png
Executable file
BIN
procentric/application/theme/HIM00001/images/quantity_edit_arrow.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
BIN
procentric/application/theme/HIN00001/images/quantity_edit_arrow.png
Executable file
BIN
procentric/application/theme/HIN00001/images/quantity_edit_arrow.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
@@ -438,6 +438,7 @@
|
|||||||
left: 0px;
|
left: 0px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup .amenity div .item {
|
.popup .amenity div .item {
|
||||||
@@ -1591,6 +1592,7 @@
|
|||||||
left: 0px;
|
left: 0px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup .roomservice div .item {
|
.popup .roomservice div .item {
|
||||||
|
|||||||
Reference in New Issue
Block a user