analysis

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceAlarmLevelCountReq

type DeviceAlarmLevelCountReq struct {
	g.Meta   `path:"/deviceAlarmLevelCount" method:"get" summary:"告警按级别统计" tags:"IOT数据分析"`
	DateType string `json:"dateType" v:"required#日期类型不能为空" dc:"日期类型:year 年,month 月,day 日"`
	Date     string `json:"date" v:"required#日期不能为空" dc:"日期:年 yyyy,月 MM,日 dd"`
}

DeviceAlarmLevelCountReq 告警级别统计

type DeviceAlarmLevelCountRes

type DeviceAlarmLevelCountRes struct {
	Data []model.CountData `json:"data" dc:"告警级别统计"`
}

type DeviceAlarmLogDataReq

type DeviceAlarmLogDataReq struct {
	g.Meta `path:"/deviceAlarmLogData" method:"get" summary:"设备告警日志数据" tags:"IOT数据分析"`
	common.PaginationReq
}

DeviceAlarmLogDataReq 设备告警日志数据请求

type DeviceAlarmLogDataRes

type DeviceAlarmLogDataRes struct {
	Data interface{}
	common.PaginationRes
}

type DeviceAlarmTotalCountReq

type DeviceAlarmTotalCountReq struct {
	g.Meta   `path:"/deviceAlarmTotalCount" method:"get" summary:"告警总数统计(当年、当月、当日)" tags:"IOT数据分析"`
	DateType string `json:"dateType" v:"required#日期类型不能为空" dc:"日期类型:year 年,month 月,day 日"`
	Date     string `json:"date" v:"required#日期不能为空" dc:"日期:年 yyyy,月 yyyy-MM,日 yyyy-MM-dd"`
}

DeviceAlarmTotalCountReq 指定时间的告警总数统计,按年,月,日分别指定

type DeviceAlarmTotalCountRes

type DeviceAlarmTotalCountRes struct {
	Number int64 `json:"number" dc:"告警总数"`
}

type DeviceAlertCountByDayHourReq

type DeviceAlertCountByDayHourReq struct {
	g.Meta `path:"/deviceAlertCountsByDayHour" method:"get" summary:"按日每小时设备告警数统计" tags:"IOT数据分析"`
	Day    string `json:"day" v:"required#日期不能为空" dc:"日期:年-月-日 yyyy-MM-dd"`
}

DeviceAlertCountByDayHourReq 按日每小时设备告警数统计

type DeviceAlertCountByDayHourRes

type DeviceAlertCountByDayHourRes struct {
	Data []model.CountData `json:"data" dc:"小时设备告警计数"`
}

type DeviceAlertCountByMonthDayReq

type DeviceAlertCountByMonthDayReq struct {
	g.Meta `path:"/deviceAlertCountByMonthDay" method:"get" summary:"按月度每日设备告警数统计" tags:"IOT数据分析"`
	Month  string `json:"month" v:"required#日期不能为空" dc:"日期:年-月 yyyy-MM"`
}

DeviceAlertCountByMonthDayReq 按月度每日设备告警数统计

type DeviceAlertCountByMonthDayRes

type DeviceAlertCountByMonthDayRes struct {
	Data []model.CountData `json:"data" dc:"日设备告警计数"`
}

type DeviceAlertCountByYearMonthReq

type DeviceAlertCountByYearMonthReq struct {
	g.Meta `path:"/deviceAlertCountByYearMonth" method:"get" summary:"按年度每月设备告警数统计" tags:"IOT数据分析"`
	Year   string `json:"year" v:"required#日期不能为空" dc:"日期:年-yyyy"`
}

DeviceAlertCountByYearMonthReq 按年度每月设备告警数统计

type DeviceAlertCountByYearMonthRes

type DeviceAlertCountByYearMonthRes struct {
	Data []model.CountData `json:"data" dc:"月设备告警计数"`
}

type DeviceCountForProductReq

type DeviceCountForProductReq struct {
	g.Meta     `path:"/deviceCountForProduct" method:"get" summary:"获取属于该产品下的设备数量" tags:"IOT数据分析"`
	ProductKey string `json:"productKey" v:"required#ProductKey,产品key不能为空" dc:"产品key"`
}

DeviceCountForProductReq 获取属于该产品下的设备数量

type DeviceCountForProductRes

type DeviceCountForProductRes struct {
	Number int `json:"number" dc:"设备数"`
}

type DeviceDataCountReq

type DeviceDataCountReq struct {
	g.Meta   `path:"/deviceDataCount" method:"get" summary:"按年度统计1-12月份设备消息统计" tags:"IOT数据分析"`
	DateType string `json:"dateType" v:"required#日期类型不能为空" dc:"日期类型:year 年,month 月,day 日"`
}

DeviceDataCountReq 按年度每月设备消息统计

type DeviceDataCountRes

type DeviceDataCountRes struct {
	Data []model.CountData `json:"data" dc:"1-12月份设备消息量统计数据"`
}

type DeviceDataForProductByLatestReq

type DeviceDataForProductByLatestReq struct {
	g.Meta     `path:"/deviceDataForProductByLatest" method:"get" summary:"按产品查询设备最近的数据" tags:"IOT数据分析"`
	ProductKey string `json:"productKey" v:"required#产品key不能为空" dc:"产品key"`
}

DeviceDataForProductByLatestReq 按产品查询设备最近的数据

type DeviceDataForProductByLatestRes

type DeviceDataForProductByLatestRes struct {
	Data []model.DeviceDataRes
}

type DeviceDataForTsdReq

type DeviceDataForTsdReq struct {
	g.Meta `path:"/deviceDataForTsd" method:"get" summary:"设备的时序数据" tags:"IOT数据分析"`
	common.PaginationReq
}

type DeviceDataForTsdRes

type DeviceDataForTsdRes struct {
	Data []interface{}
	common.PaginationRes
}

type DeviceDataReq

type DeviceDataReq struct {
	g.Meta    `path:"/deviceData" method:"get" summary:"设备最近的数据" tags:"IOT数据分析"`
	DeviceKey string `json:"deviceKey" v:"required#设备key不能为空" dc:"设备key"`
	common.PaginationReq
}

DeviceDataReq 按年度每月设备消息统计

type DeviceDataRes

type DeviceDataRes struct {
	Data []interface{}
	common.PaginationRes
}

type DeviceDataTotalCountReq

type DeviceDataTotalCountReq struct {
	g.Meta   ``     /* 129-byte string literal not displayed */
	DateType string `json:"dateType" v:"required#日期类型不能为空" dc:"日期类型:year 年,month 月,day 日"`
}

DeviceDataTotalCountReq 设备消息总数统计(当年、当月、当日)

type DeviceDataTotalCountRes

type DeviceDataTotalCountRes struct {
	Number int64 `json:"number" dc:"消息总数"`
}

type DeviceOnlineOfflineCountReq

type DeviceOnlineOfflineCountReq struct {
	g.Meta `path:"/deviceOnlineOfflineCount" method:"get" summary:"设备在线离线统计" tags:"IOT数据分析"`
}

DeviceOnlineOfflineCountReq 设备在线离线统计

type DeviceOnlineOfflineCountRes

type DeviceOnlineOfflineCountRes struct {
	Data model.DeviceOnlineOfflineCount
}

type ProductCountReq

type ProductCountReq struct {
	g.Meta `path:"/productCount" method:"get" summary:"产品数量统计" tags:"IOT数据分析"`
}

ProductCountReq 按年度每月设备消息统计

type ProductCountRes

type ProductCountRes struct {
	Total   int `json:"total" dc:"产品总数"`
	Enable  int `json:"enable" dc:"启用产品数"`
	Disable int `json:"disable" dc:"禁用产品数"`
	Added   int `json:"added" dc:"新增产品数"`
}

Jump to

Keyboard shortcuts

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