| | |
| | | |
| | | type TargetInfo struct { |
| | | TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId,omitempty"` |
| | | TargetScore float32 `protobuf:"fixed32,2,opt,name=targetScore,proto3" json:"targetScore,omitempty"` |
| | | TargetScore float64 `protobuf:"fixed64,2,opt,name=targetScore,proto3" json:"targetScore,omitempty"` |
| | | Feature string `protobuf:"bytes,3,opt,name=feature,proto3" json:"feature,omitempty"` |
| | | PicSmUrl string `protobuf:"bytes,4,opt,name=picSmUrl,proto3" json:"picSmUrl,omitempty"` |
| | | TargetLocation *TargetLocation `protobuf:"bytes,5,opt,name=targetLocation,proto3" json:"targetLocation,omitempty"` |
| | |
| | | return "" |
| | | } |
| | | |
| | | func (m *TargetInfo) GetTargetScore() float32 { |
| | | func (m *TargetInfo) GetTargetScore() float64 { |
| | | if m != nil { |
| | | return m.TargetScore |
| | | } |
| | |
| | | } |
| | | |
| | | type Location struct { |
| | | X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"` |
| | | Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"` |
| | | X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` |
| | | Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` |
| | | } |
| | | |
| | | func (m *Location) Reset() { *m = Location{} } |
| | |
| | | |
| | | var xxx_messageInfo_Location proto.InternalMessageInfo |
| | | |
| | | func (m *Location) GetX() float32 { |
| | | func (m *Location) GetX() float64 { |
| | | if m != nil { |
| | | return m.X |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (m *Location) GetY() float32 { |
| | | func (m *Location) GetY() float64 { |
| | | if m != nil { |
| | | return m.Y |
| | | } |
| | |
| | | type BaseInfo struct { |
| | | TableId string `protobuf:"bytes,1,opt,name=tableId,proto3" json:"tableId,omitempty"` |
| | | TableName string `protobuf:"bytes,2,opt,name=tableName,proto3" json:"tableName,omitempty"` |
| | | CompareScore float32 `protobuf:"fixed32,3,opt,name=compareScore,proto3" json:"compareScore,omitempty"` |
| | | CompareScore float64 `protobuf:"fixed64,3,opt,name=compareScore,proto3" json:"compareScore,omitempty"` |
| | | BwType string `protobuf:"bytes,4,opt,name=bwType,proto3" json:"bwType,omitempty"` |
| | | TargetId string `protobuf:"bytes,5,opt,name=targetId,proto3" json:"targetId,omitempty"` |
| | | TargetName string `protobuf:"bytes,6,opt,name=targetName,proto3" json:"targetName,omitempty"` |
| | |
| | | return "" |
| | | } |
| | | |
| | | func (m *BaseInfo) GetCompareScore() float32 { |
| | | func (m *BaseInfo) GetCompareScore() float64 { |
| | | if m != nil { |
| | | return m.CompareScore |
| | | } |
| | |
| | | var fileDescriptor_e7fb370e860fe148 = []byte{ |
| | | // 829 bytes of a gzipped FileDescriptorProto |
| | | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x55, 0xcd, 0x6e, 0x23, 0x45, |
| | | 0x10, 0xce, 0x38, 0xbb, 0xf6, 0xa4, 0x9c, 0x64, 0xa1, 0x59, 0x96, 0x66, 0x41, 0xa3, 0x68, 0x84, |
| | | 0x10, 0xce, 0x24, 0xbb, 0xf6, 0xa4, 0x9c, 0x64, 0xa1, 0x59, 0x96, 0x66, 0x41, 0xa3, 0x68, 0x84, |
| | | 0x50, 0x0e, 0x28, 0x87, 0x65, 0xc5, 0x19, 0x87, 0x70, 0xb0, 0x64, 0x7e, 0x34, 0x09, 0x0f, 0xd0, |
| | | 0x9e, 0xa9, 0x38, 0x2d, 0xcf, 0x4c, 0x8f, 0x66, 0xda, 0xd9, 0xf8, 0x01, 0xb8, 0xf3, 0x30, 0x88, |
| | | 0x9e, 0xa9, 0x38, 0x2d, 0xcf, 0x4c, 0x8f, 0x66, 0xda, 0x59, 0xfb, 0x01, 0xb8, 0xf3, 0x30, 0x88, |
| | | 0x03, 0x47, 0x4e, 0x1c, 0x73, 0xe4, 0x88, 0x92, 0x17, 0x41, 0x55, 0x3d, 0xbf, 0x86, 0x03, 0x0f, |
| | | 0x90, 0x93, 0xfb, 0xfb, 0xaa, 0x5c, 0x55, 0x5d, 0x5d, 0x5f, 0x0d, 0x1c, 0x29, 0x6d, 0x62, 0x54, |
| | | 0xf9, 0x59, 0x51, 0x1a, 0x6b, 0x84, 0xcf, 0x3f, 0x59, 0xb5, 0x0a, 0x7f, 0x1b, 0x03, 0x7c, 0x5b, |
| | | 0x5d, 0x28, 0xab, 0xce, 0x55, 0x85, 0xe2, 0x18, 0x46, 0x3a, 0x91, 0xde, 0x89, 0x77, 0x7a, 0x10, |
| | | 0x8d, 0x74, 0x22, 0x5e, 0x83, 0x1f, 0xab, 0x0c, 0x4b, 0x35, 0x4f, 0xe4, 0x88, 0xd9, 0x16, 0x8b, |
| | | 0x00, 0xc0, 0x9d, 0xbf, 0x57, 0x19, 0xca, 0x7d, 0xb6, 0xf6, 0x98, 0xce, 0x3e, 0x4b, 0x92, 0x52, |
| | | 0x3e, 0xeb, 0xdb, 0x89, 0x11, 0x9f, 0xc1, 0x91, 0xca, 0x55, 0xba, 0xbd, 0xc4, 0xf2, 0x16, 0xcb, |
| | | 0x79, 0x22, 0x9f, 0xb3, 0xcb, 0x90, 0x14, 0xa7, 0xf0, 0xa2, 0x47, 0x70, 0xaa, 0x31, 0xfb, 0xed, |
| | | 0xd2, 0xbb, 0xf1, 0x0a, 0x39, 0xf9, 0x77, 0xbc, 0x42, 0x7c, 0x0a, 0x07, 0x71, 0xba, 0xa9, 0x2c, |
| | | 0x67, 0xf4, 0xd9, 0xa3, 0x23, 0xc4, 0x2b, 0x18, 0x5b, 0x55, 0xad, 0xe7, 0x89, 0x3c, 0x60, 0x53, |
| | | 0x8d, 0xa8, 0x0f, 0x74, 0xe2, 0xf4, 0xe0, 0xfa, 0xd0, 0x60, 0x21, 0x61, 0x52, 0x25, 0xce, 0x34, |
| | | 0x65, 0x53, 0x03, 0x29, 0x57, 0xa1, 0xe3, 0xef, 0xd4, 0xdd, 0x4f, 0x65, 0x2a, 0x0f, 0x5d, 0xae, |
| | | 0x96, 0xa0, 0x98, 0xb7, 0x3a, 0x41, 0x43, 0xc6, 0x23, 0x17, 0xb3, 0xc1, 0x14, 0xb3, 0xd0, 0xf1, |
| | | 0x85, 0xb2, 0x28, 0x8f, 0x5d, 0xcc, 0x1a, 0x8a, 0xb7, 0x00, 0x56, 0x95, 0x2b, 0xb4, 0xf3, 0xfc, |
| | | 0xda, 0xc8, 0x17, 0x27, 0xfb, 0xa7, 0xd3, 0x37, 0x2f, 0xcf, 0x9a, 0xf7, 0x3c, 0xbb, 0x6a, 0x6d, |
| | | 0x51, 0xcf, 0x4f, 0x9c, 0xc0, 0xd4, 0xd8, 0x1b, 0x2c, 0x17, 0x6a, 0x89, 0x69, 0x25, 0xdf, 0xe3, |
| | | 0x98, 0x7d, 0x8a, 0x5e, 0xab, 0xba, 0x31, 0xef, 0x6a, 0x87, 0xf7, 0xdd, 0x6b, 0x75, 0x0c, 0x55, |
| | | 0x9b, 0xea, 0x35, 0x72, 0x49, 0xc2, 0x55, 0xdb, 0x60, 0x71, 0x06, 0xfe, 0x52, 0x55, 0xc8, 0x15, |
| | | 0x7d, 0xc0, 0x15, 0x89, 0xae, 0xa2, 0xf3, 0xda, 0x12, 0xb5, 0x3e, 0x74, 0x3b, 0x5d, 0xcd, 0x52, |
| | | 0x55, 0x66, 0xf2, 0xe5, 0x89, 0x77, 0xea, 0x47, 0x0d, 0xa4, 0x2a, 0x74, 0x35, 0x8b, 0xd7, 0xce, |
| | | 0xf8, 0x21, 0x1b, 0x7b, 0x0c, 0xdd, 0x5e, 0xd1, 0x21, 0xda, 0xa4, 0x58, 0xc9, 0x57, 0xbb, 0xb7, |
| | | 0x9f, 0xb5, 0xb6, 0xa8, 0xe7, 0x47, 0xef, 0xa0, 0xab, 0x6f, 0x4c, 0x9a, 0x62, 0x6c, 0xe5, 0x47, |
| | | 0x1c, 0xb4, 0x23, 0xe8, 0x66, 0xba, 0xba, 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| | 0x77, 0xdb, 0x79, 0xc0, 0x51, 0x6d, 0xa9, 0x5b, 0x51, 0xf5, 0x82, 0x76, 0xa8, 0x2f, 0x54, 0x18, |
| | | 0x08, 0xf5, 0x5c, 0xfe, 0xf9, 0x10, 0x78, 0xf7, 0x0f, 0x81, 0xf7, 0xf7, 0x43, 0xe0, 0xfd, 0xf2, |
| | | 0x18, 0xec, 0xdd, 0x3f, 0x06, 0x7b, 0x7f, 0x3d, 0x06, 0x7b, 0xcb, 0x31, 0x4f, 0xd5, 0x97, 0xff, |
| | | 0x04, 0x00, 0x00, 0xff, 0xff, 0x90, 0x68, 0x92, 0xe0, 0x53, 0x0a, 0x00, 0x00, |
| | | 0x90, 0x93, 0xfb, 0xfb, 0xaa, 0x5c, 0x55, 0x5d, 0x5d, 0x5f, 0x0d, 0x1c, 0x2b, 0x6d, 0x62, 0x54, |
| | | 0xf9, 0x79, 0x51, 0x1a, 0x6b, 0x84, 0xcf, 0x3f, 0x59, 0xb5, 0x0c, 0x7f, 0x1b, 0x01, 0x7c, 0x5b, |
| | | 0x5d, 0x2a, 0xab, 0x2e, 0x54, 0x85, 0xe2, 0x04, 0xf6, 0x75, 0x22, 0xbd, 0x53, 0xef, 0xec, 0x30, |
| | | 0xda, 0xd7, 0x89, 0x78, 0x0d, 0x7e, 0xac, 0x32, 0x2c, 0xd5, 0x2c, 0x91, 0xfb, 0xcc, 0xb6, 0x58, |
| | | 0x04, 0x00, 0xee, 0xfc, 0xbd, 0xca, 0x50, 0x1e, 0xb0, 0xb5, 0xc7, 0x74, 0xf6, 0x69, 0x92, 0x94, |
| | | 0xf2, 0x59, 0xdf, 0x4e, 0x8c, 0xf8, 0x0c, 0x8e, 0x55, 0xae, 0xd2, 0xed, 0x15, 0x96, 0x77, 0x58, |
| | | 0xce, 0x12, 0xf9, 0x9c, 0x5d, 0x86, 0xa4, 0x38, 0x83, 0x17, 0x3d, 0x82, 0x53, 0x8d, 0xd8, 0x6f, |
| | | 0x97, 0xde, 0x8d, 0x57, 0xc8, 0xf1, 0xbf, 0xe3, 0x15, 0xe2, 0x53, 0x38, 0x8c, 0xd3, 0x75, 0x65, |
| | | 0x39, 0xa3, 0xcf, 0x1e, 0x1d, 0x21, 0x5e, 0xc1, 0xc8, 0xaa, 0x6a, 0x35, 0x4b, 0xe4, 0x21, 0x9b, |
| | | 0x6a, 0x44, 0x7d, 0xa0, 0x13, 0xa7, 0x07, 0xd7, 0x87, 0x06, 0x0b, 0x09, 0xe3, 0x2a, 0x71, 0xa6, |
| | | 0x09, 0x9b, 0x1a, 0x48, 0xb9, 0x0a, 0x1d, 0x7f, 0xa7, 0x36, 0x3f, 0x95, 0xa9, 0x3c, 0x72, 0xb9, |
| | | 0x5a, 0x82, 0x62, 0xde, 0xe9, 0x04, 0x0d, 0x19, 0x8f, 0x5d, 0xcc, 0x06, 0x53, 0xcc, 0x42, 0xc7, |
| | | 0x97, 0xca, 0xa2, 0x3c, 0x71, 0x31, 0x6b, 0x28, 0xde, 0x02, 0x58, 0x55, 0x2e, 0xd1, 0xce, 0xf2, |
| | | 0x1b, 0x23, 0x5f, 0x9c, 0x1e, 0x9c, 0x4d, 0xde, 0xbc, 0x3c, 0x6f, 0xde, 0xf3, 0xfc, 0xba, 0xb5, |
| | | 0x45, 0x3d, 0x3f, 0x71, 0x0a, 0x13, 0x63, 0x6f, 0xb1, 0x9c, 0xab, 0x05, 0xa6, 0x95, 0x7c, 0x8f, |
| | | 0x63, 0xf6, 0x29, 0x7a, 0xad, 0xea, 0xd6, 0xbc, 0xab, 0x1d, 0xde, 0x77, 0xaf, 0xd5, 0x31, 0x54, |
| | | 0x6d, 0xaa, 0x57, 0xc8, 0x25, 0x09, 0x57, 0x6d, 0x83, 0xc5, 0x39, 0xf8, 0x0b, 0x55, 0x21, 0x57, |
| | | 0xf4, 0x01, 0x57, 0x24, 0xba, 0x8a, 0x2e, 0x6a, 0x4b, 0xd4, 0xfa, 0xd0, 0xed, 0x74, 0x35, 0x4d, |
| | | 0x55, 0x99, 0xc9, 0x97, 0xa7, 0xde, 0x99, 0x1f, 0x35, 0x90, 0xaa, 0xd0, 0xd5, 0x34, 0x5e, 0x39, |
| | | 0xe3, 0x87, 0x6c, 0xec, 0x31, 0x74, 0x7b, 0x45, 0x87, 0x68, 0x9d, 0x62, 0x25, 0x5f, 0xed, 0xde, |
| | | 0x7e, 0xda, 0xda, 0xa2, 0x9e, 0x1f, 0xbd, 0x83, 0xae, 0xbe, 0x31, 0x69, 0x8a, 0xb1, 0x95, 0x1f, |
| | | 0x71, 0xd0, 0x8e, 0xa0, 0x9b, 0xe9, 0xea, 0x12, 0x53, 0xb4, 0x28, 0x25, 0x1b, 0x5b, 0x4c, 0x95, |
| | | 0xc6, 0x26, 0xb7, 0x98, 0x5b, 0xf9, 0xb1, 0x7b, 0x87, 0x1a, 0x86, 0x3f, 0x8f, 0x61, 0x3c, 0x9d, |
| | | 0xfd, 0x40, 0xa2, 0x7a, 0x52, 0xcd, 0x93, 0x6a, 0x9e, 0x54, 0xf3, 0x7f, 0x54, 0x43, 0x96, 0x54, |
| | | 0xe7, 0xab, 0x6b, 0xb5, 0x94, 0xaf, 0x9d, 0xa5, 0x86, 0xe2, 0x2b, 0x98, 0xd4, 0x47, 0x6e, 0xc8, |
| | | 0x27, 0xbb, 0x45, 0x76, 0x1f, 0xa9, 0xa8, 0xef, 0x18, 0xfe, 0xe1, 0x01, 0x74, 0xcf, 0xe7, 0x46, |
| | | 0x8e, 0x51, 0x23, 0xc8, 0x16, 0xd3, 0x73, 0xba, 0xf3, 0x55, 0x6c, 0x4a, 0x64, 0x65, 0x7a, 0x51, |
| | | 0x9f, 0xa2, 0xf2, 0x6e, 0x50, 0xd9, 0x75, 0xd9, 0x28, 0xb3, 0x81, 0x14, 0xb7, 0xd0, 0xf1, 0x55, |
| | | 0x46, 0x63, 0xe7, 0x44, 0xd9, 0x62, 0xf1, 0x35, 0x9c, 0xb8, 0x20, 0x73, 0x13, 0x2b, 0xab, 0x4d, |
| | |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x12, 0xdd, 0xe8, |
| | | 0x1c, 0x70, 0x6b, 0x06, 0x1c, 0x15, 0xb7, 0x78, 0x77, 0xbd, 0x2d, 0xb0, 0x9e, 0x8f, 0x1a, 0x0d, |
| | | 0x26, 0xf2, 0xf9, 0xce, 0x44, 0x06, 0xcd, 0x5a, 0xea, 0x6d, 0xe8, 0x1e, 0x43, 0x79, 0x1d, 0xfa, |
| | | 0x51, 0xc7, 0x34, 0x79, 0x6e, 0x37, 0x0f, 0x38, 0xf2, 0xc9, 0x4c, 0xae, 0xad, 0x29, 0x5d, 0xdb, |
| | | 0xdd, 0x76, 0x1e, 0x70, 0x54, 0x5b, 0xea, 0x56, 0x54, 0xbd, 0xa0, 0x1d, 0xea, 0x0b, 0x15, 0x06, |
| | | 0x42, 0xbd, 0x90, 0x7f, 0x3e, 0x04, 0xde, 0xfd, 0x43, 0xe0, 0xfd, 0xfd, 0x10, 0x78, 0xbf, 0x3c, |
| | | 0x06, 0x7b, 0xf7, 0x8f, 0xc1, 0xde, 0x5f, 0x8f, 0xc1, 0xde, 0x62, 0xc4, 0x53, 0xf5, 0xe5, 0x3f, |
| | | 0x01, 0x00, 0x00, 0xff, 0xff, 0x1e, 0xef, 0xde, 0x11, 0x53, 0x0a, 0x00, 0x00, |
| | | } |
| | | |
| | | func (m *EsDataBase) Marshal() (dAtA []byte, err error) { |
| | |
| | | i += copy(dAtA[i:], m.TargetId) |
| | | } |
| | | if m.TargetScore != 0 { |
| | | dAtA[i] = 0x15 |
| | | dAtA[i] = 0x11 |
| | | i++ |
| | | encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.TargetScore)))) |
| | | i += 4 |
| | | encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.TargetScore)))) |
| | | i += 8 |
| | | } |
| | | if len(m.Feature) > 0 { |
| | | dAtA[i] = 0x1a |
| | |
| | | var l int |
| | | _ = l |
| | | if m.X != 0 { |
| | | dAtA[i] = 0xd |
| | | dAtA[i] = 0x9 |
| | | i++ |
| | | encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.X)))) |
| | | i += 4 |
| | | encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.X)))) |
| | | i += 8 |
| | | } |
| | | if m.Y != 0 { |
| | | dAtA[i] = 0x15 |
| | | dAtA[i] = 0x11 |
| | | i++ |
| | | encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Y)))) |
| | | i += 4 |
| | | encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Y)))) |
| | | i += 8 |
| | | } |
| | | return i, nil |
| | | } |
| | |
| | | i += copy(dAtA[i:], m.TableName) |
| | | } |
| | | if m.CompareScore != 0 { |
| | | dAtA[i] = 0x1d |
| | | dAtA[i] = 0x19 |
| | | i++ |
| | | encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.CompareScore)))) |
| | | i += 4 |
| | | encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.CompareScore)))) |
| | | i += 8 |
| | | } |
| | | if len(m.BwType) > 0 { |
| | | dAtA[i] = 0x22 |
| | |
| | | n += 1 + l + sovAiocean(uint64(l)) |
| | | } |
| | | if m.TargetScore != 0 { |
| | | n += 5 |
| | | n += 9 |
| | | } |
| | | l = len(m.Feature) |
| | | if l > 0 { |
| | |
| | | var l int |
| | | _ = l |
| | | if m.X != 0 { |
| | | n += 5 |
| | | n += 9 |
| | | } |
| | | if m.Y != 0 { |
| | | n += 5 |
| | | n += 9 |
| | | } |
| | | return n |
| | | } |
| | |
| | | n += 1 + l + sovAiocean(uint64(l)) |
| | | } |
| | | if m.CompareScore != 0 { |
| | | n += 5 |
| | | n += 9 |
| | | } |
| | | l = len(m.BwType) |
| | | if l > 0 { |
| | |
| | | m.TargetId = string(dAtA[iNdEx:postIndex]) |
| | | iNdEx = postIndex |
| | | case 2: |
| | | if wireType != 5 { |
| | | if wireType != 1 { |
| | | return fmt.Errorf("proto: wrong wireType = %d for field TargetScore", wireType) |
| | | } |
| | | var v uint32 |
| | | if (iNdEx + 4) > l { |
| | | var v uint64 |
| | | if (iNdEx + 8) > l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) |
| | | iNdEx += 4 |
| | | m.TargetScore = float32(math.Float32frombits(v)) |
| | | v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) |
| | | iNdEx += 8 |
| | | m.TargetScore = float64(math.Float64frombits(v)) |
| | | case 3: |
| | | if wireType != 2 { |
| | | return fmt.Errorf("proto: wrong wireType = %d for field Feature", wireType) |
| | |
| | | } |
| | | switch fieldNum { |
| | | case 1: |
| | | if wireType != 5 { |
| | | if wireType != 1 { |
| | | return fmt.Errorf("proto: wrong wireType = %d for field X", wireType) |
| | | } |
| | | var v uint32 |
| | | if (iNdEx + 4) > l { |
| | | var v uint64 |
| | | if (iNdEx + 8) > l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) |
| | | iNdEx += 4 |
| | | m.X = float32(math.Float32frombits(v)) |
| | | v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) |
| | | iNdEx += 8 |
| | | m.X = float64(math.Float64frombits(v)) |
| | | case 2: |
| | | if wireType != 5 { |
| | | if wireType != 1 { |
| | | return fmt.Errorf("proto: wrong wireType = %d for field Y", wireType) |
| | | } |
| | | var v uint32 |
| | | if (iNdEx + 4) > l { |
| | | var v uint64 |
| | | if (iNdEx + 8) > l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) |
| | | iNdEx += 4 |
| | | m.Y = float32(math.Float32frombits(v)) |
| | | v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) |
| | | iNdEx += 8 |
| | | m.Y = float64(math.Float64frombits(v)) |
| | | default: |
| | | iNdEx = preIndex |
| | | skippy, err := skipAiocean(dAtA[iNdEx:]) |
| | |
| | | m.TableName = string(dAtA[iNdEx:postIndex]) |
| | | iNdEx = postIndex |
| | | case 3: |
| | | if wireType != 5 { |
| | | if wireType != 1 { |
| | | return fmt.Errorf("proto: wrong wireType = %d for field CompareScore", wireType) |
| | | } |
| | | var v uint32 |
| | | if (iNdEx + 4) > l { |
| | | var v uint64 |
| | | if (iNdEx + 8) > l { |
| | | return io.ErrUnexpectedEOF |
| | | } |
| | | v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) |
| | | iNdEx += 4 |
| | | m.CompareScore = float32(math.Float32frombits(v)) |
| | | v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) |
| | | iNdEx += 8 |
| | | m.CompareScore = float64(math.Float64frombits(v)) |
| | | case 4: |
| | | if wireType != 2 { |
| | | return fmt.Errorf("proto: wrong wireType = %d for field BwType", wireType) |
| | |
| | | |
| | | message TargetInfo { |
| | | string targetId =1; |
| | | float targetScore =2; |
| | | double targetScore =2; |
| | | string feature =3; |
| | | string picSmUrl =4; |
| | | TargetLocation targetLocation =5; |
| | |
| | | } |
| | | |
| | | message Location { |
| | | float x =1; |
| | | float y =2; |
| | | double x =1; |
| | | double y =2; |
| | | } |
| | | |
| | | message AlarmRules { |
| | |
| | | message BaseInfo { |
| | | string tableId =1; |
| | | string tableName =2; |
| | | float compareScore =3; |
| | | double compareScore =3; |
| | | string bwType =4; |
| | | string targetId =5; |
| | | string targetName =6; |