issue #10 HDMI입력시 화면 전환 기능 추가. Welcome에서 MQTT메시지 처리 로직 추가.
This commit is contained in:
@@ -139,6 +139,29 @@ HotelTV.ui_utils = (function() {
|
||||
}
|
||||
},
|
||||
|
||||
ShowSysNoticeMsg: function(_show, _type, _title, _msg, _cdn_obj) {
|
||||
if (_show) {
|
||||
$('.error').css('background-color', '#000000').css('opacity', 0.8);
|
||||
if ( _type == "notice"){
|
||||
$('.error #details #message').addClass("notice");
|
||||
}
|
||||
$('.error #details #title').text(_title);
|
||||
$('.error #details #message').text(_msg);
|
||||
$('.error').fadeIn(500);
|
||||
if (_cdn_obj) {
|
||||
setTimeout(function(){
|
||||
var dt = new Date();
|
||||
dt.setSeconds(dt.getSeconds() + Number(_cdn_obj.timeout));
|
||||
__uiFxn_TmrCDnErrScreen(dt, _cdn_obj.cb_disp, _cdn_obj.cb_eoe);
|
||||
}, 5000);
|
||||
}
|
||||
} else {
|
||||
$('.error').fadeOut(500, function() {
|
||||
$(this).css("background-image", "None");
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
GetCur_DateTime: function() {
|
||||
let week = ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'];
|
||||
let cd = new Date();
|
||||
|
||||
Reference in New Issue
Block a user