1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
| import { EntityModel } from '@midwayjs/orm';
| import { BaseEntity } from '@cool-midway/core';
| import { Column, Double } from 'typeorm';
| /**
| * 监测统计
| */
| @EntityModel('t_monitor_stat_data')
| export class Statdata extends BaseEntity {
| @Column({ comment:'{name:"点云计算花费时间",tips:"单位毫秒"}', type:'int', default:null, width:0})
| avg_caculater_time: number;
|
| @Column({ comment:'{name:"平均文件大小"}', type:'int', default:null, width:0})
| avg_filesize: number;
|
| @Column({ comment:'{name:"平均花费时间",tips:"单位毫秒"}', type:'int', default:null, width:0})
| avg_task_time: number;
|
| @Column({ comment:'{name:"数据传输时间",tips:"毫秒"}', type:'int', default:null, width:0})
| avg_transmission_time: number;
|
| @Column({ comment:'{name:"CPU 占用率",tips:"百分比"}', type:'int', default:null, width:0})
| cpu_rate: number;
|
| @Column({ comment:'{name:"统计截止时间"}', type:'datetime'})
| end_time: Date;
|
| @Column({ comment:'{name:"内存"}', type:'int', default:null, width:0})
| memory: number;
|
| @Column({ comment:'{name:"备注"}', type:'varchar', default:'', length:50})
| remark: string;
|
| @Column({ comment:'{name:"统计起始时间"}', type:'datetime'})
| start_time: Date;
|
| @Column({ comment:'{name:"状态",dict:{"1":"启用", "0":"停用"}}', type:'int', default:1, width:0})
| status: number;
|
| @Column({ comment:'{name:"任务类型",dict:{"1":"抓图","2":"雷达扫描","3":"除尘"}}', type:'int', default:null, width:0})
| task_type: number;
|
| @Column({ comment:'{name:"统计时间粒度",dict:{"5":"5分钟","10":"10","30":"30","60":"60","1440":"1440","43200":"43200"}}', type:'int', default:null, width:0})
| time: number;
|
| }
|
|