38 lines
690 B
Protocol Buffer
38 lines
690 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package alert;
|
|
|
|
import "alertConst.proto";
|
|
|
|
//模型的可变的状态数据
|
|
//import "LineNetTrainOffsetDiagram.proto";
|
|
option java_package = "club.joylink.xiannccda.dto.protos";
|
|
option java_outer_classname = "NccAlertInfoMessageProto";
|
|
|
|
message NccAlertInfoMessage {
|
|
message Message {
|
|
string id = 1;
|
|
|
|
string level = 2;
|
|
|
|
string alert_time = 3;
|
|
|
|
int32 alert_tip_id = 4;
|
|
|
|
int32 line_id = 5;
|
|
|
|
string alert_object = 6;
|
|
|
|
AlertType alert_type = 7;
|
|
|
|
string locator_device_id = 8;
|
|
//区域id
|
|
int64 alert_location_id = 9;
|
|
bool mock = 10;
|
|
//线路类型 occ/ncc
|
|
string line_type = 11;
|
|
}
|
|
|
|
repeated Message messages = 1;
|
|
}
|