89 mnIDCancel = wxID_HIGHEST + 1,
91 mnIDTmpUseStudyUserDir,
95 mnIDUpdateFileMapping,
119 void info(
const Yuni::NullPtr&);
120 void info(
const AnyString& text);
129 void enableAnalyzer(
bool v);
139 bool saveToFile(
const Yuni::String& filename)
const;
141 const Yuni::String& analyzerInfoFile()
const
143 return pInfoFilename;
146 void analyzerInfoFile(
const Yuni::String& f)
152 void onCancel(
void*);
153 void onProceed(
void*);
155 void onBrowse(
void*);
156 void onBrowseMenu(Component::Button&, wxMenu& menu,
void*);
157 void onBrowseRefresh(wxCommandEvent&);
158 void onBrowseOpenInExplorer(wxCommandEvent&);
159 void onBrowseReset(wxCommandEvent&);
161 void onSelectTimeseries(Component::Button&, wxMenu& menu,
void*);
162 void onSelectTSLoad(wxCommandEvent&);
163 void onSelectTSWind(wxCommandEvent&);
164 void onSelectTSSolar(wxCommandEvent&);
166 void onBrowseTemp(
void* evt);
167 void evtUpdateInfo(wxCommandEvent& evt);
168 void evtUpdateFileMapping(wxCommandEvent& evt);
169 void evtGridUpdate(wxCommandEvent& evt);
170 void evtCanRunAnalyzer(wxCommandEvent& evt);
171 void evtTemporaryPathSelectorChanged(wxCommandEvent& evt);
172 void evtLimitsChanged(wxCommandEvent& evt);
173 void updateInfoForTempFolder();
174 void updateMaxTimeseries();
176 void browseDataFolder(
const wxString& p);
178 void enableAll(
bool v);
180 void beforeUpdate(
int,
int);
181 void afterUpdate(
int,
int);
184 Yuni::Event<void(
bool, uint)> onUpdateMaxTimeseries;
185 Yuni::Event<void(Data::TimeSeriesType)> onUpdateTimeseriesType;
189 Yuni::Event<void()> onFileSearchClear;
190 Yuni::Event<void(
const Yuni::String&)> onFileSearchAdd;
193 Yuni::String pInfoFilename;
195 wxTextCtrl* pPathTemp;
197 wxButton* pBtnBrowseTemp;
198 wxCheckBox* pAutoClean;
199 wxRadioButton* pTmpUseDefault;
200 wxRadioButton* pTmpUseStudyUserDir;
201 wxRadioButton* pTmpUseCustom;
202 wxStaticText* pLblInfo;
203 wxStaticText* pLblCleanInfo;
205 wxTimer* pRefreshTimer;
206 wxTimer* pProceedTimer;
208 wxCheckBox* pCbMaxTimeseries;
209 wxCheckBox* pCbUpperBound;
210 wxCheckBox* pCbLowerBound;
212 wxTextCtrl* pEdShortTermAutoCorr;
213 wxTextCtrl* pEdMediumTermAutoCorr;
215 wxTextCtrl* pEdMaxTimeseries;
216 wxTextCtrl* pEdLowerBound;
217 wxTextCtrl* pEdUpperBound;
219 Yuni::Thread::IThread* pAnalyzeSource;
220 Yuni::Thread::IThread* pCheckRelationship;
223 Component::Spotlight* pFileSearch;
225 Data::TimeSeriesType pTSSelected;
226 Component::Button* pTSSelector;
231 RendererType* pRenderer;
233 std::shared_ptr<FileSearchProvider> mProvider;
235 DECLARE_EVENT_TABLE()