添加Role枚举,调整几个枚举定义

This commit is contained in:
soul-walker 2024-09-26 20:22:16 +08:00
parent 92fd4fa663
commit 02d9ad3b44

View File

@ -2,6 +2,16 @@ syntax = "proto3";
package common; package common;
//
enum Role {
//
Role_Unknown = 0;
//
Role_Admin = 1;
//
Role_User = 2;
}
// //
message Canvas { message Canvas {
// //
@ -68,10 +78,6 @@ enum DataType {
DataType_Unknown = 0; DataType_Unknown = 0;
// //
DataType_Em = 1; DataType_Em = 1;
// IBP数据
DataType_Ibp = 2;
// PSL数据
DataType_Psl = 3;
// ISCS数据 // ISCS数据
DataType_Iscs = 4; DataType_Iscs = 4;
} }
@ -80,15 +86,15 @@ enum IscsStyle {
// //
IscsStyle_Unknown = 0; IscsStyle_Unknown = 0;
// 线 // 线
DaShiZhiNeng = 1; IscsStyle_DaShiZhiNeng = 1;
} }
// //
enum FeatureType { enum FeatureType {
// //
FeatureType_Unknown = 0; FeatureType_Unknown = 0;
// 仿 // 仿(Urban Rail)
FeatureType_Simulation = 1; FeatureType_Ur = 1;
// //
FeatureType_RunPlan = 2; FeatureType_RunPlan = 2;
} }