mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-25 11:36:35 +08:00
阶段性提交
This commit is contained in:
17
pkg/rpc/protos/models/model_metric_item.proto
Normal file
17
pkg/rpc/protos/models/model_metric_item.proto
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
// 指标定义
|
||||
message MetricItem {
|
||||
int64 id = 1;
|
||||
bool isOn = 2;
|
||||
string code = 3;
|
||||
string category = 4;
|
||||
string name = 5;
|
||||
repeated string keys = 6;
|
||||
int32 period = 7;
|
||||
string periodUnit = 8;
|
||||
string value = 10;
|
||||
}
|
||||
Reference in New Issue
Block a user