线路模拟订阅数据

This commit is contained in:
tiger_zhou 2023-06-26 09:56:38 +08:00
parent 6f2622cd7f
commit 911d1999d0

View File

@ -3,6 +3,21 @@ syntax = "proto3";
package state; //
option java_package = "club.joylink.xiannccda.dto.protos";
option java_outer_classname = "DeviceStatusProto";
enum DeviceType{
UNKNOW = 0;
RTU = 1;
STATION = 2;
SIGNAL = 3;
SWITCH = 4;
TRACK = 5;
ENTRY = 6;
PLATFORM = 7;
SCADA = 8;
WATERPROOF_DOOR = 9;
WORK_AREA = 10;
GAMA = 11;
}
message Rtu{
bool ipRtuStusDown = 1;
@ -339,6 +354,8 @@ message Train {
//
int64 departTime = 30;
//
bool type = 31;
}