Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1eb5513c39 | ||
|
|
13bf756eb6 | ||
|
|
05f801169b | ||
|
|
2061b695c6 | ||
|
|
411c3b9635 |
@@ -993,33 +993,6 @@ HotelTV.hal = (function() {
|
|||||||
let _instant_pwr_target_mode = Number(_devconfig.system.misc.instantPower);
|
let _instant_pwr_target_mode = Number(_devconfig.system.misc.instantPower);
|
||||||
if (_devinfo["instant_power"] != _instant_pwr_target_mode) {
|
if (_devinfo["instant_power"] != _instant_pwr_target_mode) {
|
||||||
_pmFxnArProperty.push(__hcapfxn_set_property('instant_power', _instant_pwr_target_mode));
|
_pmFxnArProperty.push(__hcapfxn_set_property('instant_power', _instant_pwr_target_mode));
|
||||||
|
|
||||||
// hcap.property.InstallerMenuItem.POWER_MANAGE 설정
|
|
||||||
if ( _instant_pwr_target_mode==2 ) {
|
|
||||||
//
|
|
||||||
hcap.property.setInstallerMenuItem({
|
|
||||||
"key" : hcap.property.InstallerMenuItem.POWER_MANAGE,
|
|
||||||
"value" : 8,
|
|
||||||
"onSuccess" : function() {
|
|
||||||
console.log("onSuccess");
|
|
||||||
},
|
|
||||||
"onFailure" : function(f) {
|
|
||||||
console.log("onFailure : errorMessage = " + f.errorMessage);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
// Sets number of hours of no activity before automatic shut off. (0 ~ 7)
|
|
||||||
hcap.property.setInstallerMenuItem({
|
|
||||||
"key" : hcap.property.InstallerMenuItem.POWER_MANAGE,
|
|
||||||
"value" : 0,
|
|
||||||
"onSuccess" : function() {
|
|
||||||
console.log("onSuccess");
|
|
||||||
},
|
|
||||||
"onFailure" : function(f) {
|
|
||||||
console.log("onFailure : errorMessage = " + f.errorMessage);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( _instant_pwr_target_mode==2 || _instant_pwr_target_mode==1 ){
|
if ( _instant_pwr_target_mode==2 || _instant_pwr_target_mode==1 ){
|
||||||
@@ -1027,6 +1000,33 @@ HotelTV.hal = (function() {
|
|||||||
_pmFxnArProperty.push(__hcapfxn_set_powermode('power_mode', hcap.power.PowerMode.WARM));
|
_pmFxnArProperty.push(__hcapfxn_set_powermode('power_mode', hcap.power.PowerMode.WARM));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// hcap.property.InstallerMenuItem.POWER_MANAGE 설정
|
||||||
|
if ( _instant_pwr_target_mode==2 ) {
|
||||||
|
//
|
||||||
|
hcap.property.setInstallerMenuItem({
|
||||||
|
"key" : hcap.property.InstallerMenuItem.POWER_MANAGE,
|
||||||
|
"value" : 8,
|
||||||
|
"onSuccess" : function() {
|
||||||
|
console.log("onSuccess");
|
||||||
|
},
|
||||||
|
"onFailure" : function(f) {
|
||||||
|
console.log("onFailure : errorMessage = " + f.errorMessage);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
// Sets number of hours of no activity before automatic shut off. (0 ~ 7)
|
||||||
|
hcap.property.setInstallerMenuItem({
|
||||||
|
"key" : hcap.property.InstallerMenuItem.POWER_MANAGE,
|
||||||
|
"value" : 0,
|
||||||
|
"onSuccess" : function() {
|
||||||
|
console.log("onSuccess");
|
||||||
|
},
|
||||||
|
"onFailure" : function(f) {
|
||||||
|
console.log("onFailure : errorMessage = " + f.errorMessage);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// STEP#006::> SERVICE RELATED PARAMETERS
|
// STEP#006::> SERVICE RELATED PARAMETERS
|
||||||
|
|||||||
@@ -214,8 +214,8 @@ HotelTV.Init = async function() {
|
|||||||
HotelTV.ui_utils.SetBusy(true);
|
HotelTV.ui_utils.SetBusy(true);
|
||||||
|
|
||||||
const __ifxn_showFatalErr_Network = function() {
|
const __ifxn_showFatalErr_Network = function() {
|
||||||
let _tmval = 10;
|
let _tmval = 30;
|
||||||
setTimeout(HotelTV.hal.Reboot, 10000);
|
setTimeout(HotelTV.hal.Reboot, 29000);
|
||||||
HotelTV.ui_utils.SetBusy(false);
|
HotelTV.ui_utils.SetBusy(false);
|
||||||
HotelTV.ui_utils.ShowErrMsg(true,
|
HotelTV.ui_utils.ShowErrMsg(true,
|
||||||
"system.error.get-devinfo",
|
"system.error.get-devinfo",
|
||||||
@@ -320,8 +320,8 @@ HotelTV.Init = async function() {
|
|||||||
console.log("System Need to Reboot");
|
console.log("System Need to Reboot");
|
||||||
HotelTV.ui_utils.SetBusy(false);
|
HotelTV.ui_utils.SetBusy(false);
|
||||||
|
|
||||||
let _tmval = 20;
|
let _tmval = 30;
|
||||||
setTimeout(HotelTV.hal.Reboot, 20000);
|
setTimeout(HotelTV.hal.Reboot, 29000);
|
||||||
HotelTV.ui_utils.ShowErrMsg(true,
|
HotelTV.ui_utils.ShowErrMsg(true,
|
||||||
"system.info.change-configuration",
|
"system.info.change-configuration",
|
||||||
"SYSTEM INFO",
|
"SYSTEM INFO",
|
||||||
|
|||||||
@@ -480,6 +480,7 @@ HotelTV.ui_appfull = (function() {
|
|||||||
*/
|
*/
|
||||||
function __uifxn_AppFull_OnHdmiConChangeEvt(_evt) {
|
function __uifxn_AppFull_OnHdmiConChangeEvt(_evt) {
|
||||||
let _state = HotelTV.state;
|
let _state = HotelTV.state;
|
||||||
|
let _devinfo = HotelTV.devinfo;
|
||||||
let _trTbl = HotelTV.translation;
|
let _trTbl = HotelTV.translation;
|
||||||
// {Number} param.index - index of the HDMI which was connected or disconnected.
|
// {Number} param.index - index of the HDMI which was connected or disconnected.
|
||||||
// {Boolean} param.connected - true if the HDMI is connected, else false.
|
// {Boolean} param.connected - true if the HDMI is connected, else false.
|
||||||
@@ -501,10 +502,15 @@ HotelTV.ui_appfull = (function() {
|
|||||||
_state.menu.stage.prev = _state.menu.stage.cur;
|
_state.menu.stage.prev = _state.menu.stage.cur;
|
||||||
_state.menu.stage.cur = "external_av_hdmi";
|
_state.menu.stage.cur = "external_av_hdmi";
|
||||||
_state.external_input.connected = true;
|
_state.external_input.connected = true;
|
||||||
_state.external_input.last_input.index = Number(_evt.index);
|
// NOTE: US741H0ND모델에서 HDMI셋팅 인덱스는 0부터, 이 부분은 LG에 문의 필요
|
||||||
|
if (_devinfo.model_name.includes("US761H0ND")) {
|
||||||
|
_state.external_input.last_input.index = Number(_evt.index);
|
||||||
|
} else {
|
||||||
|
_state.external_input.last_input.index = Number(_evt.index)-1;
|
||||||
|
}
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
$('body,html').fadeOut(500, function(){
|
$('body,html').fadeOut(500, function(){
|
||||||
let __retSuccess = HotelTV.hal.SetExternalInput("HDMI", Number(_evt.index));
|
let __retSuccess = HotelTV.hal.SetExternalInput("HDMI", _state.external_input.last_input.index);
|
||||||
if ( __retSuccess==false ){
|
if ( __retSuccess==false ){
|
||||||
_state.external_input.connected = false;
|
_state.external_input.connected = false;
|
||||||
_state.external_input.last_input.index = 0;
|
_state.external_input.last_input.index = 0;
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
width: 620px;
|
width: 620px;
|
||||||
height: 830px;
|
height: 830px;
|
||||||
color: rgb(255, 255, 255);
|
color: rgb(255, 255, 255);
|
||||||
background-color: rgba(50,40,26, 0.7);
|
background-color: rgba(0, 0, 0, 0.7);
|
||||||
padding: 0px 12px 0px 12px;
|
padding: 0px 12px 0px 12px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,6 +21,6 @@
|
|||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
background-color: rgba(50,40,26, 0.7);
|
background-color: rgba(19, 21, 23, 0.6);
|
||||||
color: rgb(255, 255, 255);
|
color: rgb(255, 255, 255);
|
||||||
}
|
}
|
||||||
@@ -133,7 +133,7 @@ div#sm_item_icon {
|
|||||||
width: 360px;
|
width: 360px;
|
||||||
height: 734px;
|
height: 734px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
background-color: rgba(50,40,26, 0.7);
|
background-color: rgba(0, 0, 0, 0.7);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ body {
|
|||||||
/* background-image: url(./images/bg_language_welcome_box.png);
|
/* background-image: url(./images/bg_language_welcome_box.png);
|
||||||
background-size: cover; */
|
background-size: cover; */
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background: linear-gradient(rgba(50,40,26,0.7),rgba(50,46,26,0.85));
|
background: linear-gradient(rgba(45,45,45,0.6),rgba(16,16,16,0.7));
|
||||||
border-radius: 11px;
|
border-radius: 11px;
|
||||||
filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
|
filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 615 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 714 B |
Reference in New Issue
Block a user