25 lines
323 B
Protocol Buffer
25 lines
323 B
Protocol Buffer
syntax = "proto3";
|
|
package cmvr.config;
|
|
|
|
message MyAgvConfig {
|
|
string id = 1;
|
|
string ip = 2;
|
|
int32 port = 3;
|
|
}
|
|
|
|
message AGVDeviceConfig {
|
|
string id = 1;
|
|
|
|
oneof backend {
|
|
MyAgvConfig my_agv = 10;
|
|
}
|
|
}
|
|
|
|
message AGVConfig {
|
|
repeated AGVDeviceConfig agvs = 1;
|
|
}
|
|
|
|
message AGVRootConfig {
|
|
AGVConfig agv = 1;
|
|
}
|