From 4a28a17fe5afef12d6cdedd745394b0202f92875 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期二, 02 七月 2019 11:50:04 +0800
Subject: [PATCH] add camera alias and snapshot_url

---
 protomsg.proto |   36 ++-
 protomsg.pb.go |  449 +++++++++++++++++++++++++++----------------------
 2 files changed, 270 insertions(+), 215 deletions(-)

diff --git a/protomsg.pb.go b/protomsg.pb.go
index 4b74eef..df30b9f 100644
--- a/protomsg.pb.go
+++ b/protomsg.pb.go
@@ -163,23 +163,24 @@
 type Camera struct {
 	Id          string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
 	Name        string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
-	Type        int32   `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
-	Addr        string  `protobuf:"bytes,4,opt,name=addr,proto3" json:"addr,omitempty"`
-	Areaid      int32   `protobuf:"varint,5,opt,name=areaid,proto3" json:"areaid,omitempty"`
-	Longitude   float32 `protobuf:"fixed32,6,opt,name=longitude,proto3" json:"longitude,omitempty"`
-	Latitude    float32 `protobuf:"fixed32,7,opt,name=latitude,proto3" json:"latitude,omitempty"`
-	Rtsp        string  `protobuf:"bytes,8,opt,name=rtsp,proto3" json:"rtsp,omitempty"`
-	Ip          string  `protobuf:"bytes,9,opt,name=ip,proto3" json:"ip,omitempty"`
-	Port        int32   `protobuf:"varint,10,opt,name=port,proto3" json:"port,omitempty"`
-	Username    string  `protobuf:"bytes,11,opt,name=username,proto3" json:"username,omitempty"`
-	Password    string  `protobuf:"bytes,12,opt,name=password,proto3" json:"password,omitempty"`
-	Brand       string  `protobuf:"bytes,13,opt,name=brand,proto3" json:"brand,omitempty"`
-	Reserved    string  `protobuf:"bytes,14,opt,name=reserved,proto3" json:"reserved,omitempty"`
-	IsRunning   bool    `protobuf:"varint,15,opt,name=is_running,json=isRunning,proto3" json:"is_running,omitempty"`
-	RunEnable   bool    `protobuf:"varint,16,opt,name=run_enable,json=runEnable,proto3" json:"run_enable,omitempty"`
-	RunType     int32   `protobuf:"varint,17,opt,name=run_type,json=runType,proto3" json:"run_type,omitempty"`
-	RunServerId string  `protobuf:"bytes,18,opt,name=run_server_id,json=runServerId,proto3" json:"run_server_id,omitempty"`
-	SnapshotUrl string  `protobuf:"bytes,19,opt,name=snapshot_url,json=snapshotUrl,proto3" json:"snapshot_url,omitempty"`
+	Alias       string  `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"`
+	SnapshotUrl string  `protobuf:"bytes,4,opt,name=snapshot_url,json=snapshotUrl,proto3" json:"snapshot_url,omitempty"`
+	Type        int32   `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"`
+	Addr        string  `protobuf:"bytes,6,opt,name=addr,proto3" json:"addr,omitempty"`
+	Areaid      int32   `protobuf:"varint,7,opt,name=areaid,proto3" json:"areaid,omitempty"`
+	Longitude   float32 `protobuf:"fixed32,8,opt,name=longitude,proto3" json:"longitude,omitempty"`
+	Latitude    float32 `protobuf:"fixed32,9,opt,name=latitude,proto3" json:"latitude,omitempty"`
+	Rtsp        string  `protobuf:"bytes,10,opt,name=rtsp,proto3" json:"rtsp,omitempty"`
+	Ip          string  `protobuf:"bytes,11,opt,name=ip,proto3" json:"ip,omitempty"`
+	Port        int32   `protobuf:"varint,12,opt,name=port,proto3" json:"port,omitempty"`
+	Username    string  `protobuf:"bytes,13,opt,name=username,proto3" json:"username,omitempty"`
+	Password    string  `protobuf:"bytes,14,opt,name=password,proto3" json:"password,omitempty"`
+	Brand       string  `protobuf:"bytes,15,opt,name=brand,proto3" json:"brand,omitempty"`
+	Reserved    string  `protobuf:"bytes,16,opt,name=reserved,proto3" json:"reserved,omitempty"`
+	IsRunning   bool    `protobuf:"varint,17,opt,name=is_running,json=isRunning,proto3" json:"is_running,omitempty"`
+	RunEnable   bool    `protobuf:"varint,18,opt,name=run_enable,json=runEnable,proto3" json:"run_enable,omitempty"`
+	RunType     int32   `protobuf:"varint,19,opt,name=run_type,json=runType,proto3" json:"run_type,omitempty"`
+	RunServerId string  `protobuf:"bytes,20,opt,name=run_server_id,json=runServerId,proto3" json:"run_server_id,omitempty"`
 }
 
 func (m *Camera) Reset()         { *m = Camera{} }
@@ -225,6 +226,20 @@
 func (m *Camera) GetName() string {
 	if m != nil {
 		return m.Name
+	}
+	return ""
+}
+
+func (m *Camera) GetAlias() string {
+	if m != nil {
+		return m.Alias
+	}
+	return ""
+}
+
+func (m *Camera) GetSnapshotUrl() string {
+	if m != nil {
+		return m.SnapshotUrl
 	}
 	return ""
 }
@@ -337,13 +352,6 @@
 func (m *Camera) GetRunServerId() string {
 	if m != nil {
 		return m.RunServerId
-	}
-	return ""
-}
-
-func (m *Camera) GetSnapshotUrl() string {
-	if m != nil {
-		return m.SnapshotUrl
 	}
 	return ""
 }
@@ -1640,103 +1648,104 @@
 func init() { proto.RegisterFile("protomsg.proto", fileDescriptor_32de24555f916688) }
 
 var fileDescriptor_32de24555f916688 = []byte{
-	// 1532 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0xcd, 0x8e, 0x14, 0xc9,
-	0x11, 0x9e, 0xea, 0xff, 0x8a, 0xfe, 0x99, 0x26, 0xc1, 0x50, 0x06, 0x33, 0x1e, 0x0a, 0x2c, 0x8f,
-	0x90, 0xcd, 0x61, 0xe0, 0x05, 0x1a, 0xc6, 0x58, 0x2d, 0x61, 0x84, 0x6b, 0x1a, 0x7c, 0x73, 0x29,
-	0xbb, 0x33, 0xa7, 0xa7, 0xd4, 0x35, 0x55, 0xad, 0xcc, 0xac, 0x81, 0x79, 0x0a, 0xfb, 0xe8, 0xb3,
-	0x2f, 0x96, 0xdf, 0x64, 0x8f, 0x1c, 0xf7, 0xb6, 0x2b, 0x90, 0x56, 0x2b, 0xad, 0xf6, 0x1d, 0x56,
-	0x11, 0x99, 0x55, 0x5d, 0xdd, 0xb0, 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x98, 0xac, 0x0d, 0x00, 0x00,
+	// 1548 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0x4f, 0x8f, 0xdc, 0x4a,
+	0x11, 0x5f, 0xcf, 0x5f, 0xbb, 0xe6, 0xcf, 0x4e, 0x3a, 0xe1, 0x3d, 0x93, 0xc7, 0x5b, 0x36, 0x4e,
+	0x10, 0xab, 0x08, 0x72, 0xd8, 0xe4, 0x0b, 0x4c, 0xb2, 0x04, 0x8d, 0x14, 0xa2, 0xe0, 0x9d, 0x84,
+	0x1b, 0x56, 0xcf, 0x74, 0xef, 0xac, 0x35, 0x5e, 0x7b, 0xd4, 0xdd, 0xde, 0x64, 0x3f, 0x05, 0x1c,
+	0x39, 0x73, 0x41, 0x7c, 0x13, 0x8e, 0x39, 0x72, 0x03, 0x25, 0x12, 0x17, 0xc4, 0x57, 0x40, 0xa8,
+	0xaa, 0xdb, 0x1e, 0xcf, 0x64, 0x79, 0xca, 0xad, 0xea, 0x57, 0xe5, 0x76, 0xf5, 0xaf, 0x7e, 0x5d,
+	0xdd, 0x30, 0xde, 0xa8, 0xc2, 0x14, 0x57, 0x7a, 0xf5, 0x84, 0x0c, 0xe6, 0x57, 0xfe, 0x7d, 0x58,
+	0x70, 0x2d, 0x2d, 0x1a, 0xbd, 0x84, 0xce, 0x54, 0x49, 0xce, 0xc6, 0xd0, 0x4a, 0x45, 0xe8, 0x1d,
+	0x7b, 0x27, 0xdd, 0xb8, 0x95, 0x0a, 0x76, 0x1f, 0xfc, 0x0d, 0x57, 0x32, 0x37, 0xa9, 0x08, 0x5b,
+	0x84, 0xd6, 0x3e, 0x63, 0xd0, 0xc9, 0xf9, 0x95, 0x0c, 0xdb, 0xc7, 0xde, 0x49, 0x10, 0x93, 0x1d,
+	0xfd, 0xb7, 0x0d, 0xbd, 0x17, 0xfc, 0x4a, 0xaa, 0xe6, 0x52, 0x01, 0x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, 0xfb, 0x5c, 0xac,
+	0x27, 0x1d, 0x76, 0x07, 0x46, 0xb5, 0x8b, 0x03, 0x72, 0xd2, 0x65, 0x01, 0x74, 0xe7, 0x09, 0x46,
+	0x7b, 0xec, 0x2e, 0x1c, 0x56, 0xcb, 0x39, 0xc2, 0x27, 0x7d, 0x36, 0x06, 0x98, 0x27, 0x73, 0x77,
+	0x4b, 0x4f, 0xfc, 0xc7, 0x4f, 0xc0, 0xaf, 0x9a, 0x87, 0x7f, 0x9a, 0xe5, 0x5a, 0x2a, 0x33, 0x39,
+	0x40, 0xfb, 0x2d, 0x9d, 0x9b, 0x89, 0x87, 0xf6, 0x99, 0xcc, 0xa4, 0x91, 0x93, 0xd6, 0xf3, 0xf0,
+	0x6f, 0x9f, 0x8e, 0xbc, 0x8f, 0x9f, 0x8e, 0xbc, 0x7f, 0x7e, 0x3a, 0xf2, 0xfe, 0xf8, 0xf9, 0xe8,
+	0xe0, 0xe3, 0xe7, 0xa3, 0x83, 0xbf, 0x7f, 0x3e, 0x3a, 0x58, 0xf4, 0x48, 0x0d, 0x4f, 0xff, 0x17,
+	0x00, 0x00, 0xff, 0xff, 0x68, 0x88, 0xf6, 0x3b, 0xc2, 0x0d, 0x00, 0x00,
 }
 
 func (m *Area) Marshal() (dAtA []byte, err error) {
@@ -1800,77 +1809,93 @@
 		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
 		i += copy(dAtA[i:], m.Name)
 	}
+	if len(m.Alias) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Alias)))
+		i += copy(dAtA[i:], m.Alias)
+	}
+	if len(m.SnapshotUrl) > 0 {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SnapshotUrl)))
+		i += copy(dAtA[i:], m.SnapshotUrl)
+	}
 	if m.Type != 0 {
-		dAtA[i] = 0x18
+		dAtA[i] = 0x28
 		i++
 		i = encodeVarintProtomsg(dAtA, i, uint64(m.Type))
 	}
 	if len(m.Addr) > 0 {
-		dAtA[i] = 0x22
+		dAtA[i] = 0x32
 		i++
 		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Addr)))
 		i += copy(dAtA[i:], m.Addr)
 	}
 	if m.Areaid != 0 {
-		dAtA[i] = 0x28
+		dAtA[i] = 0x38
 		i++
 		i = encodeVarintProtomsg(dAtA, i, uint64(m.Areaid))
 	}
 	if m.Longitude != 0 {
-		dAtA[i] = 0x35
+		dAtA[i] = 0x45
 		i++
 		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Longitude))))
 		i += 4
 	}
 	if m.Latitude != 0 {
-		dAtA[i] = 0x3d
+		dAtA[i] = 0x4d
 		i++
 		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Latitude))))
 		i += 4
 	}
 	if len(m.Rtsp) > 0 {
-		dAtA[i] = 0x42
+		dAtA[i] = 0x52
 		i++
 		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Rtsp)))
 		i += copy(dAtA[i:], m.Rtsp)
 	}
 	if len(m.Ip) > 0 {
-		dAtA[i] = 0x4a
+		dAtA[i] = 0x5a
 		i++
 		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Ip)))
 		i += copy(dAtA[i:], m.Ip)
 	}
 	if m.Port != 0 {
-		dAtA[i] = 0x50
+		dAtA[i] = 0x60
 		i++
 		i = encodeVarintProtomsg(dAtA, i, uint64(m.Port))
 	}
 	if len(m.Username) > 0 {
-		dAtA[i] = 0x5a
+		dAtA[i] = 0x6a
 		i++
 		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Username)))
 		i += copy(dAtA[i:], m.Username)
 	}
 	if len(m.Password) > 0 {
-		dAtA[i] = 0x62
+		dAtA[i] = 0x72
 		i++
 		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Password)))
 		i += copy(dAtA[i:], m.Password)
 	}
 	if len(m.Brand) > 0 {
-		dAtA[i] = 0x6a
+		dAtA[i] = 0x7a
 		i++
 		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Brand)))
 		i += copy(dAtA[i:], m.Brand)
 	}
 	if len(m.Reserved) > 0 {
-		dAtA[i] = 0x72
+		dAtA[i] = 0x82
+		i++
+		dAtA[i] = 0x1
 		i++
 		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Reserved)))
 		i += copy(dAtA[i:], m.Reserved)
 	}
 	if m.IsRunning {
-		dAtA[i] = 0x78
+		dAtA[i] = 0x88
+		i++
+		dAtA[i] = 0x1
 		i++
 		if m.IsRunning {
 			dAtA[i] = 1
@@ -1880,7 +1905,7 @@
 		i++
 	}
 	if m.RunEnable {
-		dAtA[i] = 0x80
+		dAtA[i] = 0x90
 		i++
 		dAtA[i] = 0x1
 		i++
@@ -1892,27 +1917,19 @@
 		i++
 	}
 	if m.RunType != 0 {
-		dAtA[i] = 0x88
+		dAtA[i] = 0x98
 		i++
 		dAtA[i] = 0x1
 		i++
 		i = encodeVarintProtomsg(dAtA, i, uint64(m.RunType))
 	}
 	if len(m.RunServerId) > 0 {
-		dAtA[i] = 0x92
+		dAtA[i] = 0xa2
 		i++
 		dAtA[i] = 0x1
 		i++
 		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.RunServerId)))
 		i += copy(dAtA[i:], m.RunServerId)
-	}
-	if len(m.SnapshotUrl) > 0 {
-		dAtA[i] = 0x9a
-		i++
-		dAtA[i] = 0x1
-		i++
-		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SnapshotUrl)))
-		i += copy(dAtA[i:], m.SnapshotUrl)
 	}
 	return i, nil
 }
@@ -2846,6 +2863,14 @@
 	if l > 0 {
 		n += 1 + l + sovProtomsg(uint64(l))
 	}
+	l = len(m.Alias)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.SnapshotUrl)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
 	if m.Type != 0 {
 		n += 1 + sovProtomsg(uint64(m.Type))
 	}
@@ -2887,10 +2912,10 @@
 	}
 	l = len(m.Reserved)
 	if l > 0 {
-		n += 1 + l + sovProtomsg(uint64(l))
+		n += 2 + l + sovProtomsg(uint64(l))
 	}
 	if m.IsRunning {
-		n += 2
+		n += 3
 	}
 	if m.RunEnable {
 		n += 3
@@ -2899,10 +2924,6 @@
 		n += 2 + sovProtomsg(uint64(m.RunType))
 	}
 	l = len(m.RunServerId)
-	if l > 0 {
-		n += 2 + l + sovProtomsg(uint64(l))
-	}
-	l = len(m.SnapshotUrl)
 	if l > 0 {
 		n += 2 + l + sovProtomsg(uint64(l))
 	}
@@ -3616,6 +3637,70 @@
 			m.Name = string(dAtA[iNdEx:postIndex])
 			iNdEx = postIndex
 		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Alias = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field SnapshotUrl", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.SnapshotUrl = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 5:
 			if wireType != 0 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
 			}
@@ -3634,7 +3719,7 @@
 					break
 				}
 			}
-		case 4:
+		case 6:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType)
 			}
@@ -3666,7 +3751,7 @@
 			}
 			m.Addr = string(dAtA[iNdEx:postIndex])
 			iNdEx = postIndex
-		case 5:
+		case 7:
 			if wireType != 0 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Areaid", wireType)
 			}
@@ -3685,7 +3770,7 @@
 					break
 				}
 			}
-		case 6:
+		case 8:
 			if wireType != 5 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Longitude", wireType)
 			}
@@ -3696,7 +3781,7 @@
 			v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
 			iNdEx += 4
 			m.Longitude = float32(math.Float32frombits(v))
-		case 7:
+		case 9:
 			if wireType != 5 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Latitude", wireType)
 			}
@@ -3707,7 +3792,7 @@
 			v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
 			iNdEx += 4
 			m.Latitude = float32(math.Float32frombits(v))
-		case 8:
+		case 10:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Rtsp", wireType)
 			}
@@ -3739,7 +3824,7 @@
 			}
 			m.Rtsp = string(dAtA[iNdEx:postIndex])
 			iNdEx = postIndex
-		case 9:
+		case 11:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Ip", wireType)
 			}
@@ -3771,7 +3856,7 @@
 			}
 			m.Ip = string(dAtA[iNdEx:postIndex])
 			iNdEx = postIndex
-		case 10:
+		case 12:
 			if wireType != 0 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
 			}
@@ -3790,7 +3875,7 @@
 					break
 				}
 			}
-		case 11:
+		case 13:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
 			}
@@ -3822,7 +3907,7 @@
 			}
 			m.Username = string(dAtA[iNdEx:postIndex])
 			iNdEx = postIndex
-		case 12:
+		case 14:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Password", wireType)
 			}
@@ -3854,7 +3939,7 @@
 			}
 			m.Password = string(dAtA[iNdEx:postIndex])
 			iNdEx = postIndex
-		case 13:
+		case 15:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Brand", wireType)
 			}
@@ -3886,7 +3971,7 @@
 			}
 			m.Brand = string(dAtA[iNdEx:postIndex])
 			iNdEx = postIndex
-		case 14:
+		case 16:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field Reserved", wireType)
 			}
@@ -3918,7 +4003,7 @@
 			}
 			m.Reserved = string(dAtA[iNdEx:postIndex])
 			iNdEx = postIndex
-		case 15:
+		case 17:
 			if wireType != 0 {
 				return fmt.Errorf("proto: wrong wireType = %d for field IsRunning", wireType)
 			}
@@ -3938,7 +4023,7 @@
 				}
 			}
 			m.IsRunning = bool(v != 0)
-		case 16:
+		case 18:
 			if wireType != 0 {
 				return fmt.Errorf("proto: wrong wireType = %d for field RunEnable", wireType)
 			}
@@ -3958,7 +4043,7 @@
 				}
 			}
 			m.RunEnable = bool(v != 0)
-		case 17:
+		case 19:
 			if wireType != 0 {
 				return fmt.Errorf("proto: wrong wireType = %d for field RunType", wireType)
 			}
@@ -3977,7 +4062,7 @@
 					break
 				}
 			}
-		case 18:
+		case 20:
 			if wireType != 2 {
 				return fmt.Errorf("proto: wrong wireType = %d for field RunServerId", wireType)
 			}
@@ -4008,38 +4093,6 @@
 				return io.ErrUnexpectedEOF
 			}
 			m.RunServerId = string(dAtA[iNdEx:postIndex])
-			iNdEx = postIndex
-		case 19:
-			if wireType != 2 {
-				return fmt.Errorf("proto: wrong wireType = %d for field SnapshotUrl", wireType)
-			}
-			var stringLen uint64
-			for shift := uint(0); ; shift += 7 {
-				if shift >= 64 {
-					return ErrIntOverflowProtomsg
-				}
-				if iNdEx >= l {
-					return io.ErrUnexpectedEOF
-				}
-				b := dAtA[iNdEx]
-				iNdEx++
-				stringLen |= uint64(b&0x7F) << shift
-				if b < 0x80 {
-					break
-				}
-			}
-			intStringLen := int(stringLen)
-			if intStringLen < 0 {
-				return ErrInvalidLengthProtomsg
-			}
-			postIndex := iNdEx + intStringLen
-			if postIndex < 0 {
-				return ErrInvalidLengthProtomsg
-			}
-			if postIndex > l {
-				return io.ErrUnexpectedEOF
-			}
-			m.SnapshotUrl = string(dAtA[iNdEx:postIndex])
 			iNdEx = postIndex
 		default:
 			iNdEx = preIndex
diff --git a/protomsg.proto b/protomsg.proto
index 2a25741..8cb17ba 100644
--- a/protomsg.proto
+++ b/protomsg.proto
@@ -16,24 +16,26 @@
 message Camera {
     string id = 1;
     string name = 2;
-    int32 type = 3;
-    string addr = 4;
-    int32 areaid = 5;
-    float longitude = 6;
-    float latitude = 7;
-    string rtsp = 8;
-    string ip = 9;
-    int32 port = 10;
-    string username = 11;
-    string password = 12;
-    string brand = 13;
-    string reserved = 14;
+    string alias = 3;
+    string snapshot_url = 4;//鎽勫儚鏈哄簳鍥惧揩鐓�
+    int32 type = 5;
+    string addr = 6;
+    int32 areaid = 7;
+    float longitude = 8;
+    float latitude = 9;
+    string rtsp = 10;
+    string ip = 11;
+    int32 port = 12;
+    string username = 13;
+    string password = 14;
+    string brand = 15;
+    string reserved = 16;
 
-    bool is_running = 15;//鏄惁姝e湪鍋氫换鍔★紙0:鍚︼紝1锛氭槸锛�
-    bool run_enable = 16;//鏄惁鍚敤瀹炴椂鎴栬疆璇�(0:鍚︼紝1锛氭槸)
-    int32 run_type = 17;//鍋氫换鍔$殑绫诲瀷锛�0锛氳疆璇紝1锛氬疄鏃讹級
-    string run_server_id = 18;//褰撳墠姝e湪鍝彴鏈嶅姟鍣ㄤ笂鍋氫换鍔�
-    string snapshot_url = 19;//鎽勫儚鏈哄簳鍥惧揩鐓�
+    bool is_running = 17;//鏄惁姝e湪鍋氫换鍔★紙0:鍚︼紝1锛氭槸锛�
+    bool run_enable = 18;//鏄惁鍚敤瀹炴椂鎴栬疆璇�(0:鍚︼紝1锛氭槸)
+    int32 run_type = 19;//鍋氫换鍔$殑绫诲瀷锛�0锛氳疆璇紝1锛氬疄鏃讹級
+    string run_server_id = 20;//褰撳墠姝e湪鍝彴鏈嶅姟鍣ㄤ笂鍋氫换鍔�
+
 }
 
 //鎽勫儚鏈虹殑浠诲姟淇℃伅

--
Gitblit v1.8.0