http://www.youtube.com/watch?v=k_55xCzwWrQ&feature=player_embedded#!
Functions implemented in C# for WinCC OA communication can also be used to build Android Apps with Mono for Android from Xamarin – http://xamarin.com
http://www.youtube.com/watch?v=k_55xCzwWrQ&feature=player_embedded#!
Functions implemented in C# for WinCC OA communication can also be used to build Android Apps with Mono for Android from Xamarin – http://xamarin.com
http://sourceforge.net/projects/roc-winccoa-lib/?source=directory
Communication can be done directly with XMLRPC or with the included proxy:
The proxy also acts as a distributor – if clients have the same dp(Query)Connects,
the connects in the control are done once, and the proxy will forward it to the clients.
Added functions for dpConnects without using “Tag” Objects (the Tag objects where created for
mobile clients). Now it is easy to create for example a dpQueryConnect. The callback function
is just a C# delegate:
// create server and client objects
client = new WCCOAClient (ProxyHost, ProxyRemotePort, ProxyClientPort);
// start and connect
client.Start ();
client.Connect ();
client.DpQueryConnectSingle((object s, ArrayList a) => {
WCCOABase.PrintArrayList(a);
}, “SELECT ‘_online.._value’, ‘_online.._stime’ FROM ‘*.**'”);
The proxy (WCCOANetServer.exe) must be started on a server (can, but must not be, the WCCOA Server).
Works fine with MonoTouch and Mono for Android!
WinCC Open Architecture must run the included Ctrl-Script xmlnet_server.ctl
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 !