Bug fixes : (1) UniCB timing after a delay in worker thread (DB request), (2) Scales.MettlerToledo.ScaleCfg, ver. 3.1.1806

This commit is contained in:
Milan Hanajik
2021-11-11 13:32:54 +01:00
parent 335fce3e39
commit 51b3e994c3
4 changed files with 7 additions and 11 deletions
-8
View File
@@ -472,14 +472,6 @@ namespace TBF.Rig.ControlBoard.Uni
/// </summary>
public void RunDeviceAfter()
{
DateTime now = DateTime.Now;
if (now < lastSentTime + TimeSpan.FromSeconds(0.7) ||
(lastReceivedTime < lastSentTime && now < lastSentTime + TimeSpan.FromSeconds(1.7)))
{
log.Error("RunDeviceAfter() ... skipping too early write of a serial command or a data requect");
return;
}
///
/// Combine data from the current route and from UI
///