Skip to content

Commit 200b45c

Browse files
committed
winapp rtknavi: enable solution processing options
The rtksvr can now output the processing options in the header. Sync with the qt app which recently enabled this. Also enable the solution format in the options tab, as even though it is not used by rtksvr it is used to gate the other options enabled and those options may be used. The solution format rather comes from the output streams, specific to each output stream. The user it left to sync these options. This also syncs with the qt app.
1 parent d180a49 commit 200b45c

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

app/winapp/rtknavi/naviopt.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,12 +1145,12 @@ void __fastcall TOptDialog::UpdateEnable(void)
11451145
BaselineLen ->Enabled=BaselineConst->Checked&&PosMode->ItemIndex==PMODE_MOVEB;
11461146
BaselineSig ->Enabled=BaselineConst->Checked&&PosMode->ItemIndex==PMODE_MOVEB;
11471147

1148-
OutputHead ->Enabled=SolFormat->ItemIndex!=3;
1149-
OutputOpt ->Enabled=false;
1150-
TimeFormat ->Enabled=SolFormat->ItemIndex!=3;
1151-
TimeDecimal ->Enabled=SolFormat->ItemIndex!=3;
1148+
OutputHead ->Enabled=SolFormat->ItemIndex<3;
1149+
OutputOpt ->Enabled=SolFormat->ItemIndex<3;
1150+
TimeFormat ->Enabled=SolFormat->ItemIndex<3;
1151+
TimeDecimal ->Enabled=SolFormat->ItemIndex<3;
11521152
LatLonFormat ->Enabled=SolFormat->ItemIndex==0;
1153-
FieldSep ->Enabled=SolFormat->ItemIndex!=3;
1153+
FieldSep ->Enabled=SolFormat->ItemIndex<3;
11541154
OutputSingle ->Enabled=PosMode->ItemIndex!=0;
11551155
OutputDatum ->Enabled=SolFormat->ItemIndex==0;
11561156
OutputHeight ->Enabled=SolFormat->ItemIndex==0;

app/winapp/rtknavi/naviopt.dfm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,6 @@ object OptDialog: TOptDialog
840840
Width = 152
841841
Height = 21
842842
Style = csDropDownList
843-
Enabled = False
844843
ItemIndex = 0
845844
TabOrder = 0
846845
Text = 'Lat/Lon/Height'
@@ -947,7 +946,6 @@ object OptDialog: TOptDialog
947946
Width = 75
948947
Height = 21
949948
Style = csDropDownList
950-
Enabled = False
951949
ItemIndex = 0
952950
TabOrder = 2
953951
Text = 'OFF'

0 commit comments

Comments
 (0)