2023-06-30 17:54:27 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2023-07-14 17:42:53 +08:00
|
|
|
package alert;
|
2023-06-30 17:54:27 +08:00
|
|
|
|
2023-07-26 09:56:53 +08:00
|
|
|
import "alertConst.proto";
|
2023-06-30 17:54:27 +08:00
|
|
|
|
|
|
|
//模型的可变的状态数据
|
|
|
|
//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;
|
|
|
|
|
2023-07-14 15:23:54 +08:00
|
|
|
string alert_time = 3;
|
2023-06-30 17:54:27 +08:00
|
|
|
|
2023-07-24 16:19:49 +08:00
|
|
|
int32 alert_tip_id = 4;
|
2023-06-30 17:54:27 +08:00
|
|
|
|
2023-07-24 16:19:49 +08:00
|
|
|
int32 line_id = 5;
|
2023-07-17 16:00:28 +08:00
|
|
|
|
2023-07-24 16:19:49 +08:00
|
|
|
string alert_object = 6;
|
|
|
|
|
|
|
|
AlertType alert_type = 7;
|
|
|
|
|
|
|
|
string locator_device_id = 8;
|
2023-08-24 16:06:35 +08:00
|
|
|
//区域id
|
|
|
|
int64 alert_location_id = 9;
|
|
|
|
bool mock = 10;
|
2024-10-22 15:33:59 +08:00
|
|
|
//线路类型 occ/ncc
|
|
|
|
string line_type = 11;
|
2023-06-30 17:54:27 +08:00
|
|
|
}
|
2023-07-24 16:19:49 +08:00
|
|
|
|
2023-06-30 17:54:27 +08:00
|
|
|
repeated Message messages = 1;
|
|
|
|
}
|