Exemple #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))
     });
 }
Exemple #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)),
     });
 }
Exemple #3
0
 protected override RequestInfo[] GetRequests()
 {
     return(new RequestInfo[] {
         RequestInfo.GenRequest("POST", RequestString),
     });
 }
Exemple #4
0
 protected override RequestInfo[] GetRequests()
 {
     return(new RequestInfo[] {
         RequestInfo.GenRequest("GET", string.Empty, "YamahaRemoteControl/desc.xml"),
     });
 }
Exemple #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)),
     });
 }
Exemple #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)),
     });
 }