Commit 92f6ad9e authored by yannick legoc's avatar yannick legoc
Browse files

Added type in numor request of D22AutoConfig

parent d3286b86
......@@ -259,6 +259,8 @@ void AutoConfig::start() {
request.mutable_parameters()->set_wavelength(m_d22settings->wavelengthPosition.setpoint());
request.mutable_parameters()->set_collimation(m_d22settings->colSetupPosition.setpoint());
request.set_type(wantedType());
request.set_samplemodel(m_simulation->displaySampleModelName());
request.set_backgroundmodel(m_simulation->displayBackgroundModelName());
request.set_samplebackground(getSampleBackground());
......
......@@ -29,15 +29,16 @@ message NumorRequest {
required string instrumentName = 1;
required InstrumentParameters parameters = 2;
required string type = 3;
required string sampleModel = 3;
required string backgroundModel = 4;
required string sampleModel = 4;
required string backgroundModel = 5;
required double sampleBackground = 5;
required double sampleBackground = 6;
required int32 xSize = 6;
required int32 ySize = 7;
required bytes data = 8;
required int32 xSize = 7;
required int32 ySize = 8;
required bytes data = 9;
}
message Result {
......
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