40 lines
653 B
Protocol Buffer
40 lines
653 B
Protocol Buffer
syntax = "proto3";
|
|
package cmvr.config;
|
|
|
|
message MyAgvConfig {
|
|
string id = 1;
|
|
string ip = 2;
|
|
int32 port = 3;
|
|
}
|
|
|
|
message Src1100AgvConfig {
|
|
string id = 1;
|
|
string ip = 2;
|
|
bool enable = 3;
|
|
int32 port_status = 4;
|
|
int32 port_control = 5;
|
|
int32 port_nav = 6;
|
|
int32 port_config = 7;
|
|
int32 port_other = 8;
|
|
int32 port_push = 9;
|
|
int32 connect_timeout_ms = 10;
|
|
int32 recv_timeout_ms = 11;
|
|
}
|
|
|
|
message AGVDeviceConfig {
|
|
string id = 1;
|
|
|
|
oneof backend {
|
|
MyAgvConfig my_agv = 10;
|
|
Src1100AgvConfig src1100_agv = 11;
|
|
}
|
|
}
|
|
|
|
message AGVConfig {
|
|
repeated AGVDeviceConfig agvs = 1;
|
|
}
|
|
|
|
message AGVRootConfig {
|
|
AGVConfig agv = 1;
|
|
}
|