房间id - philips电视

时间:2016-08-08 08:29:48

标签: javascript settings lan television

如何通过网络阅读电视/电视设置的房间号。 我可以通过遥控器在电视上保存号码室 - >专业设置 - >房间号

我需要在合适的电视上展示一些东西。

更新

function Room(){ 
    var JAPITObjForWIXPSvc = new CreateJAPITObjectForWIXPSvc(); 
    JAPITObjForWIXPSvc.Cookie = 1040;   
    JAPITObjForWIXPSvc.CmdType = "Change"; 
    JAPITObjForWIXPSvc.Fun = "ProfessionalSettingsControl"; 
    JAPITObjForWIXPSvc.CommandDetails = { 
        "ProfessionalSettingsParameters" : [ "RoomID" ]  lert(RoomID);
    }; 
    sendWIxPCommand(JAPITObjForWIXPSvc); 
    delete JAPITObjForWIXPSvc; 
}

我不知道是否有好的路径,他需要拉电视的酒店数量我绝对肯定javascript帮助mi

2 个答案:

答案 0 :(得分:0)

function RoomId()
	{
				var JAPITObjForWIXPSvc = new CreateJAPITObjectForWIXPSvc();
				JAPITObjForWIXPSvc.Cookie         = 1040;
				JAPITObjForWIXPSvc.CmdType        = "Request";
				JAPITObjForWIXPSvc.Fun            = "RoomID";
				sendWIxPCommand(JAPITObjForWIXPSvc);
				delete JAPITObjForWIXPSvc;
	};

答案 1 :(得分:0)

function SetRoomRoom()
			{
				var JAPITObjForWIXPSvc = new CreateJAPITObjectForWIXPSvc();
				JAPITObjForWIXPSvc.Cookie         = 1040;
				JAPITObjForWIXPSvc.CmdType        = "Change";
				JAPITObjForWIXPSvc.Fun            = "ProfessionalSettingsControl";
				JAPITObjForWIXPSvc.CommandDetails = 
				{
				"ProfessionalSettingsParameters" :
				[
				"SwitchOnSource",
				"TVModel",
				"SerialNumber",
				"RoomID" : 0222,
				"NetworkSettings",
				"NetworkStatus",
				"PrimaryAudioLanguage",
				"PrimarySubtitleLanguage",
				"VolumeLimits",
				"SystemUIURL"]
	 
			sendWIxPCommand(JAPITObjForWIXPSvc);
			delete JAPITObjForWIXPSvc;
			);