Skip to content

Commit 40dbfad

Browse files
committed
Add Delay time search robots
1 parent 3ebe3bc commit 40dbfad

File tree

8 files changed

+4
-5
lines changed

8 files changed

+4
-5
lines changed

.vs/AbbBackup/v17/.suo

-1 KB
Binary file not shown.

.vs/AbbBackup/v17/DocumentLayout.backup.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"RelativeDocumentMoniker": "Program.cs",
8484
"ToolTip": "C:\\Users\\alecabellec\\source\\repos\\tonycab\\AbbBackup\\Program.cs",
8585
"RelativeToolTip": "Program.cs",
86-
"ViewState": "AgIAADkAAAAAAAAAAAAYwEEAAAA6AAAAAAAAAA==",
86+
"ViewState": "AgIAABcAAAAAAAAAAAAAwCUAAAAfAAAAAAAAAA==",
8787
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
8888
"WhenOpened": "2025-01-02T10:59:05.419Z",
8989
"EditorCaption": ""

.vs/AbbBackup/v17/DocumentLayout.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"RelativeDocumentMoniker": "Program.cs",
8484
"ToolTip": "C:\\Users\\alecabellec\\source\\repos\\tonycab\\AbbBackup\\Program.cs",
8585
"RelativeToolTip": "Program.cs",
86-
"ViewState": "AgIAADkAAAAAAAAAAAAYwEEAAAA6AAAAAAAAAA==",
86+
"ViewState": "AgIAAIEAAAAAAAAAAAAYwNYAAAANAAAAAAAAAA==",
8787
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
8888
"WhenOpened": "2025-01-02T10:59:05.419Z",
8989
"EditorCaption": ""

Program.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ static private bool ScanReseau(NetworkScanner scanner)
3434
{
3535
//Scan les robots présents sur le réseau
3636
scanner.Scan();
37+
Console.WriteLine($"Search robots");
3738

38-
Thread.Sleep(2000);
39+
Thread.Sleep(5000);
3940

4041
//Fin du programme si pas de robot détecté
4142
if (scanner.Controllers.Where(p => !p.IsVirtual).ToList().Count() == 0)
@@ -47,8 +48,6 @@ static private bool ScanReseau(NetworkScanner scanner)
4748

4849
static void Main(string[] args)
4950
{
50-
51-
5251
//Pour quitter l'appli
5352
bool Cancel = false;
5453
Console.CancelKeyPress += delegate (object sender, ConsoleCancelEventArgs e)

bin/Debug/AbbBackup.exe

0 Bytes
Binary file not shown.

bin/Debug/AbbBackup.pdb

2 KB
Binary file not shown.

obj/Debug/AbbBackup.exe

0 Bytes
Binary file not shown.

obj/Debug/AbbBackup.pdb

2 KB
Binary file not shown.

0 commit comments

Comments
 (0)