Files
EdgeCommon/pkg/rpc/protos/models/model_node_threshold.proto

22 lines
393 B
Protocol Buffer
Raw Normal View History

2021-05-04 21:02:21 +08:00
syntax = "proto3";
option go_package = "./pb";
package pb;
2021-05-05 19:51:46 +08:00
import "models/model_node.proto";
2021-05-04 21:02:21 +08:00
message NodeThreshold {
int64 id = 1;
int64 clusterId = 2;
2021-05-05 19:51:46 +08:00
Node node = 3;
2021-05-04 21:02:21 +08:00
string item = 4;
string param = 5;
string operator = 6;
bytes valueJSON = 7;
string message = 8;
int32 duration = 9;
string durationUnit = 10;
string sumMethod = 11;
bool isOn = 12;
2021-05-05 19:51:46 +08:00
int32 notifyDuration = 13;
2021-05-04 21:02:21 +08:00
}