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

46 lines
1.0 KiB
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 {
DEFAULT_TYPE = 0; // 无效值
TIMEOUT = 1; //超时结束(无效值)
ADVANCE = 2; // 提前结束
NORMAL = 3; // 正常结束
EXCEPTION = 4; // 异常结束(新增)
}
/**
云端结束任务请求
*/
message StopTaskReq {
string sn = 1;// sn
string taskId = 2;// 大任务ID
StopTaskType type = 3; //任务结束类型
bool isPop = 4; // 是否弹窗
}
//4.2、响应信息
// 响应状态
enum StopTaskCode {
DEFAULT_CODE = 0; // 无效值
MANUAL_CONFIRM = 1; // 安全员确认(无效值)
MANUAL_REFUSE = 2; // 安全员拒绝(无效值)
OVER_TIME = 3; // 超时未确认(无效值)
RECEIVED = 4; // 收到结束指令(新增)
}
/**
结束任务响应
*/
message StopTaskResp {
string sn = 1;// sn
string taskId = 2;// 大任务编号
StopTaskCode code = 3; //响应状态
}