Skip to content

Commit

Permalink
Made suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
conlooptechnologies committed Jul 23, 2024
1 parent 53b237b commit d1af34c
Show file tree
Hide file tree
Showing 7 changed files with 336 additions and 112 deletions.
34 changes: 24 additions & 10 deletions instat/dlgClimSoft.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 12 additions & 3 deletions instat/dlgClimSoft.vb
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,16 @@ Public Class dlgClimSoft
ucrCboQCStatus.SetLinkedDisplayControl(lblSelectQCStatus)
'---------------------------------------

'Unstack data
'---------------------------------------
ucrChKUnstackData.SetText("Unstack Data")
ucrChKUnstackData.SetParameter(New RParameter("unstack_data", 13))
ucrChKUnstackData.SetRDefault("FALSE")
'---------------------------------------

'date range
'---------------------------------------
ucrChkDataDate.SetText("Select Data Date")
ucrChkDataDate.SetText("Select Dates")

ucrDtpStartDataDate.SetParameter(New RParameter("start_date", 6))
ucrDtpStartDataDate.SetParameterIsRDate()
Expand Down Expand Up @@ -147,7 +154,7 @@ Public Class dlgClimSoft
ucrPnlOptions.AddFunctionNamesCondition(rdoMetadata, frmMain.clsRLink.strInstatDataObject & "$import_climsoft_metadata")


ucrPnlOptions.AddToLinkedControls({ucrCboTable, ucrCboQCStatus, ucrSelectorForClimSoft, ucrReceiverMultipleStations, ucrReceiverMultipleElements, ucrCboStations, ucrCboElements, ucrChkDataDate},
ucrPnlOptions.AddToLinkedControls({ucrCboTable, ucrCboQCStatus, ucrSelectorForClimSoft, ucrReceiverMultipleStations, ucrReceiverMultipleElements, ucrCboStations, ucrCboElements, ucrChkDataDate, ucrChKUnstackData},
{rdoData}, bNewLinkedAddRemoveParameter:=False, bNewLinkedHideIfParameterMissing:=True)
ucrPnlOptions.AddToLinkedControls({ucrChkImportStationsMetadata, ucrChkImportElementsMetadata, ucrChkImportFlagsMetadata},
{rdoMetadata}, bNewLinkedAddRemoveParameter:=False, bNewLinkedHideIfParameterMissing:=True)
Expand All @@ -163,7 +170,7 @@ Public Class dlgClimSoft
'data command
'---------------------------------------
clsRImportClimsoftData.SetRCommand(frmMain.clsRLink.strInstatDataObject & "$import_climsoft_data")
clsRImportClimsoftData.AddParameter(strParameterName:="table", strParameterValue:=Chr(34) & "observationinitial" & Chr(34), iPosition:=0)
clsRImportClimsoftData.AddParameter(strParameterName:="table", strParameterValue:=Chr(34) & "observationfinal" & Chr(34), iPosition:=0)
clsRImportClimsoftData.AddParameter(strParameterName:="station_filter_column", strParameterValue:=Chr(34) & "stationId" & Chr(34), iPosition:=1)
clsRImportClimsoftData.AddParameter(strParameterName:="element_filter_column", strParameterValue:=Chr(34) & "elementId" & Chr(34), iPosition:=3)
'---------------------------------------
Expand Down Expand Up @@ -193,6 +200,8 @@ Public Class dlgClimSoft

ucrCboTable.SetRCode(clsRImportClimsoftData, bReset)

ucrChKUnstackData.SetRCode(clsRImportClimsoftData, bReset)

ucrCboQCStatus.SetRCode(clsRImportClimsoftData, bReset)

ucrDtpStartDataDate.SetRCode(clsRImportClimsoftData, bReset)
Expand Down
3 changes: 3 additions & 0 deletions instat/instat.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -3206,6 +3206,9 @@
<EmbeddedResource Include="dlgThreeVariablePivotTable.resx">
<DependentUpon>dlgThreeVariablePivotTable.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="sdgClimsoft.resx">
<DependentUpon>sdgClimsoft.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="sdgDefineAnnualRainfall.resx">
<DependentUpon>sdgDefineAnnualRainfall.vb</DependentUpon>
</EmbeddedResource>
Expand Down
Loading

0 comments on commit d1af34c

Please sign in to comment.