Rename statistics to statistic

This commit is contained in:
2023-12-14 15:31:23 +08:00
parent 1c4d28b916
commit 1743b3d3d6
3 changed files with 15 additions and 15 deletions

View File

@@ -0,0 +1,51 @@
package top.fatweb.api.service.system
import top.fatweb.api.vo.system.*
/**
* Statistic service interface
*
* @author FatttSnake, fatttsnake@gmail.com
* @since 1.0.0
*/
interface IStatisticService {
/**
* Get software information
*
* @return SoftwareInfoVo object
* @author FatttSnake, fatttsnake@gmail.com
* @since 1.0.0
* @see SoftwareInfoVo
*/
fun software(): SoftwareInfoVo
/**
* Get hardware information
*
* @return HardwareInfoVo object
* @author FatttSnake, fatttsnake@gmail.com
* @since 1.0.0
* @see HardwareInfoVo
*/
fun hardware(): HardwareInfoVo
/**
* Get CPU information
*
* @return CpuInfoVo object
* @author FatttSnake, fatttsnake@gmail.com
* @since 1.0.0
* @see CpuInfoVo
*/
fun cpu(): CpuInfoVo
/**
* Get storage information
*
* @return StorageInfoVo object
* @author FatttSnake, fatttsnake@gmail.com
* @since 1.0.0
* @see StorageInfoVo
*/
fun storage(): StorageInfoVo
}