非实时消息

This commit is contained in:
tiger_zhou 2023-06-09 17:55:34 +08:00
parent d092c82311
commit 0bcc9d223a
3 changed files with 200 additions and 231 deletions

View File

@ -1,41 +0,0 @@
syntax = "proto3";
option java_package = "club.joylink.xiannccda.dto.protos";
option java_outer_classname = "DeviceProto";
message Device{
int32 lineId = 1;
int32 reportId = 2;
}
message DeviceDetail{
string deviceType = 1;
string deviceName = 2;
// int32 status = 3;
}
message Track{
Device device = 1;
DeviceDetail detail = 2;
//
float speedLimit = 3;
//
// 1CBTC限速
// 2
// 4
int32 limitType = 4;
}
message Platform{
Device device = 1;
DeviceDetail detail = 2;
//
int32 stopTime = 3;
}
message Switch{
Device device = 1;
DeviceDetail detail = 2;
//
float speedLimit = 3;
}

View File

@ -11,16 +11,18 @@ message LineNetTrainOffset{
//
int32 dir = 3;
// true-false-
bool initType = 4;
// bool initType = 4;
//
int32 offset = 5;
// int32 offset = 5;
//id
int32 destinationId = 6;
// int32 destinationId = 6;
//
int32 backId = 7;
// int32 backId = 7;
//
bool show = 8;
//
float rate = 9;
//
int32 windowNo = 9;
//
int32 windowOffset = 10;
}

View File

@ -126,6 +126,14 @@ message Track{
bool blocked = 11;
//
string id = 12;
//
float speedLimit = 13;
//
// 1CBTC限速
// 2
// 4
int32 limitType = 14;
}
message Platform{