Author: Andreas Vogler
Homepage: www.rocworks.at
Communication .Net client to WinCC Open Architecture.
Works fine with MonoTouch and Mono for Android!
GPLv3 License is used for the public domain.
If you plan to use it in a CLOSED SOURCE project,
please get in touch with me - andres.vogler@gmail.com !
Communication can be done directly with XMLRPC or with the included proxy:
* .net remoting is used for "commands" from the client to the proxy (dpConnect, dpQueryConnect).
* tcp (xml over tcp) for sending unsolicited data/events from the proxy to the client.
The proxy also acts as a distributor - if clients have the same dp(Query)Connects,
the connects are done once, and the proxy will forward it to the clients.
Easy example for a dpQueryConnect with a delegate:
client.DpQueryConnectSingle((object s, ArrayList a) => {
Console.WriteLine("event!);
}, "SELECT '_online.._value', '_online.._stime' FROM '*.**'");