添加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;
//
enum Role {
//
Role_Unknown = 0;
//
Role_Admin = 1;
//
Role_User = 2;
}
//
message Canvas {
//
@ -68,10 +78,6 @@ enum DataType {
DataType_Unknown = 0;
//
DataType_Em = 1;
// IBP数据
DataType_Ibp = 2;
// PSL数据
DataType_Psl = 3;
// ISCS数据
DataType_Iscs = 4;
}
@ -80,15 +86,15 @@ enum IscsStyle {
//
IscsStyle_Unknown = 0;
// 线
DaShiZhiNeng = 1;
IscsStyle_DaShiZhiNeng = 1;
}
//
enum FeatureType {
//
FeatureType_Unknown = 0;
// 仿
FeatureType_Simulation = 1;
// 仿(Urban Rail)
FeatureType_Ur = 1;
//
FeatureType_RunPlan = 2;
}