xian-ncc-da-message/protos/alertInfo.proto

33 lines
550 B
Protocol Buffer

syntax = "proto3";
package alert;
//模型的可变的状态数据
//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;
string info = 4;
int32 alert_tip_id = 5;
//故障设备信息
string device_info = 6;
//导致报警的原因
string reason = 7;
}
repeated Message messages = 1;
}