Files
MoGoEagleEye/libraries/mogo-adas-data/src/main/proto/sweeper/sweeper_task_stop.proto

41 lines
775 B
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
syntax = "proto3";
package com.zhjt.mogo.adas.data.sweeper.task.stop;
/**** 4、云端请求pad结束任务 (type100004) ****/
//4.1、请求信息
// 任务状态
enum StopTaskType {
TIMEOUT = 0; //超时结束
ADVANCE = 1; // 提前结束
NORMAL = 2; // 正常结束
}
/**
云端结束任务请求
*/
message StopTaskReq {
string sn = 1;// sn
string taskId = 2;// 大任务ID
StopTaskType type = 3; //任务结束类型
}
//4.2、响应信息
// 响应状态
enum StopTaskCode {
MANUAL_CONFIRM = 0; // 安全员确认
MANUAL_REFUSE = 1; // 安全员拒绝
OVER_TIME = 2; // 超时未确认
}
/**
结束任务响应
*/
message StopTaskResp {
string sn = 1;// sn
string taskId = 2;// 大任务编号
StopTaskCode code = 3; //响应状态
}