Esempio n. 1
0
 protected override RequestInfo[] GetRequests()
 {
     return(new RequestInfo[] {
         RequestInfo.GenRequest("POST",
                                string.Format(REQUEST_FS, Zone.Name, Zone.Volume.RawValue, Zone.Volume.Exp, Zone.Volume.Unit))
     });
 }
Esempio n. 2
0
 protected override RequestInfo[] GetRequests()
 {
     return(new RequestInfo[] {
         RequestInfo.GenRequest("POST", string.Format(@"<YAMAHA_AV cmd=""GET""><{0}><Basic_Status>GetParam</Basic_Status></{0}></YAMAHA_AV>", Zone.Name)),
         RequestInfo.GenRequest("POST", string.Format(@"<YAMAHA_AV cmd=""GET""><{0}><Config>GetParam</Config></{0}></YAMAHA_AV>", Zone.Name)),
         RequestInfo.GenRequest("POST", string.Format(@"<YAMAHA_AV cmd=""GET""><{0}><Input><Input_Sel_Item>GetParam</Input_Sel_Item></Input></{0}></YAMAHA_AV>", Zone.Name)),
     });
 }
Esempio n. 3
0
 protected override RequestInfo[] GetRequests()
 {
     return(new RequestInfo[] {
         RequestInfo.GenRequest("POST", RequestString),
     });
 }
Esempio n. 4
0
 protected override RequestInfo[] GetRequests()
 {
     return(new RequestInfo[] {
         RequestInfo.GenRequest("GET", string.Empty, "YamahaRemoteControl/desc.xml"),
     });
 }
Esempio n. 5
0
 protected override RequestInfo[] GetRequests()
 {
     return(new RequestInfo[] {
         RequestInfo.GenRequest("POST", string.Format(@"<YAMAHA_AV cmd=""PUT""><{0}><Scene><Scene_Sel>{1}</Scene_Sel></Scene></{0}></YAMAHA_AV>", Zone.Name, Scene.Name)),
     });
 }
Esempio n. 6
0
 protected override RequestInfo[] GetRequests()
 {
     return(new RequestInfo[] {
         RequestInfo.GenRequest("POST", string.Format(@"<YAMAHA_AV cmd=""PUT""><{0}><Input><Input_Sel>{1}</Input_Sel></Input></{0}></YAMAHA_AV>", Zone.Name, Input.Param)),
     });
 }