using System;
using System.Collections;
using System.Collections.Generic;
namespace YooAsset.Editor
{
[Serializable]
public class ScanReport
{
///
/// 文件签名(自动填写)
///
public string FileSign;
///
/// 文件版本(自动填写)
///
public string FileVersion;
///
/// 模式类型(自动填写)
///
public string SchemaType;
///
/// 扫描器GUID(自动填写)
///
public string ScannerGUID;
///
/// 报告标题
///
public string ReportTitle;
///
/// 报告介绍
///
public string ReportDesc;
///
/// 报告的标题列表
///
public List HeaderTitles = new List();
///
/// 扫描的元素列表
///
public List ReportElements = new List();
public ScanReport(string reportTitle, string reportDesc)
{
ReportTitle = reportTitle;
ReportDesc = reportDesc;
}
public ReportHeader AddHeader(string headerTitle, int width)
{
var reportHeader = new ReportHeader(headerTitle, width);
HeaderTitles.Add(reportHeader);
return reportHeader;
}
public ReportHeader AddHeader(string headerTitle, int width, int minWidth, int maxWidth)
{
var reportHeader = new ReportHeader(headerTitle, width, minWidth, maxWidth);
HeaderTitles.Add(reportHeader);
return reportHeader;
}
}
}