Former-commit-id: 53692d21c356511ea5076b24b0c21459055d7dec
Former-commit-id: 50838090fd90e819e8b2a4505da9cf29901f1d82
TSXN
wanggang 5 years ago
parent b257395d65
commit 50571daf72

@ -32,4 +32,50 @@ namespace IoTNode
.Run();
}
}
}
}
/*
1.
1
2
3checksum
4
5
6:ui, db->start
7
8
9
2.
1
2checksum
3
4
5
6
*/
/*
/// <summary>
/// <PackageReference Include="Kveer.XmlRPC" Version="1.1.1" />
/// http://www.xml-rpc.net/faq/xmlrpcnetfaq-2-5-0.html#2.5
/// http://supervisord.org/api.html
/// </summary>
[XmlRpcUrl("http://iot.edusoa.com:8003/RPC2")]
public interface ISupervisor : IXmlRpcProxy
{
[XmlRpcMethod("system.listMethods")]
string SystemListMethods(int stateNumber);
}
class Program
{
static void Main(string[] args)
{
var proxy = XmlRpcProxyGen.Create<ISupervisor>();
proxy.Credentials = new NetworkCredential("usr", "pwd");
var list = proxy.SystemListMethods();
foreach (var item in list)
{
Console.WriteLine(item);
}
}
}
*/
Loading…
Cancel
Save