Repair and add SignalR

master
Jan Beníček 2024-01-16 12:52:40 +01:00
parent d2f3cbc783
commit 7534cb62f9
1 changed files with 5 additions and 0 deletions

View File

@ -41,6 +41,11 @@ namespace Libs_SequentMicrosystems
throw new IOException($"Fail to communicate with the RTD card with message: \"{e.Message}\"");
}
if (val < 0)
{
val = 0;
}
return val;
}