You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
2.2 KiB
93 lines
2.2 KiB
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; } |
|
/// <summary> |
|
/// 文件路径 |
|
/// </summary> |
|
public string? SJLJ { get; set; } |
|
/// <summary> |
|
/// 文件路径 |
|
/// </summary> |
|
public string? Message { get; set; } |
|
|
|
/// <summary> |
|
/// 导入的图层名称 |
|
/// </summary> |
|
public string? TCMC { get; set; } |
|
/// <summary> |
|
/// 关键字段 |
|
/// </summary> |
|
public string? ZD { get; set; } |
|
/// <summary> |
|
/// 是否需要分析 |
|
/// </summary> |
|
public bool SFFX { get; set; } |
|
/// <summary> |
|
/// 是否任务图层 |
|
/// </summary> |
|
public bool SFRW { get; set; } |
|
/// <summary> |
|
/// 关键属性 |
|
/// </summary> |
|
public string? SX { get; set; } |
|
/// <summary> |
|
/// 图层别名 |
|
/// </summary> |
|
public string? TCBM { get; set; } |
|
|
|
public DataType? DataType { get; set; } |
|
/// <summary> |
|
/// 行政区名称 |
|
/// </summary> |
|
public string? XZQMC { get; set; } |
|
|
|
/// <summary> |
|
/// 行政区代码 |
|
/// </summary> |
|
public string? XZQDM { get; set; } |
|
public string? Code => XZQDM + XZQMC; |
|
/// <summary> |
|
/// 截图(图层)名称 |
|
/// </summary> |
|
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 |
|
} |
|
}
|
|
|