You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

110 lines
2.4 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
public class ParserExcelInfo
{
/// <summary>
/// Sheet详情列表
/// </summary>
public List<ParserSheetInfo> sheetList { get; set; }
/// <summary>
/// sheet合计
/// </summary>
public int totalSheet { get; set; }
/// <summary>
/// sheet名称组
/// </summary>
public string[] sheetNameArgs { get; set; }
/// <summary>
/// 单元总数
/// </summary>
public int totalCell { get; set; }
}
public class ParserSheetInfo
{
/// <summary>
/// Sheet名称
/// </summary>
public string sheetName { get; set; }
/// <summary>
/// 单元详情
/// </summary>
public List<ParserCellInfo> cellList { get; set; }
/// <summary>
/// 列标题
/// </summary>
public List<ParserColsInfo> colsList { get; set; }
/// <summary>
/// 主要保存解析的非Table内容例如标题。
/// </summary>
public List<ParserCellInfo> otherList { get; set; }
/// <summary>
/// 是否Table混合标题
/// </summary>
public bool isMutipleTableCols { get; set; }
}
public class ParserCellInfo
{
/// <summary>
/// 序号
/// </summary>
public int sort { get; set; }
/// <summary>
/// 列标
/// </summary>
public int colsIndx { get; set; }
/// <summary>
/// 行标
/// </summary>
public int rowIndx { get; set; }
/// <summary>
/// 列名称
/// </summary>
public string colsName { get; set; }
/// <summary>
/// 单元值
/// </summary>
public string cellVal { get; set; }
}
public class ParserColsInfo
{
/// <summary>
/// 行标
/// </summary>
public int sort { get; set; }
/// <summary>
/// 列标
/// </summary>
public int colsIndx { get; set; }
/// <summary>
/// 列名称
/// </summary>
public string colsName { get; set; }
/// <summary>
/// 上层列标题
/// </summary>
public List<ParserColsInfo> aboveColsList { get; set; }
}
}