From dc8ca60fc53199251100883b4370de52a6534463 Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期四, 22 八月 2019 14:01:53 +0800
Subject: [PATCH] soinfo id change to string
---
sysset.pb.go | 110 ++++++++++++++++++++++++++++++++-----------------------
1 files changed, 64 insertions(+), 46 deletions(-)
diff --git a/sysset.pb.go b/sysset.pb.go
index 3eeb7f2..f99dde2 100644
--- a/sysset.pb.go
+++ b/sysset.pb.go
@@ -36,6 +36,9 @@
Reserved string `protobuf:"bytes,13,opt,name=reserved,proto3" json:"reserved,omitempty"`
GateWay string `protobuf:"bytes,14,opt,name=gate_way,json=gateWay,proto3" json:"gate_way,omitempty"`
NetMask string `protobuf:"bytes,15,opt,name=net_mask,json=netMask,proto3" json:"net_mask,omitempty"`
+ RealMax int32 `protobuf:"varint,16,opt,name=real_max,json=realMax,proto3" json:"real_max,omitempty"`
+ AlarmThresholdType int32 `protobuf:"varint,17,opt,name=alarm_threshold_type,json=alarmThresholdType,proto3" json:"alarm_threshold_type,omitempty"`
+ AlarmThreshold int32 `protobuf:"varint,18,opt,name=alarm_threshold,json=alarmThreshold,proto3" json:"alarm_threshold,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -171,12 +174,32 @@
return ""
}
+func (m *LocalConfig) GetRealMax() int32 {
+ if m != nil {
+ return m.RealMax
+ }
+ return 0
+}
+
+func (m *LocalConfig) GetAlarmThresholdType() int32 {
+ if m != nil {
+ return m.AlarmThresholdType
+ }
+ return 0
+}
+
+func (m *LocalConfig) GetAlarmThreshold() int32 {
+ if m != nil {
+ return m.AlarmThreshold
+ }
+ return 0
+}
+
type PollConfig struct {
ServerId string `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
- RealMax int32 `protobuf:"varint,2,opt,name=real_max,json=realMax,proto3" json:"real_max,omitempty"`
- PollPeriod int32 `protobuf:"varint,3,opt,name=poll_period,json=pollPeriod,proto3" json:"poll_period,omitempty"`
- Delay int32 `protobuf:"varint,4,opt,name=delay,proto3" json:"delay,omitempty"`
- Enable bool `protobuf:"varint,5,opt,name=enable,proto3" json:"enable,omitempty"`
+ PollPeriod int32 `protobuf:"varint,2,opt,name=poll_period,json=pollPeriod,proto3" json:"poll_period,omitempty"`
+ Delay int32 `protobuf:"varint,3,opt,name=delay,proto3" json:"delay,omitempty"`
+ Enable bool `protobuf:"varint,4,opt,name=enable,proto3" json:"enable,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -212,13 +235,6 @@
return m.ServerId
}
return ""
-}
-
-func (m *PollConfig) GetRealMax() int32 {
- if m != nil {
- return m.RealMax
- }
- return 0
}
func (m *PollConfig) GetPollPeriod() int32 {
@@ -410,39 +426,41 @@
func init() { proto.RegisterFile("sysset.proto", fileDescriptor_5be590c6b2a0d755) }
var fileDescriptor_5be590c6b2a0d755 = []byte{
- // 536 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x5d, 0x8a, 0xdb, 0x30,
- 0x10, 0xc6, 0xc9, 0x3a, 0xb1, 0xc7, 0xe9, 0xb6, 0x88, 0xfe, 0x78, 0xd3, 0xbf, 0x34, 0x4f, 0x81,
- 0x42, 0x1e, 0xda, 0x23, 0x6c, 0x5f, 0x0c, 0xcd, 0x12, 0xcc, 0x42, 0x1f, 0x8d, 0x62, 0x4d, 0x83,
- 0x58, 0xdb, 0x12, 0x92, 0xb2, 0x89, 0xcf, 0xd1, 0xa3, 0xf4, 0x1c, 0x3d, 0x46, 0xef, 0x51, 0x24,
- 0xd9, 0x49, 0x76, 0x0b, 0xa5, 0x4f, 0xf6, 0x7c, 0xdf, 0x7c, 0xa3, 0x6f, 0x34, 0x1a, 0x98, 0xe8,
- 0x56, 0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c, 0x24, 0x9f, 0x5e, 0x2c, 0xfb, 0x05, 0x59,
- 0x76, 0xf6, 0x6e, 0x04, 0xc3, 0xdc, 0xe7, 0xcc, 0x7f, 0x05, 0x90, 0x9c, 0xc1, 0xe4, 0x12, 0x06,
- 0x47, 0xc7, 0x03, 0xce, 0x1e, 0x75, 0x32, 0x78, 0xdc, 0xc9, 0x83, 0xbb, 0x1f, 0xfe, 0x7b, 0xc5,
- 0x2e, 0xfe, 0x5a, 0xb1, 0x57, 0x30, 0xb6, 0x2e, 0xac, 0xd6, 0xef, 0xc8, 0xc8, 0x86, 0x19, 0x3b,
- 0x11, 0xd2, 0xed, 0x47, 0x4f, 0x48, 0x5b, 0xb2, 0x54, 0x68, 0x9f, 0x8c, 0xe1, 0x35, 0x76, 0xdb,
- 0x01, 0x1e, 0xba, 0xe5, 0x35, 0x6e, 0x46, 0xae, 0xd9, 0xcf, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff,
- 0x64, 0x0a, 0xad, 0x64, 0x24, 0x04, 0x00, 0x00,
+ // 565 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xdb, 0x6e, 0x13, 0x31,
+ 0x10, 0x55, 0xd2, 0x26, 0xd9, 0x9d, 0x0d, 0x6d, 0xb1, 0x0a, 0x98, 0x72, 0x0b, 0x79, 0x21, 0x12,
+ 0x52, 0x85, 0xe0, 0x13, 0xca, 0x4b, 0x24, 0x5a, 0x45, 0x51, 0x25, 0x1e, 0x23, 0x67, 0x3d, 0xb4,
+ 0x56, 0x77, 0xd7, 0x96, 0xed, 0x34, 0xd9, 0xef, 0xe2, 0x3b, 0xf8, 0x02, 0x7e, 0x06, 0x79, 0xbc,
+ 0x9b, 0xa4, 0x45, 0x42, 0x3c, 0x25, 0x73, 0xce, 0x99, 0x9b, 0xf7, 0x0c, 0x0c, 0x5d, 0xed, 0x1c,
+ 0xfa, 0x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