devicemanage

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 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 AccessAuthReq

type AccessAuthReq = dm.AccessAuthReq

type DeviceCore added in v0.3.0

type DeviceCore = dm.DeviceCore

type DeviceGatewayBindDevice added in v0.5.1

type DeviceGatewayBindDevice = dm.DeviceGatewayBindDevice

type DeviceGatewayIndexReq added in v0.3.0

type DeviceGatewayIndexReq = dm.DeviceGatewayIndexReq

type DeviceGatewayIndexResp added in v0.3.0

type DeviceGatewayIndexResp = dm.DeviceGatewayIndexResp

type DeviceGatewayMultiCreateReq added in v0.3.0

type DeviceGatewayMultiCreateReq = dm.DeviceGatewayMultiCreateReq

type DeviceGatewayMultiDeleteReq added in v0.3.0

type DeviceGatewayMultiDeleteReq = dm.DeviceGatewayMultiDeleteReq

type DeviceGatewaySign added in v0.5.1

type DeviceGatewaySign = dm.DeviceGatewaySign

type DeviceInfo

type DeviceInfo = dm.DeviceInfo

type DeviceInfoCountReq added in v0.3.0

type DeviceInfoCountReq = dm.DeviceInfoCountReq

type DeviceInfoCountResp added in v0.3.0

type DeviceInfoCountResp = dm.DeviceInfoCountResp

type DeviceInfoDeleteReq

type DeviceInfoDeleteReq = dm.DeviceInfoDeleteReq

type DeviceInfoIndexReq

type DeviceInfoIndexReq = dm.DeviceInfoIndexReq

type DeviceInfoIndexResp

type DeviceInfoIndexResp = dm.DeviceInfoIndexResp

type DeviceInfoReadReq

type DeviceInfoReadReq = dm.DeviceInfoReadReq

type DeviceManage

type DeviceManage interface {
	// 新增设备
	DeviceInfoCreate(ctx context.Context, in *DeviceInfo, opts ...grpc.CallOption) (*Response, error)
	// 更新设备
	DeviceInfoUpdate(ctx context.Context, in *DeviceInfo, opts ...grpc.CallOption) (*Response, error)
	// 删除设备
	DeviceInfoDelete(ctx context.Context, in *DeviceInfoDeleteReq, opts ...grpc.CallOption) (*Response, error)
	// 获取设备信息列表
	DeviceInfoIndex(ctx context.Context, in *DeviceInfoIndexReq, opts ...grpc.CallOption) (*DeviceInfoIndexResp, error)
	// 获取设备信息详情
	DeviceInfoRead(ctx context.Context, in *DeviceInfoReadReq, opts ...grpc.CallOption) (*DeviceInfo, error)
	// 绑定网关下子设备设备
	DeviceGatewayMultiCreate(ctx context.Context, in *DeviceGatewayMultiCreateReq, opts ...grpc.CallOption) (*Response, error)
	// 获取绑定信息的设备信息列表
	DeviceGatewayIndex(ctx context.Context, in *DeviceGatewayIndexReq, opts ...grpc.CallOption) (*DeviceGatewayIndexResp, error)
	// 删除网关下子设备
	DeviceGatewayMultiDelete(ctx context.Context, in *DeviceGatewayMultiDeleteReq, opts ...grpc.CallOption) (*Response, error)
	// 设备计数
	DeviceInfoCount(ctx context.Context, in *DeviceInfoCountReq, opts ...grpc.CallOption) (*DeviceInfoCountResp, error)
	// 设备类型
	DeviceTypeCount(ctx context.Context, in *DeviceTypeCountReq, opts ...grpc.CallOption) (*DeviceTypeCountResp, error)
}

func NewDeviceManage

func NewDeviceManage(cli zrpc.Client) DeviceManage

func NewDirectDeviceManage

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

type DeviceRegisterReq added in v0.5.1

type DeviceRegisterReq = dm.DeviceRegisterReq

type DeviceRegisterResp added in v0.5.1

type DeviceRegisterResp = dm.DeviceRegisterResp

type DeviceTypeCountReq added in v0.3.0

type DeviceTypeCountReq = dm.DeviceTypeCountReq

type DeviceTypeCountResp added in v0.3.0

type DeviceTypeCountResp = dm.DeviceTypeCountResp

type GroupDeviceIndexReq

type GroupDeviceIndexReq = dm.GroupDeviceIndexReq

type GroupDeviceIndexResp

type GroupDeviceIndexResp = dm.GroupDeviceIndexResp

type GroupDeviceMultiCreateReq added in v0.3.0

type GroupDeviceMultiCreateReq = dm.GroupDeviceMultiCreateReq

type GroupDeviceMultiDeleteReq added in v0.3.0

type GroupDeviceMultiDeleteReq = dm.GroupDeviceMultiDeleteReq

type GroupInfo

type GroupInfo = dm.GroupInfo

type GroupInfoCreateReq

type GroupInfoCreateReq = dm.GroupInfoCreateReq

type GroupInfoDeleteReq

type GroupInfoDeleteReq = dm.GroupInfoDeleteReq

type GroupInfoIndexReq

type GroupInfoIndexReq = dm.GroupInfoIndexReq

type GroupInfoIndexResp

type GroupInfoIndexResp = dm.GroupInfoIndexResp

type GroupInfoReadReq

type GroupInfoReadReq = dm.GroupInfoReadReq

type GroupInfoUpdateReq

type GroupInfoUpdateReq = dm.GroupInfoUpdateReq

type LoginAuthReq

type LoginAuthReq = dm.LoginAuthReq

type PageInfo

type PageInfo = dm.PageInfo

type PageInfo_OrderBy added in v0.5.1

type PageInfo_OrderBy = dm.PageInfo_OrderBy

type Point added in v0.3.0

type Point = dm.Point

type ProductCustom added in v0.5.1

type ProductCustom = dm.ProductCustom

type ProductCustomReadReq added in v0.5.1

type ProductCustomReadReq = dm.ProductCustomReadReq

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 ProductRemoteConfig added in v0.3.0

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 ProductSchemaTslImportReq

type ProductSchemaTslImportReq = dm.ProductSchemaTslImportReq

type ProductSchemaTslReadReq

type ProductSchemaTslReadReq = dm.ProductSchemaTslReadReq

type ProductSchemaTslReadResp

type ProductSchemaTslReadResp = dm.ProductSchemaTslReadResp

type ProductSchemaUpdateReq

type ProductSchemaUpdateReq = dm.ProductSchemaUpdateReq

type RemoteConfigCreateReq added in v0.3.0

type RemoteConfigCreateReq = dm.RemoteConfigCreateReq

type RemoteConfigIndexReq added in v0.3.0

type RemoteConfigIndexReq = dm.RemoteConfigIndexReq

type RemoteConfigIndexResp added in v0.3.0

type RemoteConfigIndexResp = dm.RemoteConfigIndexResp

type RemoteConfigLastReadReq added in v0.3.0

type RemoteConfigLastReadReq = dm.RemoteConfigLastReadReq

type RemoteConfigLastReadResp added in v0.3.0

type RemoteConfigLastReadResp = dm.RemoteConfigLastReadResp

type RemoteConfigPushAllReq added in v0.3.0

type RemoteConfigPushAllReq = dm.RemoteConfigPushAllReq

type Response

type Response = dm.Response

type RootCheckReq

type RootCheckReq = dm.RootCheckReq

Jump to

Keyboard shortcuts

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