Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
411c3b9635 |
@@ -993,6 +993,13 @@ HotelTV.hal = (function() {
|
||||
let _instant_pwr_target_mode = Number(_devconfig.system.misc.instantPower);
|
||||
if (_devinfo["instant_power"] != _instant_pwr_target_mode) {
|
||||
_pmFxnArProperty.push(__hcapfxn_set_property('instant_power', _instant_pwr_target_mode));
|
||||
}
|
||||
|
||||
if ( _instant_pwr_target_mode==2 || _instant_pwr_target_mode==1 ){
|
||||
if (_devinfo["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 ) {
|
||||
@@ -1022,13 +1029,6 @@ HotelTV.hal = (function() {
|
||||
}
|
||||
}
|
||||
|
||||
if ( _instant_pwr_target_mode==2 || _instant_pwr_target_mode==1 ){
|
||||
if (_devinfo["power_mode"] != hcap.power.PowerMode.WARM) {
|
||||
_pmFxnArProperty.push(__hcapfxn_set_powermode('power_mode', hcap.power.PowerMode.WARM));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// STEP#006::> SERVICE RELATED PARAMETERS
|
||||
for (let _cfg in _devconfig) {
|
||||
if (_cfg == 'video') {
|
||||
|
||||
@@ -480,6 +480,7 @@ HotelTV.ui_appfull = (function() {
|
||||
*/
|
||||
function __uifxn_AppFull_OnHdmiConChangeEvt(_evt) {
|
||||
let _state = HotelTV.state;
|
||||
let _devinfo = HotelTV.devinfo;
|
||||
let _trTbl = HotelTV.translation;
|
||||
// {Number} param.index - index of the HDMI which was connected or disconnected.
|
||||
// {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.cur = "external_av_hdmi";
|
||||
_state.external_input.connected = true;
|
||||
// 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(){
|
||||
$('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 ){
|
||||
_state.external_input.connected = false;
|
||||
_state.external_input.last_input.index = 0;
|
||||
|
||||
Reference in New Issue
Block a user