feiyu02
2022-07-14 4c7e2d8f8d4a93f318ada0e728dbc370e7504e92
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
package cn.flightfeather.supervision.business.report
 
import cn.flightfeather.supervision.domain.ds1.entity.Problemlist
import cn.flightfeather.supervision.domain.ds1.entity.Problemtype
import cn.flightfeather.supervision.domain.ds1.entity.Scense
import cn.flightfeather.supervision.domain.ds1.entity.Subtask
 
/**
 * 报告所需源数据
 * 生成报告时,所需要的数据源
 */
class DataSource {
 
    private var subTask: Subtask? = null
 
    /**
     * 指定当前进行统计的主体对象
     */
    fun mainObj(subtask: Subtask) {
        this.subTask = subTask
    }
 
    //场景基本信息
    var scene: Scense? = null
 
    //问题类型
    var problemTypes = mutableListOf<Problemtype>()
 
    //具体的问题
    var problems = mutableListOf<Problemlist>()
}