Commit 5822627d authored by Guanghan Song's avatar Guanghan Song
Browse files

added spy view for lss_simulation and updated information for spy AutoConfig

parent 9f83c043
......@@ -343,19 +343,24 @@ void AutoConfig::start() {
commandProgression = 50;
if (status == "ERROR") {
commandStatus.setError();
log(Level::s_Error) << "No prediction" << endlog;
wantedDistance = distance.get(0);
wantedWavelength = wavelength.get(0);
wantedCollimation = collimation.get(0);
commandStatus.setError();
}
else {
log(Level::s_Debug) << "Apply" << endlog;
apply();
commandStatus.setIdle();
}
// End progression.
commandProgression = 100;
commandStatus.setIdle();
log(Level::s_Info) << "Finished auto settings" << endlog;
}
......
......@@ -4,5 +4,6 @@
<settings view="remote_lss_simulationView.xml"/>
<command view="remote_lss_simulationCommandView.xml"/>
<spy view="remote_lss_simulationSpyView.xml"/>
</controller_plugin_config>
<plugin>
<controller type="remote_lss_simulation" role="remote_lss_simulation1"/>
<property_switcher role="remote_lss_simulation1" property="use_simulated_data" switcher_key="use_simulated_dataSwitcher" />
<switchable_composite switch_values="true" switcher_key="use_simulated_dataSwitcher">
<label role="remote_lss_simulation1" property="display_sample_model_name" prefix="remote_lss_simulation.display_model_namePrefix"/>
<newLine/>
<dynamic_composite role="remote_lss_simulation1" properties="display_sample_parameters_names,display_sample_parameters_values">
<composite>
<label role="remote_lss_simulation1" property="display_sample_parameters_names"/>
<label role="remote_lss_simulation1" property="display_sample_parameters_values"/>
</composite>
</dynamic_composite>
</switchable_composite>
</plugin>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment