cosed #9 Done.

This commit is contained in:
Paul Kim
2023-02-15 02:19:51 +09:00
parent 4fd1762d4b
commit c5c22a5897
5 changed files with 521 additions and 208 deletions

View File

@@ -36,6 +36,12 @@ var HotelTV = HotelTV || {
'prev': null,
},
},
'flight': {
'cur_location': null,
},
'weather': {
'default_location': null,
},
'media': {
'playing': false,
},
@@ -609,10 +615,10 @@ HotelTV.LoadAppFull = async function() {
}
} else if (recvMsg.event == "update_flight") {
if (recvMsg.ret === "OK") {
HotelTV.flight = { "count": recvMsg.data.count, "info": recvMsg.data.items };
HotelTV.flight =recvMsg.data;
}
} else if (recvMsg.event == "update_weather") {
//
} else if (recvMsg.event == "update_report") {
HotelTV.hcap.GetUptime();
HotelTV.hcap.GetDeviceUsage().then(_usage => {