Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDljGrpcServiceServer(s grpc.ServiceRegistrar, srv DljGrpcServiceServer)
- func RegisterDljMappingGrpcServiceServer(s grpc.ServiceRegistrar, srv DljMappingGrpcServiceServer)
- type CalcFlyLineResult
- func (*CalcFlyLineResult) Descriptor() ([]byte, []int)deprecated
- func (x *CalcFlyLineResult) GetMissionDetails() []*GeographicPoint
- func (x *CalcFlyLineResult) GetStartPoint() *GeographicPoint
- func (x *CalcFlyLineResult) GetWayline() *Wayline
- func (x *CalcFlyLineResult) GetWaylineList() []*Wayline
- func (*CalcFlyLineResult) ProtoMessage()
- func (x *CalcFlyLineResult) ProtoReflect() protoreflect.Message
- func (x *CalcFlyLineResult) Reset()
- func (x *CalcFlyLineResult) String() string
- type CreateFlyLinePara
- func (*CreateFlyLinePara) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFlyLinePara) GetMissionWayData() []byte
- func (*CreateFlyLinePara) ProtoMessage()
- func (x *CreateFlyLinePara) ProtoReflect() protoreflect.Message
- func (x *CreateFlyLinePara) Reset()
- func (x *CreateFlyLinePara) String() string
- type CreateFlyLineResult
- func (*CreateFlyLineResult) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFlyLineResult) GetFileMD5() string
- func (x *CreateFlyLineResult) GetFlightLineId() uint32
- func (x *CreateFlyLineResult) GetLineName() string
- func (x *CreateFlyLineResult) GetUrl() string
- func (x *CreateFlyLineResult) GetUuid() string
- func (*CreateFlyLineResult) ProtoMessage()
- func (x *CreateFlyLineResult) ProtoReflect() protoreflect.Message
- func (x *CreateFlyLineResult) Reset()
- func (x *CreateFlyLineResult) String() string
- type DLJBoolResult
- type DljGrpcServiceClient
- type DljGrpcServiceServer
- type DljMappingGrpcServiceClient
- type DljMappingGrpcServiceServer
- type DroneIdentifyPara
- func (*DroneIdentifyPara) Descriptor() ([]byte, []int)deprecated
- func (x *DroneIdentifyPara) GetDroneSn() string
- func (x *DroneIdentifyPara) GetSource() string
- func (x *DroneIdentifyPara) GetStation() int32
- func (*DroneIdentifyPara) ProtoMessage()
- func (x *DroneIdentifyPara) ProtoReflect() protoreflect.Message
- func (x *DroneIdentifyPara) Reset()
- func (x *DroneIdentifyPara) String() string
- type DroneIdentifyResult
- func (*DroneIdentifyResult) Descriptor() ([]byte, []int)deprecated
- func (x *DroneIdentifyResult) GetIdentifyResult() []byte
- func (*DroneIdentifyResult) ProtoMessage()
- func (x *DroneIdentifyResult) ProtoReflect() protoreflect.Message
- func (x *DroneIdentifyResult) Reset()
- func (x *DroneIdentifyResult) String() string
- type ExecuteWayPara
- func (*ExecuteWayPara) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteWayPara) GetBatteryCapacity() int32
- func (x *ExecuteWayPara) GetCompany() string
- func (x *ExecuteWayPara) GetExecuteTime() string
- func (x *ExecuteWayPara) GetFlightLineId() uint32
- func (x *ExecuteWayPara) GetName() string
- func (x *ExecuteWayPara) GetOutOfControlAction() int32
- func (x *ExecuteWayPara) GetRthAltitude() int32
- func (x *ExecuteWayPara) GetSn() string
- func (x *ExecuteWayPara) GetStorageCapacity() int32
- func (x *ExecuteWayPara) GetTaskType() int32
- func (x *ExecuteWayPara) GetToken() string
- func (x *ExecuteWayPara) GetUUID() string
- func (x *ExecuteWayPara) GetWayLineType() int32
- func (x *ExecuteWayPara) GetWaypoints() []byte
- func (*ExecuteWayPara) ProtoMessage()
- func (x *ExecuteWayPara) ProtoReflect() protoreflect.Message
- func (x *ExecuteWayPara) Reset()
- func (x *ExecuteWayPara) String() string
- type ExecuteWayResult
- func (*ExecuteWayResult) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteWayResult) GetFlightTaskId() int32
- func (x *ExecuteWayResult) GetMessage() string
- func (x *ExecuteWayResult) GetRes() bool
- func (*ExecuteWayResult) ProtoMessage()
- func (x *ExecuteWayResult) ProtoReflect() protoreflect.Message
- func (x *ExecuteWayResult) Reset()
- func (x *ExecuteWayResult) String() string
- type FlightDataTaskPara
- func (*FlightDataTaskPara) Descriptor() ([]byte, []int)deprecated
- func (x *FlightDataTaskPara) GetDroneSn() string
- func (x *FlightDataTaskPara) GetUUID() string
- func (*FlightDataTaskPara) ProtoMessage()
- func (x *FlightDataTaskPara) ProtoReflect() protoreflect.Message
- func (x *FlightDataTaskPara) Reset()
- func (x *FlightDataTaskPara) String() string
- type FlightDataTaskResult
- func (*FlightDataTaskResult) Descriptor() ([]byte, []int)deprecated
- func (x *FlightDataTaskResult) GetTaskId() int32
- func (*FlightDataTaskResult) ProtoMessage()
- func (x *FlightDataTaskResult) ProtoReflect() protoreflect.Message
- func (x *FlightDataTaskResult) Reset()
- func (x *FlightDataTaskResult) String() string
- type GeographicPoint
- func (*GeographicPoint) Descriptor() ([]byte, []int)deprecated
- func (x *GeographicPoint) GetAltitude() float64
- func (x *GeographicPoint) GetLatitude() float64
- func (x *GeographicPoint) GetLongitude() float64
- func (*GeographicPoint) ProtoMessage()
- func (x *GeographicPoint) ProtoReflect() protoreflect.Message
- func (x *GeographicPoint) Reset()
- func (x *GeographicPoint) String() string
- type LiveCapacityPara
- func (*LiveCapacityPara) Descriptor() ([]byte, []int)deprecated
- func (x *LiveCapacityPara) GetSn() string
- func (x *LiveCapacityPara) GetUrl() string
- func (x *LiveCapacityPara) GetVideoMd5() string
- func (*LiveCapacityPara) ProtoMessage()
- func (x *LiveCapacityPara) ProtoReflect() protoreflect.Message
- func (x *LiveCapacityPara) Reset()
- func (x *LiveCapacityPara) String() string
- type RequestData
- type UnimplementedDljGrpcServiceServer
- func (UnimplementedDljGrpcServiceServer) CreateFlightDataTask(context.Context, *FlightDataTaskPara) (*FlightDataTaskResult, error)
- func (UnimplementedDljGrpcServiceServer) CreateFlyKml(context.Context, *CreateFlyLinePara) (*CreateFlyLineResult, error)
- func (UnimplementedDljGrpcServiceServer) CreateFlyLine(context.Context, *CreateFlyLinePara) (*CreateFlyLineResult, error)
- func (UnimplementedDljGrpcServiceServer) ExecuteMissionWay(context.Context, *ExecuteWayPara) (*ExecuteWayResult, error)
- func (UnimplementedDljGrpcServiceServer) GetDroneVideoIdentifier(context.Context, *DroneIdentifyPara) (*DroneIdentifyResult, error)
- func (UnimplementedDljGrpcServiceServer) UpdateDLJLiveCapacity(context.Context, *LiveCapacityPara) (*DLJBoolResult, error)
- type UnimplementedDljMappingGrpcServiceServer
- type UnsafeDljGrpcServiceServer
- type UnsafeDljMappingGrpcServiceServer
- type Wayline
- func (*Wayline) Descriptor() ([]byte, []int)deprecated
- func (x *Wayline) GetArea() float64
- func (x *Wayline) GetDistance() float64
- func (x *Wayline) GetDuration() float64
- func (x *Wayline) GetTotalPhoto() int32
- func (x *Wayline) GetWaylines() []*GeographicPoint
- func (*Wayline) ProtoMessage()
- func (x *Wayline) ProtoReflect() protoreflect.Message
- func (x *Wayline) Reset()
- func (x *Wayline) String() string
- type Waypoint
- func (*Waypoint) Descriptor() ([]byte, []int)deprecated
- func (x *Waypoint) GetAltitude() float32
- func (x *Waypoint) GetIndex() int32
- func (x *Waypoint) GetLatitude() float32
- func (x *Waypoint) GetLongitude() float32
- func (*Waypoint) ProtoMessage()
- func (x *Waypoint) ProtoReflect() protoreflect.Message
- func (x *Waypoint) Reset()
- func (x *Waypoint) String() string
Constants ¶
const ( DljGrpcService_CreateFlyLine_FullMethodName = "/dlj_grpc.DljGrpcService/CreateFlyLine" DljGrpcService_CreateFlyKml_FullMethodName = "/dlj_grpc.DljGrpcService/CreateFlyKml" DljGrpcService_ExecuteMissionWay_FullMethodName = "/dlj_grpc.DljGrpcService/ExecuteMissionWay" DljGrpcService_GetDroneVideoIdentifier_FullMethodName = "/dlj_grpc.DljGrpcService/GetDroneVideoIdentifier" DljGrpcService_CreateFlightDataTask_FullMethodName = "/dlj_grpc.DljGrpcService/CreateFlightDataTask" DljGrpcService_UpdateDLJLiveCapacity_FullMethodName = "/dlj_grpc.DljGrpcService/UpdateDLJLiveCapacity" )
const ( DljMappingGrpcService_CalcFlyLineMapping_FullMethodName = "/dlj_grpc_mapping.DljMappingGrpcService/CalcFlyLineMapping" DljMappingGrpcService_CalcInclinedFlyLineMapping_FullMethodName = "/dlj_grpc_mapping.DljMappingGrpcService/CalcInclinedFlyLineMapping" )
Variables ¶
var DljGrpcService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dlj_grpc.DljGrpcService", HandlerType: (*DljGrpcServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateFlyLine", Handler: _DljGrpcService_CreateFlyLine_Handler, }, { MethodName: "CreateFlyKml", Handler: _DljGrpcService_CreateFlyKml_Handler, }, { MethodName: "ExecuteMissionWay", Handler: _DljGrpcService_ExecuteMissionWay_Handler, }, { MethodName: "GetDroneVideoIdentifier", Handler: _DljGrpcService_GetDroneVideoIdentifier_Handler, }, { MethodName: "CreateFlightDataTask", Handler: _DljGrpcService_CreateFlightDataTask_Handler, }, { MethodName: "UpdateDLJLiveCapacity", Handler: _DljGrpcService_UpdateDLJLiveCapacity_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "dlj_grpc.proto", }
DljGrpcService_ServiceDesc is the grpc.ServiceDesc for DljGrpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DljMappingGrpcService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dlj_grpc_mapping.DljMappingGrpcService", HandlerType: (*DljMappingGrpcServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CalcFlyLineMapping", Handler: _DljMappingGrpcService_CalcFlyLineMapping_Handler, }, { MethodName: "CalcInclinedFlyLineMapping", Handler: _DljMappingGrpcService_CalcInclinedFlyLineMapping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "dlj_grpc_mapping.proto", }
DljMappingGrpcService_ServiceDesc is the grpc.ServiceDesc for DljMappingGrpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_dlj_grpc_mapping_proto protoreflect.FileDescriptor
var File_dlj_grpc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDljGrpcServiceServer ¶
func RegisterDljGrpcServiceServer(s grpc.ServiceRegistrar, srv DljGrpcServiceServer)
func RegisterDljMappingGrpcServiceServer ¶ added in v1.5.9
func RegisterDljMappingGrpcServiceServer(s grpc.ServiceRegistrar, srv DljMappingGrpcServiceServer)
Types ¶
type CalcFlyLineResult ¶ added in v1.5.9
type CalcFlyLineResult struct {
MissionDetails []*GeographicPoint `protobuf:"bytes,1,rep,name=missionDetails,proto3" json:"missionDetails,omitempty"`
Wayline *Wayline `protobuf:"bytes,2,opt,name=wayline,proto3" json:"wayline,omitempty"`
StartPoint *GeographicPoint `protobuf:"bytes,3,opt,name=startPoint,proto3" json:"startPoint,omitempty"`
WaylineList []*Wayline `protobuf:"bytes,4,rep,name=waylineList,proto3" json:"waylineList,omitempty"`
// contains filtered or unexported fields
}
message CalcFlyLinePara {
string drone =1;
}
func (*CalcFlyLineResult) Descriptor
deprecated
added in
v1.5.9
func (*CalcFlyLineResult) Descriptor() ([]byte, []int)
Deprecated: Use CalcFlyLineResult.ProtoReflect.Descriptor instead.
func (*CalcFlyLineResult) GetMissionDetails ¶ added in v1.5.9
func (x *CalcFlyLineResult) GetMissionDetails() []*GeographicPoint
func (*CalcFlyLineResult) GetStartPoint ¶ added in v1.5.9
func (x *CalcFlyLineResult) GetStartPoint() *GeographicPoint
func (*CalcFlyLineResult) GetWayline ¶ added in v1.5.9
func (x *CalcFlyLineResult) GetWayline() *Wayline
func (*CalcFlyLineResult) GetWaylineList ¶ added in v1.5.9
func (x *CalcFlyLineResult) GetWaylineList() []*Wayline
func (*CalcFlyLineResult) ProtoMessage ¶ added in v1.5.9
func (*CalcFlyLineResult) ProtoMessage()
func (*CalcFlyLineResult) ProtoReflect ¶ added in v1.5.9
func (x *CalcFlyLineResult) ProtoReflect() protoreflect.Message
func (*CalcFlyLineResult) Reset ¶ added in v1.5.9
func (x *CalcFlyLineResult) Reset()
func (*CalcFlyLineResult) String ¶ added in v1.5.9
func (x *CalcFlyLineResult) String() string
type CreateFlyLinePara ¶
type CreateFlyLinePara struct {
MissionWayData []byte `protobuf:"bytes,1,opt,name=MissionWayData,proto3" json:"MissionWayData,omitempty"`
// contains filtered or unexported fields
}
func (*CreateFlyLinePara) Descriptor
deprecated
func (*CreateFlyLinePara) Descriptor() ([]byte, []int)
Deprecated: Use CreateFlyLinePara.ProtoReflect.Descriptor instead.
func (*CreateFlyLinePara) GetMissionWayData ¶
func (x *CreateFlyLinePara) GetMissionWayData() []byte
func (*CreateFlyLinePara) ProtoMessage ¶
func (*CreateFlyLinePara) ProtoMessage()
func (*CreateFlyLinePara) ProtoReflect ¶
func (x *CreateFlyLinePara) ProtoReflect() protoreflect.Message
func (*CreateFlyLinePara) Reset ¶
func (x *CreateFlyLinePara) Reset()
func (*CreateFlyLinePara) String ¶
func (x *CreateFlyLinePara) String() string
type CreateFlyLineResult ¶
type CreateFlyLineResult struct {
FlightLineId uint32 `protobuf:"varint,1,opt,name=FlightLineId,proto3" json:"FlightLineId,omitempty"`
LineName string `protobuf:"bytes,2,opt,name=lineName,proto3" json:"lineName,omitempty"`
Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"`
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
FileMD5 string `protobuf:"bytes,5,opt,name=fileMD5,proto3" json:"fileMD5,omitempty"`
// contains filtered or unexported fields
}
func (*CreateFlyLineResult) Descriptor
deprecated
func (*CreateFlyLineResult) Descriptor() ([]byte, []int)
Deprecated: Use CreateFlyLineResult.ProtoReflect.Descriptor instead.
func (*CreateFlyLineResult) GetFileMD5 ¶
func (x *CreateFlyLineResult) GetFileMD5() string
func (*CreateFlyLineResult) GetFlightLineId ¶
func (x *CreateFlyLineResult) GetFlightLineId() uint32
func (*CreateFlyLineResult) GetLineName ¶
func (x *CreateFlyLineResult) GetLineName() string
func (*CreateFlyLineResult) GetUrl ¶
func (x *CreateFlyLineResult) GetUrl() string
func (*CreateFlyLineResult) GetUuid ¶
func (x *CreateFlyLineResult) GetUuid() string
func (*CreateFlyLineResult) ProtoMessage ¶
func (*CreateFlyLineResult) ProtoMessage()
func (*CreateFlyLineResult) ProtoReflect ¶
func (x *CreateFlyLineResult) ProtoReflect() protoreflect.Message
func (*CreateFlyLineResult) Reset ¶
func (x *CreateFlyLineResult) Reset()
func (*CreateFlyLineResult) String ¶
func (x *CreateFlyLineResult) String() string
type DLJBoolResult ¶ added in v1.8.13
type DLJBoolResult struct {
Res bool `protobuf:"varint,1,opt,name=res,proto3" json:"res,omitempty"`
// contains filtered or unexported fields
}
func (*DLJBoolResult) Descriptor
deprecated
added in
v1.8.13
func (*DLJBoolResult) Descriptor() ([]byte, []int)
Deprecated: Use DLJBoolResult.ProtoReflect.Descriptor instead.
func (*DLJBoolResult) GetRes ¶ added in v1.8.13
func (x *DLJBoolResult) GetRes() bool
func (*DLJBoolResult) ProtoMessage ¶ added in v1.8.13
func (*DLJBoolResult) ProtoMessage()
func (*DLJBoolResult) ProtoReflect ¶ added in v1.8.13
func (x *DLJBoolResult) ProtoReflect() protoreflect.Message
func (*DLJBoolResult) Reset ¶ added in v1.8.13
func (x *DLJBoolResult) Reset()
func (*DLJBoolResult) String ¶ added in v1.8.13
func (x *DLJBoolResult) String() string
type DljGrpcServiceClient ¶
type DljGrpcServiceClient interface {
CreateFlyLine(ctx context.Context, in *CreateFlyLinePara, opts ...grpc.CallOption) (*CreateFlyLineResult, error)
CreateFlyKml(ctx context.Context, in *CreateFlyLinePara, opts ...grpc.CallOption) (*CreateFlyLineResult, error)
ExecuteMissionWay(ctx context.Context, in *ExecuteWayPara, opts ...grpc.CallOption) (*ExecuteWayResult, error)
GetDroneVideoIdentifier(ctx context.Context, in *DroneIdentifyPara, opts ...grpc.CallOption) (*DroneIdentifyResult, error)
CreateFlightDataTask(ctx context.Context, in *FlightDataTaskPara, opts ...grpc.CallOption) (*FlightDataTaskResult, error)
UpdateDLJLiveCapacity(ctx context.Context, in *LiveCapacityPara, opts ...grpc.CallOption) (*DLJBoolResult, error)
}
DljGrpcServiceClient is the client API for DljGrpcService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDljGrpcServiceClient ¶
func NewDljGrpcServiceClient(cc grpc.ClientConnInterface) DljGrpcServiceClient
type DljGrpcServiceServer ¶
type DljGrpcServiceServer interface {
CreateFlyLine(context.Context, *CreateFlyLinePara) (*CreateFlyLineResult, error)
CreateFlyKml(context.Context, *CreateFlyLinePara) (*CreateFlyLineResult, error)
ExecuteMissionWay(context.Context, *ExecuteWayPara) (*ExecuteWayResult, error)
GetDroneVideoIdentifier(context.Context, *DroneIdentifyPara) (*DroneIdentifyResult, error)
CreateFlightDataTask(context.Context, *FlightDataTaskPara) (*FlightDataTaskResult, error)
UpdateDLJLiveCapacity(context.Context, *LiveCapacityPara) (*DLJBoolResult, error)
// contains filtered or unexported methods
}
DljGrpcServiceServer is the server API for DljGrpcService service. All implementations must embed UnimplementedDljGrpcServiceServer for forward compatibility.
type DljMappingGrpcServiceClient ¶ added in v1.5.9
type DljMappingGrpcServiceClient interface {
// rpc CalcGsdMapping(CalcFlyLinePara) returns (CalcGsdResult) {}
CalcFlyLineMapping(ctx context.Context, in *RequestData, opts ...grpc.CallOption) (*CalcFlyLineResult, error)
CalcInclinedFlyLineMapping(ctx context.Context, in *RequestData, opts ...grpc.CallOption) (*CalcFlyLineResult, error)
}
DljMappingGrpcServiceClient is the client API for DljMappingGrpcService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDljMappingGrpcServiceClient ¶ added in v1.5.9
func NewDljMappingGrpcServiceClient(cc grpc.ClientConnInterface) DljMappingGrpcServiceClient
type DljMappingGrpcServiceServer ¶ added in v1.5.9
type DljMappingGrpcServiceServer interface {
// rpc CalcGsdMapping(CalcFlyLinePara) returns (CalcGsdResult) {}
CalcFlyLineMapping(context.Context, *RequestData) (*CalcFlyLineResult, error)
CalcInclinedFlyLineMapping(context.Context, *RequestData) (*CalcFlyLineResult, error)
// contains filtered or unexported methods
}
DljMappingGrpcServiceServer is the server API for DljMappingGrpcService service. All implementations must embed UnimplementedDljMappingGrpcServiceServer for forward compatibility.
type DroneIdentifyPara ¶ added in v1.7.4
type DroneIdentifyPara struct {
DroneSn string `protobuf:"bytes,1,opt,name=DroneSn,proto3" json:"DroneSn,omitempty"`
Source string `protobuf:"bytes,2,opt,name=Source,proto3" json:"Source,omitempty"`
Station int32 `protobuf:"varint,3,opt,name=Station,proto3" json:"Station,omitempty"`
// contains filtered or unexported fields
}
func (*DroneIdentifyPara) Descriptor
deprecated
added in
v1.7.4
func (*DroneIdentifyPara) Descriptor() ([]byte, []int)
Deprecated: Use DroneIdentifyPara.ProtoReflect.Descriptor instead.
func (*DroneIdentifyPara) GetDroneSn ¶ added in v1.7.4
func (x *DroneIdentifyPara) GetDroneSn() string
func (*DroneIdentifyPara) GetSource ¶ added in v1.7.4
func (x *DroneIdentifyPara) GetSource() string
func (*DroneIdentifyPara) GetStation ¶ added in v1.7.5
func (x *DroneIdentifyPara) GetStation() int32
func (*DroneIdentifyPara) ProtoMessage ¶ added in v1.7.4
func (*DroneIdentifyPara) ProtoMessage()
func (*DroneIdentifyPara) ProtoReflect ¶ added in v1.7.4
func (x *DroneIdentifyPara) ProtoReflect() protoreflect.Message
func (*DroneIdentifyPara) Reset ¶ added in v1.7.4
func (x *DroneIdentifyPara) Reset()
func (*DroneIdentifyPara) String ¶ added in v1.7.4
func (x *DroneIdentifyPara) String() string
type DroneIdentifyResult ¶ added in v1.7.4
type DroneIdentifyResult struct {
IdentifyResult []byte `protobuf:"bytes,1,opt,name=IdentifyResult,proto3" json:"IdentifyResult,omitempty"`
// contains filtered or unexported fields
}
func (*DroneIdentifyResult) Descriptor
deprecated
added in
v1.7.4
func (*DroneIdentifyResult) Descriptor() ([]byte, []int)
Deprecated: Use DroneIdentifyResult.ProtoReflect.Descriptor instead.
func (*DroneIdentifyResult) GetIdentifyResult ¶ added in v1.7.4
func (x *DroneIdentifyResult) GetIdentifyResult() []byte
func (*DroneIdentifyResult) ProtoMessage ¶ added in v1.7.4
func (*DroneIdentifyResult) ProtoMessage()
func (*DroneIdentifyResult) ProtoReflect ¶ added in v1.7.4
func (x *DroneIdentifyResult) ProtoReflect() protoreflect.Message
func (*DroneIdentifyResult) Reset ¶ added in v1.7.4
func (x *DroneIdentifyResult) Reset()
func (*DroneIdentifyResult) String ¶ added in v1.7.4
func (x *DroneIdentifyResult) String() string
type ExecuteWayPara ¶
type ExecuteWayPara struct {
Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn,omitempty"`
FlightLineId uint32 `protobuf:"varint,2,opt,name=flightLineId,proto3" json:"flightLineId,omitempty"`
ExecuteTime string `protobuf:"bytes,3,opt,name=executeTime,proto3" json:"executeTime,omitempty"`
TaskType int32 `protobuf:"varint,4,opt,name=taskType,proto3" json:"taskType,omitempty"`
WayLineType int32 `protobuf:"varint,5,opt,name=wayLineType,proto3" json:"wayLineType,omitempty"`
BatteryCapacity int32 `protobuf:"varint,6,opt,name=batteryCapacity,proto3" json:"batteryCapacity,omitempty"`
StorageCapacity int32 `protobuf:"varint,7,opt,name=storageCapacity,proto3" json:"storageCapacity,omitempty"`
RthAltitude int32 `protobuf:"varint,8,opt,name=rthAltitude,proto3" json:"rthAltitude,omitempty"`
OutOfControlAction int32 `protobuf:"varint,9,opt,name=outOfControlAction,proto3" json:"outOfControlAction,omitempty"`
Company string `protobuf:"bytes,10,opt,name=company,proto3" json:"company,omitempty"`
Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`
Token string `protobuf:"bytes,12,opt,name=token,proto3" json:"token,omitempty"`
UUID string `protobuf:"bytes,13,opt,name=UUID,proto3" json:"UUID,omitempty"`
Waypoints []byte `protobuf:"bytes,14,opt,name=Waypoints,proto3" json:"Waypoints,omitempty"`
// contains filtered or unexported fields
}
func (*ExecuteWayPara) Descriptor
deprecated
func (*ExecuteWayPara) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteWayPara.ProtoReflect.Descriptor instead.
func (*ExecuteWayPara) GetBatteryCapacity ¶
func (x *ExecuteWayPara) GetBatteryCapacity() int32
func (*ExecuteWayPara) GetCompany ¶
func (x *ExecuteWayPara) GetCompany() string
func (*ExecuteWayPara) GetExecuteTime ¶
func (x *ExecuteWayPara) GetExecuteTime() string
func (*ExecuteWayPara) GetFlightLineId ¶
func (x *ExecuteWayPara) GetFlightLineId() uint32
func (*ExecuteWayPara) GetName ¶
func (x *ExecuteWayPara) GetName() string
func (*ExecuteWayPara) GetOutOfControlAction ¶
func (x *ExecuteWayPara) GetOutOfControlAction() int32
func (*ExecuteWayPara) GetRthAltitude ¶
func (x *ExecuteWayPara) GetRthAltitude() int32
func (*ExecuteWayPara) GetSn ¶
func (x *ExecuteWayPara) GetSn() string
func (*ExecuteWayPara) GetStorageCapacity ¶
func (x *ExecuteWayPara) GetStorageCapacity() int32
func (*ExecuteWayPara) GetTaskType ¶
func (x *ExecuteWayPara) GetTaskType() int32
func (*ExecuteWayPara) GetToken ¶
func (x *ExecuteWayPara) GetToken() string
func (*ExecuteWayPara) GetUUID ¶
func (x *ExecuteWayPara) GetUUID() string
func (*ExecuteWayPara) GetWayLineType ¶
func (x *ExecuteWayPara) GetWayLineType() int32
func (*ExecuteWayPara) GetWaypoints ¶ added in v1.5.21
func (x *ExecuteWayPara) GetWaypoints() []byte
func (*ExecuteWayPara) ProtoMessage ¶
func (*ExecuteWayPara) ProtoMessage()
func (*ExecuteWayPara) ProtoReflect ¶
func (x *ExecuteWayPara) ProtoReflect() protoreflect.Message
func (*ExecuteWayPara) Reset ¶
func (x *ExecuteWayPara) Reset()
func (*ExecuteWayPara) String ¶
func (x *ExecuteWayPara) String() string
type ExecuteWayResult ¶
type ExecuteWayResult struct {
Res bool `protobuf:"varint,1,opt,name=res,proto3" json:"res,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
FlightTaskId int32 `protobuf:"varint,3,opt,name=flightTaskId,proto3" json:"flightTaskId,omitempty"`
// contains filtered or unexported fields
}
func (*ExecuteWayResult) Descriptor
deprecated
func (*ExecuteWayResult) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteWayResult.ProtoReflect.Descriptor instead.
func (*ExecuteWayResult) GetFlightTaskId ¶
func (x *ExecuteWayResult) GetFlightTaskId() int32
func (*ExecuteWayResult) GetMessage ¶
func (x *ExecuteWayResult) GetMessage() string
func (*ExecuteWayResult) GetRes ¶
func (x *ExecuteWayResult) GetRes() bool
func (*ExecuteWayResult) ProtoMessage ¶
func (*ExecuteWayResult) ProtoMessage()
func (*ExecuteWayResult) ProtoReflect ¶
func (x *ExecuteWayResult) ProtoReflect() protoreflect.Message
func (*ExecuteWayResult) Reset ¶
func (x *ExecuteWayResult) Reset()
func (*ExecuteWayResult) String ¶
func (x *ExecuteWayResult) String() string
type FlightDataTaskPara ¶ added in v1.7.6
type FlightDataTaskPara struct {
DroneSn string `protobuf:"bytes,1,opt,name=DroneSn,proto3" json:"DroneSn,omitempty"`
UUID string `protobuf:"bytes,2,opt,name=UUID,proto3" json:"UUID,omitempty"`
// contains filtered or unexported fields
}
func (*FlightDataTaskPara) Descriptor
deprecated
added in
v1.7.6
func (*FlightDataTaskPara) Descriptor() ([]byte, []int)
Deprecated: Use FlightDataTaskPara.ProtoReflect.Descriptor instead.
func (*FlightDataTaskPara) GetDroneSn ¶ added in v1.7.6
func (x *FlightDataTaskPara) GetDroneSn() string
func (*FlightDataTaskPara) GetUUID ¶ added in v1.7.7
func (x *FlightDataTaskPara) GetUUID() string
func (*FlightDataTaskPara) ProtoMessage ¶ added in v1.7.6
func (*FlightDataTaskPara) ProtoMessage()
func (*FlightDataTaskPara) ProtoReflect ¶ added in v1.7.6
func (x *FlightDataTaskPara) ProtoReflect() protoreflect.Message
func (*FlightDataTaskPara) Reset ¶ added in v1.7.6
func (x *FlightDataTaskPara) Reset()
func (*FlightDataTaskPara) String ¶ added in v1.7.6
func (x *FlightDataTaskPara) String() string
type FlightDataTaskResult ¶ added in v1.7.6
type FlightDataTaskResult struct {
TaskId int32 `protobuf:"varint,1,opt,name=TaskId,proto3" json:"TaskId,omitempty"`
// contains filtered or unexported fields
}
func (*FlightDataTaskResult) Descriptor
deprecated
added in
v1.7.6
func (*FlightDataTaskResult) Descriptor() ([]byte, []int)
Deprecated: Use FlightDataTaskResult.ProtoReflect.Descriptor instead.
func (*FlightDataTaskResult) GetTaskId ¶ added in v1.7.6
func (x *FlightDataTaskResult) GetTaskId() int32
func (*FlightDataTaskResult) ProtoMessage ¶ added in v1.7.6
func (*FlightDataTaskResult) ProtoMessage()
func (*FlightDataTaskResult) ProtoReflect ¶ added in v1.7.6
func (x *FlightDataTaskResult) ProtoReflect() protoreflect.Message
func (*FlightDataTaskResult) Reset ¶ added in v1.7.6
func (x *FlightDataTaskResult) Reset()
func (*FlightDataTaskResult) String ¶ added in v1.7.6
func (x *FlightDataTaskResult) String() string
type GeographicPoint ¶ added in v1.5.9
type GeographicPoint struct {
Longitude float64 `protobuf:"fixed64,1,opt,name=longitude,proto3" json:"longitude,omitempty"`
Latitude float64 `protobuf:"fixed64,2,opt,name=latitude,proto3" json:"latitude,omitempty"`
Altitude float64 `protobuf:"fixed64,3,opt,name=altitude,proto3" json:"altitude,omitempty"`
// contains filtered or unexported fields
}
func (*GeographicPoint) Descriptor
deprecated
added in
v1.5.9
func (*GeographicPoint) Descriptor() ([]byte, []int)
Deprecated: Use GeographicPoint.ProtoReflect.Descriptor instead.
func (*GeographicPoint) GetAltitude ¶ added in v1.5.9
func (x *GeographicPoint) GetAltitude() float64
func (*GeographicPoint) GetLatitude ¶ added in v1.5.9
func (x *GeographicPoint) GetLatitude() float64
func (*GeographicPoint) GetLongitude ¶ added in v1.5.9
func (x *GeographicPoint) GetLongitude() float64
func (*GeographicPoint) ProtoMessage ¶ added in v1.5.9
func (*GeographicPoint) ProtoMessage()
func (*GeographicPoint) ProtoReflect ¶ added in v1.5.9
func (x *GeographicPoint) ProtoReflect() protoreflect.Message
func (*GeographicPoint) Reset ¶ added in v1.5.9
func (x *GeographicPoint) Reset()
func (*GeographicPoint) String ¶ added in v1.5.9
func (x *GeographicPoint) String() string
type LiveCapacityPara ¶ added in v1.8.13
type LiveCapacityPara struct {
Sn string `protobuf:"bytes,1,opt,name=Sn,proto3" json:"Sn,omitempty"`
Url string `protobuf:"bytes,2,opt,name=Url,proto3" json:"Url,omitempty"`
VideoMd5 string `protobuf:"bytes,3,opt,name=VideoMd5,proto3" json:"VideoMd5,omitempty"`
// contains filtered or unexported fields
}
func (*LiveCapacityPara) Descriptor
deprecated
added in
v1.8.13
func (*LiveCapacityPara) Descriptor() ([]byte, []int)
Deprecated: Use LiveCapacityPara.ProtoReflect.Descriptor instead.
func (*LiveCapacityPara) GetSn ¶ added in v1.8.13
func (x *LiveCapacityPara) GetSn() string
func (*LiveCapacityPara) GetUrl ¶ added in v1.8.13
func (x *LiveCapacityPara) GetUrl() string
func (*LiveCapacityPara) GetVideoMd5 ¶ added in v1.8.13
func (x *LiveCapacityPara) GetVideoMd5() string
func (*LiveCapacityPara) ProtoMessage ¶ added in v1.8.13
func (*LiveCapacityPara) ProtoMessage()
func (*LiveCapacityPara) ProtoReflect ¶ added in v1.8.13
func (x *LiveCapacityPara) ProtoReflect() protoreflect.Message
func (*LiveCapacityPara) Reset ¶ added in v1.8.13
func (x *LiveCapacityPara) Reset()
func (*LiveCapacityPara) String ¶ added in v1.8.13
func (x *LiveCapacityPara) String() string
type RequestData ¶ added in v1.5.9
type RequestData struct {
CalcWayData []byte `protobuf:"bytes,1,opt,name=CalcWayData,proto3" json:"CalcWayData,omitempty"`
// contains filtered or unexported fields
}
func (*RequestData) Descriptor
deprecated
added in
v1.5.9
func (*RequestData) Descriptor() ([]byte, []int)
Deprecated: Use RequestData.ProtoReflect.Descriptor instead.
func (*RequestData) GetCalcWayData ¶ added in v1.5.9
func (x *RequestData) GetCalcWayData() []byte
func (*RequestData) ProtoMessage ¶ added in v1.5.9
func (*RequestData) ProtoMessage()
func (*RequestData) ProtoReflect ¶ added in v1.5.9
func (x *RequestData) ProtoReflect() protoreflect.Message
func (*RequestData) Reset ¶ added in v1.5.9
func (x *RequestData) Reset()
func (*RequestData) String ¶ added in v1.5.9
func (x *RequestData) String() string
type UnimplementedDljGrpcServiceServer ¶
type UnimplementedDljGrpcServiceServer struct{}
UnimplementedDljGrpcServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDljGrpcServiceServer) CreateFlightDataTask ¶ added in v1.7.6
func (UnimplementedDljGrpcServiceServer) CreateFlightDataTask(context.Context, *FlightDataTaskPara) (*FlightDataTaskResult, error)
func (UnimplementedDljGrpcServiceServer) CreateFlyKml ¶ added in v1.3.0
func (UnimplementedDljGrpcServiceServer) CreateFlyKml(context.Context, *CreateFlyLinePara) (*CreateFlyLineResult, error)
func (UnimplementedDljGrpcServiceServer) CreateFlyLine ¶
func (UnimplementedDljGrpcServiceServer) CreateFlyLine(context.Context, *CreateFlyLinePara) (*CreateFlyLineResult, error)
func (UnimplementedDljGrpcServiceServer) ExecuteMissionWay ¶
func (UnimplementedDljGrpcServiceServer) ExecuteMissionWay(context.Context, *ExecuteWayPara) (*ExecuteWayResult, error)
func (UnimplementedDljGrpcServiceServer) GetDroneVideoIdentifier ¶ added in v1.7.4
func (UnimplementedDljGrpcServiceServer) GetDroneVideoIdentifier(context.Context, *DroneIdentifyPara) (*DroneIdentifyResult, error)
func (UnimplementedDljGrpcServiceServer) UpdateDLJLiveCapacity ¶ added in v1.8.13
func (UnimplementedDljGrpcServiceServer) UpdateDLJLiveCapacity(context.Context, *LiveCapacityPara) (*DLJBoolResult, error)
type UnimplementedDljMappingGrpcServiceServer ¶ added in v1.5.9
type UnimplementedDljMappingGrpcServiceServer struct{}
UnimplementedDljMappingGrpcServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDljMappingGrpcServiceServer) CalcFlyLineMapping ¶ added in v1.5.9
func (UnimplementedDljMappingGrpcServiceServer) CalcFlyLineMapping(context.Context, *RequestData) (*CalcFlyLineResult, error)
func (UnimplementedDljMappingGrpcServiceServer) CalcInclinedFlyLineMapping ¶ added in v1.5.9
func (UnimplementedDljMappingGrpcServiceServer) CalcInclinedFlyLineMapping(context.Context, *RequestData) (*CalcFlyLineResult, error)
type UnsafeDljGrpcServiceServer ¶
type UnsafeDljGrpcServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDljGrpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DljGrpcServiceServer will result in compilation errors.
type UnsafeDljMappingGrpcServiceServer ¶ added in v1.5.9
type UnsafeDljMappingGrpcServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDljMappingGrpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DljMappingGrpcServiceServer will result in compilation errors.
type Wayline ¶ added in v1.5.9
type Wayline struct {
Waylines []*GeographicPoint `protobuf:"bytes,1,rep,name=waylines,proto3" json:"waylines,omitempty"`
Area float64 `protobuf:"fixed64,2,opt,name=area,proto3" json:"area,omitempty"`
Distance float64 `protobuf:"fixed64,3,opt,name=distance,proto3" json:"distance,omitempty"`
TotalPhoto int32 `protobuf:"varint,4,opt,name=totalPhoto,proto3" json:"totalPhoto,omitempty"`
Duration float64 `protobuf:"fixed64,5,opt,name=duration,proto3" json:"duration,omitempty"`
// contains filtered or unexported fields
}
func (*Wayline) Descriptor
deprecated
added in
v1.5.9
func (*Wayline) GetDistance ¶ added in v1.5.9
func (*Wayline) GetDuration ¶ added in v1.5.9
func (*Wayline) GetTotalPhoto ¶ added in v1.5.9
func (*Wayline) GetWaylines ¶ added in v1.5.9
func (x *Wayline) GetWaylines() []*GeographicPoint
func (*Wayline) ProtoMessage ¶ added in v1.5.9
func (*Wayline) ProtoMessage()
func (*Wayline) ProtoReflect ¶ added in v1.5.9
func (x *Wayline) ProtoReflect() protoreflect.Message
type Waypoint ¶ added in v1.5.21
type Waypoint struct {
Index int32 `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"`
Latitude float32 `protobuf:"fixed32,2,opt,name=Latitude,proto3" json:"Latitude,omitempty"`
Longitude float32 `protobuf:"fixed32,3,opt,name=Longitude,proto3" json:"Longitude,omitempty"`
Altitude float32 `protobuf:"fixed32,4,opt,name=Altitude,proto3" json:"Altitude,omitempty"`
// contains filtered or unexported fields
}
func (*Waypoint) Descriptor
deprecated
added in
v1.5.21
func (*Waypoint) GetAltitude ¶ added in v1.5.21
func (*Waypoint) GetLatitude ¶ added in v1.5.21
func (*Waypoint) GetLongitude ¶ added in v1.5.21
func (*Waypoint) ProtoMessage ¶ added in v1.5.21
func (*Waypoint) ProtoMessage()
func (*Waypoint) ProtoReflect ¶ added in v1.5.21
func (x *Waypoint) ProtoReflect() protoreflect.Message