using System;
using System.Collections.Generic;
using System.Text;
namespace Kingo.DataAnalysis.Model
{
public class BaseAnalysisData
{
public string Code { get; set; }
//数据列表
public DataModel[]? TaskList { get; set; }
//数据列表
public DataModel[]? RelDataList { get; set; }
//输出结构
public string? OutDB { get; set; }
public AnalysisConfig? Config { get; set; }
public string? Message { get; set; }
}
public class DataModel
{
public int ID { get; set; }
///
/// 文件路径
///
public string? SJLJ { get; set; }
///
/// 文件路径
///
public string? Message { get; set; }
///
/// 导入的图层名称
///
public string? TCMC { get; set; }
///
/// 关键字段
///
public string? ZD { get; set; }
///
/// 是否需要分析
///
public bool SFFX { get; set; }
///
/// 是否任务图层
///
public bool SFRW { get; set; }
///
/// 关键属性
///
public string? SX { get; set; }
///
/// 图层别名
///
public string? TCBM { get; set; }
public DataType? DataType { get; set; }
///
/// 行政区名称
///
public string? XZQMC { get; set; }
///
/// 行政区代码
///
public string? XZQDM { get; set; }
public string? Code => XZQDM + XZQMC;
///
/// 截图(图层)名称
///
public string? JTMC { get; set; }
}
public enum DataType
{
Folder = 1,
GDB = 2,
SHP = 4,
MDB = 8,
IMG = 16,
TIFF = 32,
PNG = 64,
ZIP = 128,
Featrue = 256,
Table = 512,
DB = 1024,
Excel = 2048,
Default = 0
}
}