54 if( !wxDialog::TransferDataFromWindow() )
62 for(
const auto& val : vref_values )
64 if( val->GetValue().IsEmpty() )
72 if( fabs( vref ) < 0.1 )
79 for(
const auto& val : iadj_values )
81 if( val->GetValue().IsEmpty() )
88 bool res = val->GetValue().ToInt( &iadj );
90 if(
res ==
false || fabs( iadj ) < 1 )
114 value.Printf( wxT(
"%.3g" ), aItem->
m_VrefMin );
116 value.Printf( wxT(
"%.3g" ), aItem->
m_VrefTyp );
118 value.Printf( wxT(
"%.3g" ), aItem->
m_VrefMax );
122 value.Printf( wxT(
"%.3g" ), aItem->
m_IadjTyp );
124 value.Printf( wxT(
"%.3g" ), aItem->
m_IadjMax );
150 vrefmax, type, iadjtyp, iadjmax );
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
Contains structures for storage of regulator data.
double DoubleFromString(const wxString &TextValue)