master
2022-03-16 f5e5d411b38f5819551f9acedef62dcf0832bc2c
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:'点云计算花费时间,单位毫秒', type:'int', default:null, width:0})
avg_caculater_time: number;
 
@Column({ comment:'平均文件大小', type:'int', default:null, width:0})
avg_filesize: number;
 
@Column({ comment:'平均花费时间,单位毫秒', type:'int', default:null, width:0})
avg_task_time: number;
 
@Column({ comment:'数据传输时间,毫秒', type:'int', default:null, width:0})
avg_transmission_time: number;
 
@Column({ comment:'CPU 占用率,百分比', type:'int', default:null, width:0})
cpu_rate: number;
 
@Column({ comment:'统计截止时间', type:'datetime'})
end_time: Date;
 
@Column({ comment:'内存,', type:'int', default:null, width:0})
memory: number;
 
@Column({ comment:'备注', type:'varchar', default:'', length:50})
remark: string;
 
@Column({ comment:'统计起始时间', type:'datetime'})
start_time: Date;
 
@Column({ comment:'', type:'int', default:1, width:0})
status: number;
 
@Column({ comment:'任务类型:  1-抓图  2-雷达扫描  3-除尘 ', type:'int', default:null, width:0})
task_type: number;
 
@Column({ comment:'统计时间粒度,5-5分钟  10-10分钟 30-30分钟  60-60分钟 1440-1天 43200-1月  ', type:'int', default:null, width:0})
time: number;
 
}