NumorMessages.proto 636 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package lssautoconfig;

option optimize_for = LITE_RUNTIME;


message InstrumentParameters {

	required double distance = 1;
	required double wavelength = 2;
	required double collimation = 3;
}

message NumorRequest {

	required string instrumentName = 1;
	required InstrumentParameters parameters = 2;

	enum Type {
		SampleModel = 1;
		Background = 2;
	}

	required Type type = 3;
	required int32 xSize = 4;
	required int32 ySize = 5;
	required bytes data = 6;
}

message Response {

	required InstrumentParameters parameters = 1;
	required string scatterModelType = 2;
	required string type = 3;
	required double sampleRadius = 4;
}