Documentation
¶
Index ¶
- type AddCategoryReq
- type AddCategoryRes
- type AddDeviceReq
- type AddDeviceRes
- type AddProductReq
- type AddProductRes
- type AddTSLEventReq
- type AddTSLEventRes
- type AddTSLFunctionReq
- type AddTSLFunctionRes
- type AddTSLPropertyReq
- type AddTSLPropertyRes
- type AddTSLTagReq
- type AddTSLTagRes
- type AddTagDeviceReq
- type AddTagDeviceRes
- type AllTSLPropertyReq
- type AllTSLPropertyRes
- type CategoryListForPageReq
- type CategoryListForPageRes
- type CategoryListReq
- type CategoryListRes
- type DateTypeReq
- type DateTypeRes
- type DelCategoryReq
- type DelCategoryRes
- type DelDeviceReq
- type DelDeviceRes
- type DelProductReq
- type DelProductRes
- type DelTSLEventReq
- type DelTSLEventRes
- type DelTSLFunctionReq
- type DelTSLFunctionRes
- type DelTSLPropertyReq
- type DelTSLPropertyRes
- type DelTSLTagReq
- type DelTSLTagRes
- type DelTagDeviceReq
- type DelTagDeviceRes
- type DeployDeviceReq
- type DeployDeviceRes
- type DeployProductReq
- type DeployProductRes
- type DetailDeviceReq
- type DetailDeviceRes
- type DetailProductReq
- type DetailProductRes
- type DeviceGetPropertyListReq
- type DeviceGetPropertyListRes
- type DeviceGetPropertyReq
- type DeviceGetPropertyRes
- type DeviceLogSearchReq
- type DeviceLogSearchRes
- type DeviceLogTypeReq
- type DeviceLogTypeRes
- type DeviceRunStatusReq
- type DeviceRunStatusRes
- type DeviceStatisticsForMonthsReq
- type DeviceStatisticsForMonthsRes
- type DeviceStatisticsReq
- type DeviceStatisticsRes
- type EditCategoryReq
- type EditCategoryRes
- type EditDeviceReq
- type EditDeviceRes
- type EditProductReq
- type EditProductRes
- type EditTSLEventReq
- type EditTSLEventRes
- type EditTSLFunctionReq
- type EditTSLFunctionRes
- type EditTSLPropertyReq
- type EditTSLPropertyRes
- type EditTSLTagReq
- type EditTSLTagRes
- type EditTagDeviceReq
- type EditTagDeviceRes
- type GetDeviceReq
- type GetDeviceRes
- type GetProductReq
- type GetProductRes
- type ListDeviceForPageReq
- type ListDeviceForPageRes
- type ListDeviceReq
- type ListDeviceRes
- type ListForPageReq
- type ListForPageRes
- type ListMessageProtocolReq
- type ListMessageProtocolRes
- type ListReq
- type ListRes
- type ListTSLEventReq
- type ListTSLEventRes
- type ListTSLFunctionReq
- type ListTSLFunctionRes
- type ListTSLPropertyReq
- type ListTSLPropertyRes
- type ListTSLTagReq
- type ListTSLTagRes
- type ListTrunsportProtocolReq
- type ListTrunsportProtocolRes
- type OfflineDeviceReq
- type OfflineDeviceRes
- type OnlineDeviceReq
- type OnlineDeviceRes
- type UndeployDeviceReq
- type UndeployDeviceRes
- type UndeployProductReq
- type UndeployProductRes
- type UploadIconReq
- type UploadIconRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCategoryReq ¶
type AddCategoryReq struct { g.Meta `path:"/category/add" method:"post" summary:"添加产品分类" tags:"产品分类"` *model.AddProductCategoryInput }
type AddCategoryRes ¶
type AddCategoryRes struct{}
type AddDeviceReq ¶
type AddDeviceReq struct { g.Meta `path:"/device/add" method:"post" summary:"添加设备" tags:"设备"` *model.AddDeviceInput }
type AddDeviceRes ¶
type AddDeviceRes struct{}
type AddProductReq ¶
type AddProductReq struct { g.Meta `path:"/add" method:"post" summary:"添加产品" tags:"产品"` *model.AddProductInput }
type AddProductRes ¶
type AddProductRes struct{}
type AddTSLEventReq ¶
type AddTSLEventReq struct { g.Meta `path:"/tsl/event/add" method:"post" summary:"事件添加" tags:"物模型"` *model.TSLEventInput }
type AddTSLEventRes ¶
type AddTSLEventRes struct{}
type AddTSLFunctionReq ¶
type AddTSLFunctionReq struct { g.Meta `path:"/tsl/function/add" method:"post" summary:"功能添加" tags:"物模型"` *model.TSLFunctionAddInput }
type AddTSLFunctionRes ¶
type AddTSLFunctionRes struct{}
type AddTSLPropertyReq ¶
type AddTSLPropertyReq struct { g.Meta `path:"/tsl/property/add" method:"post" summary:"属性添加" tags:"物模型"` *model.TSLPropertyInput }
type AddTSLPropertyRes ¶
type AddTSLPropertyRes struct{}
type AddTSLTagReq ¶
type AddTSLTagReq struct { g.Meta `path:"/tsl/tag/add" method:"post" summary:"标签添加" tags:"物模型"` *model.TSLTagInput }
type AddTSLTagRes ¶
type AddTSLTagRes struct{}
type AddTagDeviceReq ¶
type AddTagDeviceReq struct { g.Meta `path:"/device/tag/add" method:"post" summary:"标签添加" tags:"设备"` *model.AddTagDeviceInput }
type AddTagDeviceRes ¶
type AddTagDeviceRes struct{}
type AllTSLPropertyReq ¶
type AllTSLPropertyRes ¶
type AllTSLPropertyRes struct {
Data []model.TSLProperty
}
type CategoryListForPageReq ¶
type CategoryListForPageReq struct { g.Meta `path:"/category/page_list" method:"get" summary:"产品分类列表(分页)" tags:"产品分类"` Name string `json:"name" dc:"分类名称"` *common.PaginationReq }
type CategoryListForPageRes ¶
type CategoryListForPageRes struct { Category []*model.ProductCategoryTreeOutput `json:"category" dc:"产品分类列表"` common.PaginationRes }
type CategoryListReq ¶
type CategoryListRes ¶
type CategoryListRes struct {
Category []*model.ProductCategoryTreeOutput `json:"category" dc:"产品分类列表"`
}
type DateTypeReq ¶
type DateTypeRes ¶
type DateTypeRes struct {
DataType *model.DataTypeOutput `json:"dataType" dc:"数据类型"`
}
type DelCategoryReq ¶
type DelCategoryRes ¶
type DelCategoryRes struct{}
type DelDeviceReq ¶
type DelDeviceRes ¶
type DelDeviceRes struct{}
type DelProductReq ¶
type DelProductRes ¶
type DelProductRes struct{}
type DelTSLEventReq ¶
type DelTSLEventReq struct { g.Meta `path:"/tsl/event/del" method:"delete" summary:"事件删除" tags:"物模型"` *model.DelTSLEventInput }
type DelTSLEventRes ¶
type DelTSLEventRes struct{}
type DelTSLFunctionReq ¶
type DelTSLFunctionReq struct { g.Meta `path:"/tsl/function/del" method:"delete" summary:"功能删除" tags:"物模型"` *model.DelTSLFunctionInput }
type DelTSLFunctionRes ¶
type DelTSLFunctionRes struct{}
type DelTSLPropertyReq ¶
type DelTSLPropertyReq struct { g.Meta `path:"/tsl/property/del" method:"delete" summary:"属性删除" tags:"物模型"` *model.DelTSLPropertyInput }
type DelTSLPropertyRes ¶
type DelTSLPropertyRes struct{}
type DelTSLTagReq ¶
type DelTSLTagReq struct { g.Meta `path:"/tsl/tag/del" method:"delete" summary:"标签删除" tags:"物模型"` *model.DelTSLTagInput }
type DelTSLTagRes ¶
type DelTSLTagRes struct{}
type DelTagDeviceReq ¶
type DelTagDeviceRes ¶
type DelTagDeviceRes struct{}
type DeployDeviceReq ¶
type DeployDeviceRes ¶
type DeployDeviceRes struct{}
type DeployProductReq ¶
type DeployProductRes ¶
type DeployProductRes struct{}
type DetailDeviceReq ¶
type DetailDeviceRes ¶
type DetailDeviceRes struct {
Data *model.DeviceOutput `json:"data" dc:"设备详情"`
}
type DetailProductReq ¶
type DetailProductRes ¶
type DetailProductRes struct {
Data *model.DetailProductOutput `json:"data" dc:"产品详情"`
}
type DeviceGetPropertyListReq ¶
type DeviceGetPropertyListReq struct { g.Meta `path:"/device/property/list" method:"get" summary:"属性详情列表" tags:"设备"` *model.DeviceGetPropertyListInput }
type DeviceGetPropertyListRes ¶
type DeviceGetPropertyListRes struct {
*model.DeviceGetPropertyListOutput
}
type DeviceGetPropertyReq ¶
type DeviceGetPropertyReq struct { g.Meta `path:"/device/property/get" method:"get" summary:"获取指定属性值" tags:"设备"` *model.DeviceGetPropertyInput }
type DeviceGetPropertyRes ¶
type DeviceGetPropertyRes struct {
*model.DevicePropertiy
}
type DeviceLogSearchReq ¶
type DeviceLogSearchReq struct { g.Meta `path:"/log/search" method:"get" summary:"日志搜索" tags:"时序数据库管理"` *model.DeviceLogSearchInput }
type DeviceLogSearchRes ¶
type DeviceLogSearchRes struct {
*model.DeviceLogSearchOutput
}
type DeviceLogTypeReq ¶
type DeviceLogTypeRes ¶
type DeviceLogTypeRes struct {
List []string `json:"list" dc:"日志类型列表"`
}
type DeviceRunStatusReq ¶
type DeviceRunStatusRes ¶
type DeviceRunStatusRes struct {
*model.DeviceRunStatusOutput
}
type DeviceStatisticsReq ¶
type DeviceStatisticsRes ¶
type DeviceStatisticsRes struct {
DeviceTotal model.DeviceTotalOutput `json:"deviceTotal" dc:"设备相关统计"`
}
type EditCategoryReq ¶
type EditCategoryReq struct { g.Meta `path:"/category/edit" method:"put" summary:"编辑产品分类" tags:"产品分类"` *model.EditProductCategoryInput }
type EditCategoryRes ¶
type EditCategoryRes struct{}
type EditDeviceReq ¶
type EditDeviceReq struct { g.Meta `path:"/device/edit" method:"put" summary:"编辑设备" tags:"设备"` *model.EditDeviceInput }
type EditDeviceRes ¶
type EditDeviceRes struct{}
type EditProductReq ¶
type EditProductReq struct { g.Meta `path:"/edit" method:"put" summary:"编辑产品" tags:"产品"` *model.EditProductInput }
type EditProductRes ¶
type EditProductRes struct{}
type EditTSLEventReq ¶
type EditTSLEventReq struct { g.Meta `path:"/tsl/event/edit" method:"put" summary:"事件编辑" tags:"物模型"` *model.TSLEventInput }
type EditTSLEventRes ¶
type EditTSLEventRes struct{}
type EditTSLFunctionReq ¶
type EditTSLFunctionReq struct { g.Meta `path:"/tsl/function/edit" method:"put" summary:"功能编辑" tags:"物模型"` *model.TSLFunctionAddInput }
type EditTSLFunctionRes ¶
type EditTSLFunctionRes struct{}
type EditTSLPropertyReq ¶
type EditTSLPropertyReq struct { g.Meta `path:"/tsl/property/edit" method:"put" summary:"属性编辑" tags:"物模型"` *model.TSLPropertyInput }
type EditTSLPropertyRes ¶
type EditTSLPropertyRes struct{}
type EditTSLTagReq ¶
type EditTSLTagReq struct { g.Meta `path:"/tsl/tag/edit" method:"put" summary:"标签编辑" tags:"物模型"` *model.TSLTagInput }
type EditTSLTagRes ¶
type EditTSLTagRes struct{}
type EditTagDeviceReq ¶
type EditTagDeviceReq struct { g.Meta `path:"/device/tag/edit" method:"put" summary:"标签编辑" tags:"设备"` *model.EditTagDeviceInput }
type EditTagDeviceRes ¶
type EditTagDeviceRes struct{}
type GetDeviceReq ¶
type GetDeviceRes ¶
type GetDeviceRes struct {
Data *model.DeviceOutput `json:"data" dc:"设备详情"`
}
type GetProductReq ¶
type GetProductRes ¶
type GetProductRes struct {
Data *model.DetailProductOutput `json:"data" dc:"产品详情"`
}
type ListDeviceForPageReq ¶
type ListDeviceForPageReq struct { g.Meta `path:"/device/page_list" method:"get" summary:"设备搜索列表(分页)" tags:"设备"` *model.ListDeviceForPageInput }
type ListDeviceForPageRes ¶
type ListDeviceForPageRes struct {
*model.ListDeviceForPageOutput
}
type ListDeviceReq ¶
type ListDeviceReq struct { g.Meta `path:"/device/list" method:"get" summary:"设备列表" tags:"设备"` *model.ListDeviceInput }
type ListDeviceRes ¶
type ListDeviceRes struct {
Device []*model.DeviceOutput `json:"device" dc:"设备列表"`
}
type ListForPageReq ¶
type ListForPageReq struct { g.Meta `path:"/page_list" method:"get" summary:"产品搜索列表(分页)" tags:"产品"` model.ListForPageInput }
type ListForPageRes ¶
type ListForPageRes struct {
model.ListForPageOutput
}
type ListMessageProtocolReq ¶
type ListMessageProtocolReq struct {
g.Meta `path:"/protocol/message_protocol_list" method:"get" summary:"消息协议" tags:"协议"`
}
消息协议
type ListMessageProtocolRes ¶
type ListMessageProtocolRes struct {
Data []*model.MessageProtocolRes `json:"data" dc:"消息协议"`
}
type ListRes ¶
type ListRes struct {
Product []*model.ProductOutput `json:"product" dc:"产品列表"`
}
type ListTSLEventReq ¶
type ListTSLEventReq struct { g.Meta `path:"/tsl/event/list" method:"get" summary:"事件列表" tags:"物模型"` *model.ListTSLEventInput }
type ListTSLEventRes ¶
type ListTSLEventRes struct {
*model.ListTSLEventOutput
}
type ListTSLFunctionReq ¶
type ListTSLFunctionReq struct { g.Meta `path:"/tsl/function/list" method:"get" summary:"功能列表" tags:"物模型"` *model.ListTSLFunctionInput }
type ListTSLFunctionRes ¶
type ListTSLFunctionRes struct {
*model.ListTSLFunctionOutput
}
type ListTSLPropertyReq ¶
type ListTSLPropertyReq struct { g.Meta `path:"/tsl/property/list" method:"get" summary:"属性列表" tags:"物模型"` *model.ListTSLPropertyInput }
type ListTSLPropertyRes ¶
type ListTSLPropertyRes struct {
*model.ListTSLPropertyOutput
}
type ListTSLTagReq ¶
type ListTSLTagReq struct { g.Meta `path:"/tsl/tag/list" method:"get" summary:"标签列表" tags:"物模型"` *model.ListTSLTagInput }
type ListTSLTagRes ¶
type ListTSLTagRes struct {
*model.ListTSLTagOutput
}
type ListTrunsportProtocolReq ¶
type ListTrunsportProtocolReq struct {
g.Meta `path:"/protocol/trunsport_protocol_list" method:"get" summary:"传输协议" tags:"协议"`
}
传输协议
type ListTrunsportProtocolRes ¶
type ListTrunsportProtocolRes struct {
Data []*model.TrunsportProtocolRes `json:"data" dc:"传输协议"`
}
type OfflineDeviceReq ¶
type OfflineDeviceRes ¶
type OfflineDeviceRes struct{}
type OnlineDeviceReq ¶
type OnlineDeviceRes ¶
type OnlineDeviceRes struct{}
type UndeployDeviceReq ¶
type UndeployDeviceRes ¶
type UndeployDeviceRes struct{}
type UndeployProductReq ¶
type UndeployProductRes ¶
type UndeployProductRes struct{}
type UploadIconReq ¶
type UploadIconReq struct { g.Meta `path:"/icon/upload" method:"post" mime:"multipart/form-data" summary:"图标上传" tags:"产品"` Icon *ghttp.UploadFile `json:"icon" type:"file" dc:"选择上传图片"` }
type UploadIconRes ¶
type UploadIconRes struct {
IconPath string `json:"name" dc:"图标地址"`
}
Click to show internal directories.
Click to hide internal directories.