Esempio n. 1
0
 internal void Handle(GetAllDiagnosticsTasks input) {
    using (var dbConn = DatabaseManager.DbConn()) {
       var tasks = dbConn.ExecuteBpl(new DiagnosticsTaskGetAll());
       Reply(tasks);
    }
 }
      private void _listTasksRefresh() {
         _selectedTask = null;
         listTasks.Items.Clear();

         _selectedDevice = null;
         listDevices.Items.Clear();

         var req = new GetAllDiagnosticsTasks();
         SendRequest(req);
      }