Example #1
0
 public void StartLogging(Object client)
 {
     NodeDiscovery.DataLogging.DataLoggingServiceClient dlclient = (NodeDiscovery.DataLogging.DataLoggingServiceClient)client;
     NodeDiscovery.DataLogging.LoggingConfig            config   = new NodeDiscovery.DataLogging.LoggingConfig();
     config.rate     = NodeDiscovery.DataLogging.LoggingConfigRate.Item256;
     config.duration = "30";
     dlclient.StartLogging(config);
 }
Example #2
0
 public void Subscribe(Object client)
 {
     NodeDiscovery.DataLogging.DataLoggingServiceClient dlclient = (NodeDiscovery.DataLogging.DataLoggingServiceClient)client;
     dlclient.StartDownload();
 }
Example #3
0
 public void Erase(Object client)
 {
     NodeDiscovery.DataLogging.DataLoggingServiceClient dlclient = (NodeDiscovery.DataLogging.DataLoggingServiceClient)client;
     dlclient.Erase();
 }
Example #4
0
 public void GetSessions(Object client)
 {
     NodeDiscovery.DataLogging.DataLoggingServiceClient dlclient = (NodeDiscovery.DataLogging.DataLoggingServiceClient)client;
     NodeDiscovery.DataLogging.SessionInfo info = dlclient.GetSessionCount();
     Console.WriteLine("Session Count: {0}", info.count);
 }