mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Added poller delay
- added downstream and upstream speeds - refactored SerialQueue - counted version up to 0.5.5
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user