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;
|
|
}
|