NumorMessages.proto 687 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
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;
}

29
message Result {
30
31

	required InstrumentParameters parameters = 1;
32
33
34
35
36
37
38
39
	required string type = 2;
}

message Response {

	required string scatterModelType = 1;
	required double sampleRadius = 2;
	repeated Result results = 3;
40
}