// Code generated by protoc-gen-go. DO NOT EDIT. // source: tower.proto // package声明符,用来防止不同的消息类型有命名冲突 package v1 import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type TowerMonitorData struct { Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date"` // 回转角度值 BackTurn float64 `protobuf:"fixed64,2,opt,name=back_turn,json=backTurn,proto3" json:"back_turn"` // 幅度值 Scope float64 `protobuf:"fixed64,3,opt,name=scope,proto3" json:"scope"` // 吊钩离地面的距离 Hight float64 `protobuf:"fixed64,4,opt,name=hight,proto3" json:"hight"` // 吊钩所掉重物的重量 Weight float64 `protobuf:"fixed64,5,opt,name=weight,proto3" json:"weight"` // 当前力矩所占最大力矩的百分比 Moment string `protobuf:"bytes,6,opt,name=moment,proto3" json:"moment"` // 电池电量 Battery string `protobuf:"bytes,7,opt,name=battery,proto3" json:"battery"` // 风速 WindSpeed float64 `protobuf:"fixed64,8,opt,name=wind_speed,json=windSpeed,proto3" json:"wind_speed"` // 塔身倾斜度 X 向 AngleX float64 `protobuf:"fixed64,9,opt,name=angle_x,json=angleX,proto3" json:"angle_x"` // 塔身倾斜度 Y 向 AngleY float64 `protobuf:"fixed64,10,opt,name=angle_y,json=angleY,proto3" json:"angle_y"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *TowerMonitorData) Reset() { *m = TowerMonitorData{} } func (m *TowerMonitorData) String() string { return proto.CompactTextString(m) } func (*TowerMonitorData) ProtoMessage() {} func (*TowerMonitorData) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{0} } func (m *TowerMonitorData) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TowerMonitorData.Unmarshal(m, b) } func (m *TowerMonitorData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_TowerMonitorData.Marshal(b, m, deterministic) } func (m *TowerMonitorData) XXX_Merge(src proto.Message) { xxx_messageInfo_TowerMonitorData.Merge(m, src) } func (m *TowerMonitorData) XXX_Size() int { return xxx_messageInfo_TowerMonitorData.Size(m) } func (m *TowerMonitorData) XXX_DiscardUnknown() { xxx_messageInfo_TowerMonitorData.DiscardUnknown(m) } var xxx_messageInfo_TowerMonitorData proto.InternalMessageInfo func (m *TowerMonitorData) GetDate() string { if m != nil { return m.Date } return "" } func (m *TowerMonitorData) GetBackTurn() float64 { if m != nil { return m.BackTurn } return 0 } func (m *TowerMonitorData) GetScope() float64 { if m != nil { return m.Scope } return 0 } func (m *TowerMonitorData) GetHight() float64 { if m != nil { return m.Hight } return 0 } func (m *TowerMonitorData) GetWeight() float64 { if m != nil { return m.Weight } return 0 } func (m *TowerMonitorData) GetMoment() string { if m != nil { return m.Moment } return "" } func (m *TowerMonitorData) GetBattery() string { if m != nil { return m.Battery } return "" } func (m *TowerMonitorData) GetWindSpeed() float64 { if m != nil { return m.WindSpeed } return 0 } func (m *TowerMonitorData) GetAngleX() float64 { if m != nil { return m.AngleX } return 0 } func (m *TowerMonitorData) GetAngleY() float64 { if m != nil { return m.AngleY } return 0 } type LatestTowerMonitorDataRequest struct { Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn"` Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type"` ProjectId int64 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LatestTowerMonitorDataRequest) Reset() { *m = LatestTowerMonitorDataRequest{} } func (m *LatestTowerMonitorDataRequest) String() string { return proto.CompactTextString(m) } func (*LatestTowerMonitorDataRequest) ProtoMessage() {} func (*LatestTowerMonitorDataRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{1} } func (m *LatestTowerMonitorDataRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LatestTowerMonitorDataRequest.Unmarshal(m, b) } func (m *LatestTowerMonitorDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LatestTowerMonitorDataRequest.Marshal(b, m, deterministic) } func (m *LatestTowerMonitorDataRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_LatestTowerMonitorDataRequest.Merge(m, src) } func (m *LatestTowerMonitorDataRequest) XXX_Size() int { return xxx_messageInfo_LatestTowerMonitorDataRequest.Size(m) } func (m *LatestTowerMonitorDataRequest) XXX_DiscardUnknown() { xxx_messageInfo_LatestTowerMonitorDataRequest.DiscardUnknown(m) } var xxx_messageInfo_LatestTowerMonitorDataRequest proto.InternalMessageInfo func (m *LatestTowerMonitorDataRequest) GetSn() string { if m != nil { return m.Sn } return "" } func (m *LatestTowerMonitorDataRequest) GetType() int32 { if m != nil { return m.Type } return 0 } func (m *LatestTowerMonitorDataRequest) GetProjectId() int64 { if m != nil { return m.ProjectId } return 0 } type LatestTowerMonitorDataReply struct { Data *TowerMonitorData `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LatestTowerMonitorDataReply) Reset() { *m = LatestTowerMonitorDataReply{} } func (m *LatestTowerMonitorDataReply) String() string { return proto.CompactTextString(m) } func (*LatestTowerMonitorDataReply) ProtoMessage() {} func (*LatestTowerMonitorDataReply) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{2} } func (m *LatestTowerMonitorDataReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LatestTowerMonitorDataReply.Unmarshal(m, b) } func (m *LatestTowerMonitorDataReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LatestTowerMonitorDataReply.Marshal(b, m, deterministic) } func (m *LatestTowerMonitorDataReply) XXX_Merge(src proto.Message) { xxx_messageInfo_LatestTowerMonitorDataReply.Merge(m, src) } func (m *LatestTowerMonitorDataReply) XXX_Size() int { return xxx_messageInfo_LatestTowerMonitorDataReply.Size(m) } func (m *LatestTowerMonitorDataReply) XXX_DiscardUnknown() { xxx_messageInfo_LatestTowerMonitorDataReply.DiscardUnknown(m) } var xxx_messageInfo_LatestTowerMonitorDataReply proto.InternalMessageInfo func (m *LatestTowerMonitorDataReply) GetData() *TowerMonitorData { if m != nil { return m.Data } return nil } type TowerMonitorHistoryRequest struct { Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn"` Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start"` End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end"` Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page"` PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *TowerMonitorHistoryRequest) Reset() { *m = TowerMonitorHistoryRequest{} } func (m *TowerMonitorHistoryRequest) String() string { return proto.CompactTextString(m) } func (*TowerMonitorHistoryRequest) ProtoMessage() {} func (*TowerMonitorHistoryRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{3} } func (m *TowerMonitorHistoryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TowerMonitorHistoryRequest.Unmarshal(m, b) } func (m *TowerMonitorHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_TowerMonitorHistoryRequest.Marshal(b, m, deterministic) } func (m *TowerMonitorHistoryRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_TowerMonitorHistoryRequest.Merge(m, src) } func (m *TowerMonitorHistoryRequest) XXX_Size() int { return xxx_messageInfo_TowerMonitorHistoryRequest.Size(m) } func (m *TowerMonitorHistoryRequest) XXX_DiscardUnknown() { xxx_messageInfo_TowerMonitorHistoryRequest.DiscardUnknown(m) } var xxx_messageInfo_TowerMonitorHistoryRequest proto.InternalMessageInfo func (m *TowerMonitorHistoryRequest) GetSn() string { if m != nil { return m.Sn } return "" } func (m *TowerMonitorHistoryRequest) GetStart() int64 { if m != nil { return m.Start } return 0 } func (m *TowerMonitorHistoryRequest) GetEnd() int64 { if m != nil { return m.End } return 0 } func (m *TowerMonitorHistoryRequest) GetPage() int32 { if m != nil { return m.Page } return 0 } func (m *TowerMonitorHistoryRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } type TowerMonitorHistoryReply struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size"` List []*TowerMonitorData `protobuf:"bytes,4,rep,name=list,proto3" json:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *TowerMonitorHistoryReply) Reset() { *m = TowerMonitorHistoryReply{} } func (m *TowerMonitorHistoryReply) String() string { return proto.CompactTextString(m) } func (*TowerMonitorHistoryReply) ProtoMessage() {} func (*TowerMonitorHistoryReply) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{4} } func (m *TowerMonitorHistoryReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TowerMonitorHistoryReply.Unmarshal(m, b) } func (m *TowerMonitorHistoryReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_TowerMonitorHistoryReply.Marshal(b, m, deterministic) } func (m *TowerMonitorHistoryReply) XXX_Merge(src proto.Message) { xxx_messageInfo_TowerMonitorHistoryReply.Merge(m, src) } func (m *TowerMonitorHistoryReply) XXX_Size() int { return xxx_messageInfo_TowerMonitorHistoryReply.Size(m) } func (m *TowerMonitorHistoryReply) XXX_DiscardUnknown() { xxx_messageInfo_TowerMonitorHistoryReply.DiscardUnknown(m) } var xxx_messageInfo_TowerMonitorHistoryReply proto.InternalMessageInfo func (m *TowerMonitorHistoryReply) GetTotal() int64 { if m != nil { return m.Total } return 0 } func (m *TowerMonitorHistoryReply) GetPage() int32 { if m != nil { return m.Page } return 0 } func (m *TowerMonitorHistoryReply) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *TowerMonitorHistoryReply) GetList() []*TowerMonitorData { if m != nil { return m.List } return nil } type IotListItem struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Sn string `protobuf:"bytes,2,opt,name=sn,proto3" json:"sn"` State int32 `protobuf:"varint,3,opt,name=state,proto3" json:"state"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *IotListItem) Reset() { *m = IotListItem{} } func (m *IotListItem) String() string { return proto.CompactTextString(m) } func (*IotListItem) ProtoMessage() {} func (*IotListItem) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{5} } func (m *IotListItem) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IotListItem.Unmarshal(m, b) } func (m *IotListItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IotListItem.Marshal(b, m, deterministic) } func (m *IotListItem) XXX_Merge(src proto.Message) { xxx_messageInfo_IotListItem.Merge(m, src) } func (m *IotListItem) XXX_Size() int { return xxx_messageInfo_IotListItem.Size(m) } func (m *IotListItem) XXX_DiscardUnknown() { xxx_messageInfo_IotListItem.DiscardUnknown(m) } var xxx_messageInfo_IotListItem proto.InternalMessageInfo func (m *IotListItem) GetId() int64 { if m != nil { return m.Id } return 0 } func (m *IotListItem) GetSn() string { if m != nil { return m.Sn } return "" } func (m *IotListItem) GetState() int32 { if m != nil { return m.State } return 0 } func (m *IotListItem) GetName() string { if m != nil { return m.Name } return "" } type IotListRequest struct { ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size"` DeviceCode int32 `protobuf:"varint,4,opt,name=device_code,json=deviceCode,proto3" json:"device_code"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *IotListRequest) Reset() { *m = IotListRequest{} } func (m *IotListRequest) String() string { return proto.CompactTextString(m) } func (*IotListRequest) ProtoMessage() {} func (*IotListRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{6} } func (m *IotListRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IotListRequest.Unmarshal(m, b) } func (m *IotListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IotListRequest.Marshal(b, m, deterministic) } func (m *IotListRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_IotListRequest.Merge(m, src) } func (m *IotListRequest) XXX_Size() int { return xxx_messageInfo_IotListRequest.Size(m) } func (m *IotListRequest) XXX_DiscardUnknown() { xxx_messageInfo_IotListRequest.DiscardUnknown(m) } var xxx_messageInfo_IotListRequest proto.InternalMessageInfo func (m *IotListRequest) GetProjectId() int64 { if m != nil { return m.ProjectId } return 0 } func (m *IotListRequest) GetPage() int32 { if m != nil { return m.Page } return 0 } func (m *IotListRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *IotListRequest) GetDeviceCode() int32 { if m != nil { return m.DeviceCode } return 0 } type IotListReply struct { Online int64 `protobuf:"varint,1,opt,name=online,proto3" json:"online"` Offline int64 `protobuf:"varint,2,opt,name=offline,proto3" json:"offline"` Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total"` Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page"` PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size"` List []*IotListItem `protobuf:"bytes,6,rep,name=list,proto3" json:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *IotListReply) Reset() { *m = IotListReply{} } func (m *IotListReply) String() string { return proto.CompactTextString(m) } func (*IotListReply) ProtoMessage() {} func (*IotListReply) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{7} } func (m *IotListReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IotListReply.Unmarshal(m, b) } func (m *IotListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IotListReply.Marshal(b, m, deterministic) } func (m *IotListReply) XXX_Merge(src proto.Message) { xxx_messageInfo_IotListReply.Merge(m, src) } func (m *IotListReply) XXX_Size() int { return xxx_messageInfo_IotListReply.Size(m) } func (m *IotListReply) XXX_DiscardUnknown() { xxx_messageInfo_IotListReply.DiscardUnknown(m) } var xxx_messageInfo_IotListReply proto.InternalMessageInfo func (m *IotListReply) GetOnline() int64 { if m != nil { return m.Online } return 0 } func (m *IotListReply) GetOffline() int64 { if m != nil { return m.Offline } return 0 } func (m *IotListReply) GetTotal() int64 { if m != nil { return m.Total } return 0 } func (m *IotListReply) GetPage() int32 { if m != nil { return m.Page } return 0 } func (m *IotListReply) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } func (m *IotListReply) GetList() []*IotListItem { if m != nil { return m.List } return nil } type IotTypeListRequest struct { ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *IotTypeListRequest) Reset() { *m = IotTypeListRequest{} } func (m *IotTypeListRequest) String() string { return proto.CompactTextString(m) } func (*IotTypeListRequest) ProtoMessage() {} func (*IotTypeListRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{8} } func (m *IotTypeListRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IotTypeListRequest.Unmarshal(m, b) } func (m *IotTypeListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IotTypeListRequest.Marshal(b, m, deterministic) } func (m *IotTypeListRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_IotTypeListRequest.Merge(m, src) } func (m *IotTypeListRequest) XXX_Size() int { return xxx_messageInfo_IotTypeListRequest.Size(m) } func (m *IotTypeListRequest) XXX_DiscardUnknown() { xxx_messageInfo_IotTypeListRequest.DiscardUnknown(m) } var xxx_messageInfo_IotTypeListRequest proto.InternalMessageInfo func (m *IotTypeListRequest) GetProjectId() int64 { if m != nil { return m.ProjectId } return 0 } type IotTypeListItem struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` TypeCode int32 `protobuf:"varint,2,opt,name=type_code,json=typeCode,proto3" json:"type_code"` TypeName string `protobuf:"bytes,3,opt,name=type_name,json=typeName,proto3" json:"type_name"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *IotTypeListItem) Reset() { *m = IotTypeListItem{} } func (m *IotTypeListItem) String() string { return proto.CompactTextString(m) } func (*IotTypeListItem) ProtoMessage() {} func (*IotTypeListItem) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{9} } func (m *IotTypeListItem) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IotTypeListItem.Unmarshal(m, b) } func (m *IotTypeListItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IotTypeListItem.Marshal(b, m, deterministic) } func (m *IotTypeListItem) XXX_Merge(src proto.Message) { xxx_messageInfo_IotTypeListItem.Merge(m, src) } func (m *IotTypeListItem) XXX_Size() int { return xxx_messageInfo_IotTypeListItem.Size(m) } func (m *IotTypeListItem) XXX_DiscardUnknown() { xxx_messageInfo_IotTypeListItem.DiscardUnknown(m) } var xxx_messageInfo_IotTypeListItem proto.InternalMessageInfo func (m *IotTypeListItem) GetId() int64 { if m != nil { return m.Id } return 0 } func (m *IotTypeListItem) GetTypeCode() int32 { if m != nil { return m.TypeCode } return 0 } func (m *IotTypeListItem) GetTypeName() string { if m != nil { return m.TypeName } return "" } type IotTypeListReply struct { List []*IotTypeListItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *IotTypeListReply) Reset() { *m = IotTypeListReply{} } func (m *IotTypeListReply) String() string { return proto.CompactTextString(m) } func (*IotTypeListReply) ProtoMessage() {} func (*IotTypeListReply) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{10} } func (m *IotTypeListReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IotTypeListReply.Unmarshal(m, b) } func (m *IotTypeListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IotTypeListReply.Marshal(b, m, deterministic) } func (m *IotTypeListReply) XXX_Merge(src proto.Message) { xxx_messageInfo_IotTypeListReply.Merge(m, src) } func (m *IotTypeListReply) XXX_Size() int { return xxx_messageInfo_IotTypeListReply.Size(m) } func (m *IotTypeListReply) XXX_DiscardUnknown() { xxx_messageInfo_IotTypeListReply.DiscardUnknown(m) } var xxx_messageInfo_IotTypeListReply proto.InternalMessageInfo func (m *IotTypeListReply) GetList() []*IotTypeListItem { if m != nil { return m.List } return nil } type IotLastRequest struct { Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn"` ProjectId int64 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id"` DeviceCode int32 `protobuf:"varint,3,opt,name=device_code,json=deviceCode,proto3" json:"device_code"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *IotLastRequest) Reset() { *m = IotLastRequest{} } func (m *IotLastRequest) String() string { return proto.CompactTextString(m) } func (*IotLastRequest) ProtoMessage() {} func (*IotLastRequest) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{11} } func (m *IotLastRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IotLastRequest.Unmarshal(m, b) } func (m *IotLastRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IotLastRequest.Marshal(b, m, deterministic) } func (m *IotLastRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_IotLastRequest.Merge(m, src) } func (m *IotLastRequest) XXX_Size() int { return xxx_messageInfo_IotLastRequest.Size(m) } func (m *IotLastRequest) XXX_DiscardUnknown() { xxx_messageInfo_IotLastRequest.DiscardUnknown(m) } var xxx_messageInfo_IotLastRequest proto.InternalMessageInfo func (m *IotLastRequest) GetSn() string { if m != nil { return m.Sn } return "" } func (m *IotLastRequest) GetProjectId() int64 { if m != nil { return m.ProjectId } return 0 } func (m *IotLastRequest) GetDeviceCode() int32 { if m != nil { return m.DeviceCode } return 0 } type IotDataItem struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value"` Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *IotDataItem) Reset() { *m = IotDataItem{} } func (m *IotDataItem) String() string { return proto.CompactTextString(m) } func (*IotDataItem) ProtoMessage() {} func (*IotDataItem) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{12} } func (m *IotDataItem) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IotDataItem.Unmarshal(m, b) } func (m *IotDataItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IotDataItem.Marshal(b, m, deterministic) } func (m *IotDataItem) XXX_Merge(src proto.Message) { xxx_messageInfo_IotDataItem.Merge(m, src) } func (m *IotDataItem) XXX_Size() int { return xxx_messageInfo_IotDataItem.Size(m) } func (m *IotDataItem) XXX_DiscardUnknown() { xxx_messageInfo_IotDataItem.DiscardUnknown(m) } var xxx_messageInfo_IotDataItem proto.InternalMessageInfo func (m *IotDataItem) GetName() string { if m != nil { return m.Name } return "" } func (m *IotDataItem) GetValue() string { if m != nil { return m.Value } return "" } func (m *IotDataItem) GetUnit() string { if m != nil { return m.Unit } return "" } type IotLastReply struct { List []*IotDataItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"` Pic string `protobuf:"bytes,2,opt,name=pic,proto3" json:"pic"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *IotLastReply) Reset() { *m = IotLastReply{} } func (m *IotLastReply) String() string { return proto.CompactTextString(m) } func (*IotLastReply) ProtoMessage() {} func (*IotLastReply) Descriptor() ([]byte, []int) { return fileDescriptor_5b241158bb9fd8af, []int{13} } func (m *IotLastReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_IotLastReply.Unmarshal(m, b) } func (m *IotLastReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_IotLastReply.Marshal(b, m, deterministic) } func (m *IotLastReply) XXX_Merge(src proto.Message) { xxx_messageInfo_IotLastReply.Merge(m, src) } func (m *IotLastReply) XXX_Size() int { return xxx_messageInfo_IotLastReply.Size(m) } func (m *IotLastReply) XXX_DiscardUnknown() { xxx_messageInfo_IotLastReply.DiscardUnknown(m) } var xxx_messageInfo_IotLastReply proto.InternalMessageInfo func (m *IotLastReply) GetList() []*IotDataItem { if m != nil { return m.List } return nil } func (m *IotLastReply) GetPic() string { if m != nil { return m.Pic } return "" } func init() { proto.RegisterType((*TowerMonitorData)(nil), "v1.TowerMonitorData") proto.RegisterType((*LatestTowerMonitorDataRequest)(nil), "v1.LatestTowerMonitorDataRequest") proto.RegisterType((*LatestTowerMonitorDataReply)(nil), "v1.LatestTowerMonitorDataReply") proto.RegisterType((*TowerMonitorHistoryRequest)(nil), "v1.TowerMonitorHistoryRequest") proto.RegisterType((*TowerMonitorHistoryReply)(nil), "v1.TowerMonitorHistoryReply") proto.RegisterType((*IotListItem)(nil), "v1.IotListItem") proto.RegisterType((*IotListRequest)(nil), "v1.IotListRequest") proto.RegisterType((*IotListReply)(nil), "v1.IotListReply") proto.RegisterType((*IotTypeListRequest)(nil), "v1.IotTypeListRequest") proto.RegisterType((*IotTypeListItem)(nil), "v1.IotTypeListItem") proto.RegisterType((*IotTypeListReply)(nil), "v1.IotTypeListReply") proto.RegisterType((*IotLastRequest)(nil), "v1.IotLastRequest") proto.RegisterType((*IotDataItem)(nil), "v1.IotDataItem") proto.RegisterType((*IotLastReply)(nil), "v1.IotLastReply") } func init() { proto.RegisterFile("tower.proto", fileDescriptor_5b241158bb9fd8af) } var fileDescriptor_5b241158bb9fd8af = []byte{ // 695 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xcd, 0x4f, 0xdb, 0x4e, 0x10, 0x95, 0x6d, 0x12, 0x92, 0xcd, 0x4f, 0x80, 0xfc, 0x43, 0xd4, 0x2a, 0x42, 0x45, 0x46, 0x55, 0xb9, 0x00, 0xa2, 0x1c, 0x7b, 0xeb, 0x87, 0xda, 0xa8, 0xb4, 0x07, 0x83, 0xd4, 0xaf, 0x43, 0xba, 0x89, 0x87, 0xb0, 0x6d, 0xb2, 0xeb, 0xda, 0x93, 0xa4, 0xe6, 0xd6, 0x43, 0x2f, 0xed, 0xbf, 0xd2, 0x3f, 0xb2, 0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