devicemanage

package
v0.10.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionRespReq

type ActionRespReq = dm.ActionRespReq

type ActionSendReq

type ActionSendReq = dm.ActionSendReq

type ActionSendResp

type ActionSendResp = dm.ActionSendResp

type CommonSchemaCreateReq

type CommonSchemaCreateReq = dm.CommonSchemaCreateReq

type CommonSchemaIndexReq

type CommonSchemaIndexReq = dm.CommonSchemaIndexReq

type CommonSchemaIndexResp

type CommonSchemaIndexResp = dm.CommonSchemaIndexResp

type CommonSchemaInfo

type CommonSchemaInfo = dm.CommonSchemaInfo

type CommonSchemaUpdateReq

type CommonSchemaUpdateReq = dm.CommonSchemaUpdateReq

type CompareInt64

type CompareInt64 = dm.CompareInt64

type CompareString

type CompareString = dm.CompareString

type CustomTopic

type CustomTopic = dm.CustomTopic

type DeviceCore

type DeviceCore = dm.DeviceCore

type DeviceCountInfo

type DeviceCountInfo = dm.DeviceCountInfo

type DeviceCountReq

type DeviceCountReq = dm.DeviceCountReq

type DeviceCountResp

type DeviceCountResp = dm.DeviceCountResp

type DeviceError

type DeviceError = dm.DeviceError

type DeviceGatewayBindDevice

type DeviceGatewayBindDevice = dm.DeviceGatewayBindDevice

type DeviceGatewayIndexReq

type DeviceGatewayIndexReq = dm.DeviceGatewayIndexReq

type DeviceGatewayIndexResp

type DeviceGatewayIndexResp = dm.DeviceGatewayIndexResp

type DeviceGatewayMultiCreateReq

type DeviceGatewayMultiCreateReq = dm.DeviceGatewayMultiCreateReq

type DeviceGatewayMultiSaveReq

type DeviceGatewayMultiSaveReq = dm.DeviceGatewayMultiSaveReq

type DeviceGatewaySign

type DeviceGatewaySign = dm.DeviceGatewaySign

type DeviceInfo

type DeviceInfo = dm.DeviceInfo

type DeviceInfoBindReq

type DeviceInfoBindReq = dm.DeviceInfoBindReq

type DeviceInfoCanBindReq

type DeviceInfoCanBindReq = dm.DeviceInfoCanBindReq

type DeviceInfoCount

type DeviceInfoCount = dm.DeviceInfoCount

type DeviceInfoCountReq

type DeviceInfoCountReq = dm.DeviceInfoCountReq

type DeviceInfoDeleteReq

type DeviceInfoDeleteReq = dm.DeviceInfoDeleteReq

type DeviceInfoIndexReq

type DeviceInfoIndexReq = dm.DeviceInfoIndexReq

type DeviceInfoIndexResp

type DeviceInfoIndexResp = dm.DeviceInfoIndexResp

type DeviceInfoMultiBindReq

type DeviceInfoMultiBindReq = dm.DeviceInfoMultiBindReq

type DeviceInfoMultiBindResp

type DeviceInfoMultiBindResp = dm.DeviceInfoMultiBindResp

type DeviceInfoMultiUpdateReq

type DeviceInfoMultiUpdateReq = dm.DeviceInfoMultiUpdateReq

type DeviceInfoReadReq

type DeviceInfoReadReq = dm.DeviceInfoReadReq

type DeviceManage

type DeviceManage interface {
	// 鉴定是否是root账号(提供给mqtt broker)
	RootCheck(ctx context.Context, in *RootCheckReq, opts ...grpc.CallOption) (*Empty, error)
	// 新增设备
	DeviceInfoCreate(ctx context.Context, in *DeviceInfo, opts ...grpc.CallOption) (*Empty, error)
	// 更新设备
	DeviceInfoUpdate(ctx context.Context, in *DeviceInfo, opts ...grpc.CallOption) (*Empty, error)
	DeviceOnlineMultiFix(ctx context.Context, in *DeviceOnlineMultiFixReq, opts ...grpc.CallOption) (*Empty, error)
	// 删除设备
	DeviceInfoDelete(ctx context.Context, in *DeviceInfoDeleteReq, opts ...grpc.CallOption) (*Empty, error)
	// 获取设备信息列表
	DeviceInfoIndex(ctx context.Context, in *DeviceInfoIndexReq, opts ...grpc.CallOption) (*DeviceInfoIndexResp, error)
	// 批量更新设备状态
	DeviceInfoMultiUpdate(ctx context.Context, in *DeviceInfoMultiUpdateReq, opts ...grpc.CallOption) (*Empty, error)
	// 获取设备信息详情
	DeviceInfoRead(ctx context.Context, in *DeviceInfoReadReq, opts ...grpc.CallOption) (*DeviceInfo, error)
	DeviceInfoBind(ctx context.Context, in *DeviceInfoBindReq, opts ...grpc.CallOption) (*Empty, error)
	DeviceInfoMultiBind(ctx context.Context, in *DeviceInfoMultiBindReq, opts ...grpc.CallOption) (*DeviceInfoMultiBindResp, error)
	DeviceInfoCanBind(ctx context.Context, in *DeviceInfoCanBindReq, opts ...grpc.CallOption) (*Empty, error)
	DeviceInfoUnbind(ctx context.Context, in *DeviceCore, opts ...grpc.CallOption) (*Empty, error)
	DeviceTransfer(ctx context.Context, in *DeviceTransferReq, opts ...grpc.CallOption) (*Empty, error)
	DeviceMove(ctx context.Context, in *DeviceMoveReq, opts ...grpc.CallOption) (*Empty, error)
	DeviceModuleVersionRead(ctx context.Context, in *DeviceModuleVersionReadReq, opts ...grpc.CallOption) (*DeviceModuleVersion, error)
	DeviceModuleVersionIndex(ctx context.Context, in *DeviceModuleVersionIndexReq, opts ...grpc.CallOption) (*DeviceModuleVersionIndexResp, error)
	// 绑定网关下子设备设备
	DeviceGatewayMultiCreate(ctx context.Context, in *DeviceGatewayMultiCreateReq, opts ...grpc.CallOption) (*Empty, error)
	// 绑定网关下子设备设备
	DeviceGatewayMultiUpdate(ctx context.Context, in *DeviceGatewayMultiSaveReq, opts ...grpc.CallOption) (*Empty, error)
	// 获取绑定信息的设备信息列表
	DeviceGatewayIndex(ctx context.Context, in *DeviceGatewayIndexReq, opts ...grpc.CallOption) (*DeviceGatewayIndexResp, error)
	// 删除网关下子设备
	DeviceGatewayMultiDelete(ctx context.Context, in *DeviceGatewayMultiSaveReq, opts ...grpc.CallOption) (*Empty, error)
	// 设备计数
	DeviceInfoCount(ctx context.Context, in *DeviceInfoCountReq, opts ...grpc.CallOption) (*DeviceInfoCount, error)
	// 设备类型
	DeviceTypeCount(ctx context.Context, in *DeviceTypeCountReq, opts ...grpc.CallOption) (*DeviceTypeCountResp, error)
	DeviceCount(ctx context.Context, in *DeviceCountReq, opts ...grpc.CallOption) (*DeviceCountResp, error)
	DeviceProfileRead(ctx context.Context, in *DeviceProfileReadReq, opts ...grpc.CallOption) (*DeviceProfile, error)
	DeviceProfileDelete(ctx context.Context, in *DeviceProfileReadReq, opts ...grpc.CallOption) (*Empty, error)
	DeviceProfileUpdate(ctx context.Context, in *DeviceProfile, opts ...grpc.CallOption) (*Empty, error)
	DeviceProfileIndex(ctx context.Context, in *DeviceProfileIndexReq, opts ...grpc.CallOption) (*DeviceProfileIndexResp, error)
}

func NewDeviceManage

func NewDeviceManage(cli zrpc.Client) DeviceManage

func NewDirectDeviceManage

func NewDirectDeviceManage(svcCtx *svc.ServiceContext, svr dm.DeviceManageServer) DeviceManage

type DeviceModuleVersion

type DeviceModuleVersion = dm.DeviceModuleVersion

type DeviceModuleVersionIndexReq

type DeviceModuleVersionIndexReq = dm.DeviceModuleVersionIndexReq

type DeviceModuleVersionIndexResp

type DeviceModuleVersionIndexResp = dm.DeviceModuleVersionIndexResp

type DeviceModuleVersionReadReq

type DeviceModuleVersionReadReq = dm.DeviceModuleVersionReadReq

type DeviceMoveReq

type DeviceMoveReq = dm.DeviceMoveReq

type DeviceOnlineMultiFix

type DeviceOnlineMultiFix = dm.DeviceOnlineMultiFix

type DeviceOnlineMultiFixReq

type DeviceOnlineMultiFixReq = dm.DeviceOnlineMultiFixReq

type DeviceProfile

type DeviceProfile = dm.DeviceProfile

type DeviceProfileIndexReq

type DeviceProfileIndexReq = dm.DeviceProfileIndexReq

type DeviceProfileIndexResp

type DeviceProfileIndexResp = dm.DeviceProfileIndexResp

type DeviceProfileReadReq

type DeviceProfileReadReq = dm.DeviceProfileReadReq

type DeviceTransferReq

type DeviceTransferReq = dm.DeviceTransferReq

type DeviceTypeCountReq

type DeviceTypeCountReq = dm.DeviceTypeCountReq

type DeviceTypeCountResp

type DeviceTypeCountResp = dm.DeviceTypeCountResp

type Empty

type Empty = dm.Empty

type EventLogIndexReq

type EventLogIndexReq = dm.EventLogIndexReq

type EventLogIndexResp

type EventLogIndexResp = dm.EventLogIndexResp

type EventLogInfo

type EventLogInfo = dm.EventLogInfo

type Firmware

type Firmware = dm.Firmware

type FirmwareFile

type FirmwareFile = dm.FirmwareFile

type FirmwareInfo

type FirmwareInfo = dm.FirmwareInfo

type FirmwareInfoDeleteReq

type FirmwareInfoDeleteReq = dm.FirmwareInfoDeleteReq

type FirmwareInfoDeleteResp

type FirmwareInfoDeleteResp = dm.FirmwareInfoDeleteResp

type FirmwareInfoIndexReq

type FirmwareInfoIndexReq = dm.FirmwareInfoIndexReq

type FirmwareInfoIndexResp

type FirmwareInfoIndexResp = dm.FirmwareInfoIndexResp

type FirmwareInfoReadReq

type FirmwareInfoReadReq = dm.FirmwareInfoReadReq

type FirmwareInfoReadResp

type FirmwareInfoReadResp = dm.FirmwareInfoReadResp

type FirmwareResp

type FirmwareResp = dm.FirmwareResp

type GatewayCanBindIndexReq

type GatewayCanBindIndexReq = dm.GatewayCanBindIndexReq

type GatewayCanBindIndexResp

type GatewayCanBindIndexResp = dm.GatewayCanBindIndexResp

type GatewayGetFoundReq

type GatewayGetFoundReq = dm.GatewayGetFoundReq

type GatewayNotifyBindSendReq

type GatewayNotifyBindSendReq = dm.GatewayNotifyBindSendReq

type GroupDeviceIndexReq

type GroupDeviceIndexReq = dm.GroupDeviceIndexReq

type GroupDeviceIndexResp

type GroupDeviceIndexResp = dm.GroupDeviceIndexResp

type GroupDeviceMultiDeleteReq

type GroupDeviceMultiDeleteReq = dm.GroupDeviceMultiDeleteReq

type GroupDeviceMultiSaveReq

type GroupDeviceMultiSaveReq = dm.GroupDeviceMultiSaveReq

type GroupInfo

type GroupInfo = dm.GroupInfo

type GroupInfoCreateReq

type GroupInfoCreateReq = dm.GroupInfoCreateReq

type GroupInfoIndexReq

type GroupInfoIndexReq = dm.GroupInfoIndexReq

type GroupInfoIndexResp

type GroupInfoIndexResp = dm.GroupInfoIndexResp

type GroupInfoUpdateReq

type GroupInfoUpdateReq = dm.GroupInfoUpdateReq

type HubLogIndexReq

type HubLogIndexReq = dm.HubLogIndexReq

type HubLogIndexResp

type HubLogIndexResp = dm.HubLogIndexResp

type HubLogInfo

type HubLogInfo = dm.HubLogInfo

type IDPath

type IDPath = dm.IDPath

type IDPathWithUpdate

type IDPathWithUpdate = dm.IDPathWithUpdate

type OtaFirmwareDeviceCancelReq

type OtaFirmwareDeviceCancelReq = dm.OtaFirmwareDeviceCancelReq

type OtaFirmwareDeviceConfirmReq

type OtaFirmwareDeviceConfirmReq = dm.OtaFirmwareDeviceConfirmReq

type OtaFirmwareDeviceIndexReq

type OtaFirmwareDeviceIndexReq = dm.OtaFirmwareDeviceIndexReq

type OtaFirmwareDeviceIndexResp

type OtaFirmwareDeviceIndexResp = dm.OtaFirmwareDeviceIndexResp

type OtaFirmwareDeviceInfo

type OtaFirmwareDeviceInfo = dm.OtaFirmwareDeviceInfo

type OtaFirmwareDeviceRetryReq

type OtaFirmwareDeviceRetryReq = dm.OtaFirmwareDeviceRetryReq

type OtaFirmwareFile

type OtaFirmwareFile = dm.OtaFirmwareFile

type OtaFirmwareFileIndexReq

type OtaFirmwareFileIndexReq = dm.OtaFirmwareFileIndexReq

type OtaFirmwareFileIndexResp

type OtaFirmwareFileIndexResp = dm.OtaFirmwareFileIndexResp

type OtaFirmwareFileInfo

type OtaFirmwareFileInfo = dm.OtaFirmwareFileInfo

type OtaFirmwareFileReq

type OtaFirmwareFileReq = dm.OtaFirmwareFileReq

type OtaFirmwareFileResp

type OtaFirmwareFileResp = dm.OtaFirmwareFileResp

type OtaFirmwareInfo

type OtaFirmwareInfo = dm.OtaFirmwareInfo

type OtaFirmwareInfoCreateReq

type OtaFirmwareInfoCreateReq = dm.OtaFirmwareInfoCreateReq

type OtaFirmwareInfoIndexReq

type OtaFirmwareInfoIndexReq = dm.OtaFirmwareInfoIndexReq

type OtaFirmwareInfoIndexResp

type OtaFirmwareInfoIndexResp = dm.OtaFirmwareInfoIndexResp

type OtaFirmwareInfoUpdateReq

type OtaFirmwareInfoUpdateReq = dm.OtaFirmwareInfoUpdateReq

type OtaFirmwareJobIndexReq

type OtaFirmwareJobIndexReq = dm.OtaFirmwareJobIndexReq

type OtaFirmwareJobIndexResp

type OtaFirmwareJobIndexResp = dm.OtaFirmwareJobIndexResp

type OtaFirmwareJobInfo

type OtaFirmwareJobInfo = dm.OtaFirmwareJobInfo

type OtaJobByDeviceIndexReq

type OtaJobByDeviceIndexReq = dm.OtaJobByDeviceIndexReq

type OtaJobDynamicInfo

type OtaJobDynamicInfo = dm.OtaJobDynamicInfo

type OtaJobStaticInfo

type OtaJobStaticInfo = dm.OtaJobStaticInfo

type OtaModuleInfo

type OtaModuleInfo = dm.OtaModuleInfo

type OtaModuleInfoIndexReq

type OtaModuleInfoIndexReq = dm.OtaModuleInfoIndexReq

type OtaModuleInfoIndexResp

type OtaModuleInfoIndexResp = dm.OtaModuleInfoIndexResp

type PageInfo

type PageInfo = dm.PageInfo

type PageInfo_OrderBy

type PageInfo_OrderBy = dm.PageInfo_OrderBy

type Point

type Point = dm.Point

type ProductCategory

type ProductCategory = dm.ProductCategory

type ProductCategoryIndexReq

type ProductCategoryIndexReq = dm.ProductCategoryIndexReq

type ProductCategoryIndexResp

type ProductCategoryIndexResp = dm.ProductCategoryIndexResp

type ProductCategorySchemaIndexReq

type ProductCategorySchemaIndexReq = dm.ProductCategorySchemaIndexReq

type ProductCategorySchemaIndexResp

type ProductCategorySchemaIndexResp = dm.ProductCategorySchemaIndexResp

type ProductCategorySchemaMultiSaveReq

type ProductCategorySchemaMultiSaveReq = dm.ProductCategorySchemaMultiSaveReq

type ProductCustom

type ProductCustom = dm.ProductCustom

type ProductCustomReadReq

type ProductCustomReadReq = dm.ProductCustomReadReq

type ProductCustomUi

type ProductCustomUi = dm.ProductCustomUi

type ProductInfo

type ProductInfo = dm.ProductInfo

type ProductInfoDeleteReq

type ProductInfoDeleteReq = dm.ProductInfoDeleteReq

type ProductInfoIndexReq

type ProductInfoIndexReq = dm.ProductInfoIndexReq

type ProductInfoIndexResp

type ProductInfoIndexResp = dm.ProductInfoIndexResp

type ProductInfoReadReq

type ProductInfoReadReq = dm.ProductInfoReadReq

type ProductInitReq

type ProductInitReq = dm.ProductInitReq

type ProductRemoteConfig

type ProductRemoteConfig = dm.ProductRemoteConfig

type ProductSchemaCreateReq

type ProductSchemaCreateReq = dm.ProductSchemaCreateReq

type ProductSchemaDeleteReq

type ProductSchemaDeleteReq = dm.ProductSchemaDeleteReq

type ProductSchemaIndexReq

type ProductSchemaIndexReq = dm.ProductSchemaIndexReq

type ProductSchemaIndexResp

type ProductSchemaIndexResp = dm.ProductSchemaIndexResp

type ProductSchemaInfo

type ProductSchemaInfo = dm.ProductSchemaInfo

type ProductSchemaMultiCreateReq

type ProductSchemaMultiCreateReq = dm.ProductSchemaMultiCreateReq

type ProductSchemaTslImportReq

type ProductSchemaTslImportReq = dm.ProductSchemaTslImportReq

type ProductSchemaTslReadReq

type ProductSchemaTslReadReq = dm.ProductSchemaTslReadReq

type ProductSchemaTslReadResp

type ProductSchemaTslReadResp = dm.ProductSchemaTslReadResp

type ProductSchemaUpdateReq

type ProductSchemaUpdateReq = dm.ProductSchemaUpdateReq

type PropertyControlMultiSendReq

type PropertyControlMultiSendReq = dm.PropertyControlMultiSendReq

type PropertyControlMultiSendResp

type PropertyControlMultiSendResp = dm.PropertyControlMultiSendResp

type PropertyControlSendMsg

type PropertyControlSendMsg = dm.PropertyControlSendMsg

type PropertyControlSendReq

type PropertyControlSendReq = dm.PropertyControlSendReq

type PropertyControlSendResp

type PropertyControlSendResp = dm.PropertyControlSendResp

type PropertyGetReportSendReq

type PropertyGetReportSendReq = dm.PropertyGetReportSendReq

type PropertyGetReportSendResp

type PropertyGetReportSendResp = dm.PropertyGetReportSendResp

type PropertyLogIndexReq

type PropertyLogIndexReq = dm.PropertyLogIndexReq

type PropertyLogIndexResp

type PropertyLogIndexResp = dm.PropertyLogIndexResp

type PropertyLogInfo

type PropertyLogInfo = dm.PropertyLogInfo

type PropertyLogLatestIndexReq

type PropertyLogLatestIndexReq = dm.PropertyLogLatestIndexReq

type ProtocolConfigField

type ProtocolConfigField = dm.ProtocolConfigField

type ProtocolConfigInfo

type ProtocolConfigInfo = dm.ProtocolConfigInfo

type ProtocolInfo

type ProtocolInfo = dm.ProtocolInfo

type ProtocolInfoIndexReq

type ProtocolInfoIndexReq = dm.ProtocolInfoIndexReq

type ProtocolInfoIndexResp

type ProtocolInfoIndexResp = dm.ProtocolInfoIndexResp

type RemoteConfigCreateReq

type RemoteConfigCreateReq = dm.RemoteConfigCreateReq

type RemoteConfigIndexReq

type RemoteConfigIndexReq = dm.RemoteConfigIndexReq

type RemoteConfigIndexResp

type RemoteConfigIndexResp = dm.RemoteConfigIndexResp

type RemoteConfigLastReadReq

type RemoteConfigLastReadReq = dm.RemoteConfigLastReadReq

type RemoteConfigLastReadResp

type RemoteConfigLastReadResp = dm.RemoteConfigLastReadResp

type RemoteConfigPushAllReq

type RemoteConfigPushAllReq = dm.RemoteConfigPushAllReq

type RespReadReq

type RespReadReq = dm.RespReadReq

type RootCheckReq

type RootCheckReq = dm.RootCheckReq

type SdkLogIndexReq

type SdkLogIndexReq = dm.SdkLogIndexReq

type SdkLogIndexResp

type SdkLogIndexResp = dm.SdkLogIndexResp

type SdkLogInfo

type SdkLogInfo = dm.SdkLogInfo

type SendLogIndexReq

type SendLogIndexReq = dm.SendLogIndexReq

type SendLogIndexResp

type SendLogIndexResp = dm.SendLogIndexResp

type SendLogInfo

type SendLogInfo = dm.SendLogInfo

type SendMsgReq

type SendMsgReq = dm.SendMsgReq

type SendMsgResp

type SendMsgResp = dm.SendMsgResp

type SendOption

type SendOption = dm.SendOption

type ShadowIndex

type ShadowIndex = dm.ShadowIndex

type ShadowIndexResp

type ShadowIndexResp = dm.ShadowIndexResp

type SharePerm

type SharePerm = dm.SharePerm

type StatusLogIndexReq

type StatusLogIndexReq = dm.StatusLogIndexReq

type StatusLogIndexResp

type StatusLogIndexResp = dm.StatusLogIndexResp

type StatusLogInfo

type StatusLogInfo = dm.StatusLogInfo

type TimeRange

type TimeRange = dm.TimeRange

type UserDeviceCollectSave

type UserDeviceCollectSave = dm.UserDeviceCollectSave

type UserDeviceShareIndexReq

type UserDeviceShareIndexReq = dm.UserDeviceShareIndexReq

type UserDeviceShareIndexResp

type UserDeviceShareIndexResp = dm.UserDeviceShareIndexResp

type UserDeviceShareInfo

type UserDeviceShareInfo = dm.UserDeviceShareInfo

type UserDeviceShareMultiDeleteReq

type UserDeviceShareMultiDeleteReq = dm.UserDeviceShareMultiDeleteReq

type UserDeviceShareReadReq

type UserDeviceShareReadReq = dm.UserDeviceShareReadReq

type WithID

type WithID = dm.WithID

type WithIDChildren

type WithIDChildren = dm.WithIDChildren

type WithIDCode

type WithIDCode = dm.WithIDCode

type WithProfile

type WithProfile = dm.WithProfile

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL