Compare commits
No commits in common. "1f53057b3f87790ef27c91399a5bb7e890f05549" and "e46b6804e2637ce911efdb379d30645de9948326" have entirely different histories.
1f53057b3f
...
e46b6804e2
@ -1,39 +0,0 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package simulation;
|
||||
|
||||
import "google/protobuf/any.proto";
|
||||
|
||||
// 仿真操作类型
|
||||
enum OperationType {
|
||||
// 未知
|
||||
Unknown = 0;
|
||||
// -------仿真控制操作--------
|
||||
// 暂停
|
||||
Pause = 1;
|
||||
// 恢复运行
|
||||
Unpause = 2;
|
||||
// 重置
|
||||
Reset = 3;
|
||||
// 设置运行速度
|
||||
SetSpeed = 4;
|
||||
// 销毁
|
||||
Destroy = 5;
|
||||
}
|
||||
|
||||
// 仿真操作
|
||||
message Operation {
|
||||
// 操作类型
|
||||
OperationType otype = 1;
|
||||
// 操作参数
|
||||
oneof param {
|
||||
// 设置仿真运行速度参数
|
||||
SetSpeedParam setSpeedParam = 2;
|
||||
}
|
||||
}
|
||||
|
||||
// 设置仿真运行速度参数
|
||||
message SetSpeedParam {
|
||||
// 运行速度
|
||||
float speed = 1;
|
||||
}
|
Loading…
Reference in New Issue
Block a user