Added poller delay

- added downstream and upstream speeds
- refactored SerialQueue
- counted version up to 0.5.5
This commit is contained in:
Felix Weiß
2022-09-21 16:24:00 +02:00
parent 45a9fa0520
commit 6f8f891760
5 changed files with 88 additions and 42 deletions

View File

@@ -79,6 +79,14 @@ class Program {
//set the current second to the PLCs TIME register
interf.SetRegister(nameof(registers.TestTime), TimeSpan.FromSeconds(DateTime.Now.Second));
while(true) {
Console.WriteLine($"Speed UP: {interf.BytesPerSecondUpstream} B/s");
Console.WriteLine($"Speed DOWN: {interf.BytesPerSecondDownstream} B/s");
await Task.Delay(1000);
}
});
}