Exemple #1
0
                public void GetDeviceStatus(Object client)
                {
                    NodeDiscovery.DeviceInfoService.DeviceInfoServiceClient dsclient = (NodeDiscovery.DeviceInfoService.DeviceInfoServiceClient)client;


                    NodeDiscovery.DeviceInfoService.StatusMessage msg = dsclient.GetNodeStatus();
                    Console.WriteLine("Device Status: Desc: {0} Ready: {1}", msg.description, msg.ready);
                }
Exemple #2
0
 public void StopNode(Object client)
 {
     NodeDiscovery.DeviceInfoService.DeviceInfoServiceClient dsclient = (NodeDiscovery.DeviceInfoService.DeviceInfoServiceClient)client;
     dsclient.StopNode();
 }