From ec5a17066e8d7f4d42704c7f351aa8b8bc4bd12e Mon Sep 17 00:00:00 2001 From: Wycklife Date: Mon, 24 Aug 2020 17:49:48 +0300 Subject: [PATCH] Setting of an autofill for both tmax and tmin receivers --- instat/dlgClimaticCheckDataTemperature.vb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/instat/dlgClimaticCheckDataTemperature.vb b/instat/dlgClimaticCheckDataTemperature.vb index 0aa2c18c7c0..a36bbbf49aa 100644 --- a/instat/dlgClimaticCheckDataTemperature.vb +++ b/instat/dlgClimaticCheckDataTemperature.vb @@ -623,6 +623,11 @@ Public Class dlgClimaticCheckDataTemperature StrTmaxCol = frmMain.clsRLink.GetClimaticColumnOfType(StrDataFrame, "tmax_label") StrTminCol = frmMain.clsRLink.GetClimaticColumnOfType(StrDataFrame, "tmin_label") + If StrTmaxCol <> "" AndAlso StrTminCol <> "" Then + ucrReceiverElement1.Add(StrTmaxCol, StrDataFrame) + ucrReceiverElement2.Add(StrTminCol, StrDataFrame) + End If + End Sub Private Sub ucrReceiverStation_ControlValueChanged(ucrChangedControl As ucrCore) Handles ucrReceiverStation.ControlValueChanged