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.
122 lines
3.1 KiB
122 lines
3.1 KiB
using BrilliantSightClient.Model.GradeLevel.Entity.Enum; |
|
|
|
namespace BrilliantSightClient.Model.GradeLevel.Entity; |
|
|
|
public class MasterLevelEntity |
|
{ |
|
// 私有字段存储属性值(每个属性对应一个字段) |
|
private string _name = string.Empty; |
|
private string _eName = string.Empty; |
|
private RunMode _runMode; |
|
private Shape _shape; |
|
private int _crown = 8; |
|
private int _pavilion = 8; |
|
private List<LevelSetEntity> _symLevelSet = new List<LevelSetEntity>(); |
|
private List<LevelSetEntity> _cutLevelSet = new List<LevelSetEntity>(); |
|
private string _sign = string.Empty; |
|
private List<UseDataSet> _useDataSets = new List<UseDataSet>(); |
|
private List<BaseEntity> _rulesTree = new List<BaseEntity>(); |
|
private TotalRuleSet cutTotalRuleSet; |
|
private TotalRuleSet symTotalRuleSet; |
|
|
|
/// <summary> |
|
/// 名称 |
|
/// </summary> |
|
public string Name |
|
{ |
|
get => _name; |
|
set { _name = value; } |
|
} |
|
/// <summary> |
|
/// 英文名称 |
|
/// </summary> |
|
public string EName |
|
{ |
|
get => _eName; |
|
set { _eName = value; } |
|
} |
|
/// <summary> |
|
/// 运行模式 |
|
/// </summary> |
|
public RunMode RunMode |
|
{ |
|
get => _runMode; |
|
set { _runMode = value; } |
|
} |
|
/// <summary> |
|
/// 形状 |
|
/// </summary> |
|
public Shape Shape |
|
{ |
|
get => _shape; |
|
set { _shape = value; } |
|
} |
|
/// <summary> |
|
/// 冠数量 |
|
/// </summary> |
|
public int Crown |
|
{ |
|
get => _crown; |
|
set { _crown = value; } |
|
} |
|
/// <summary> |
|
/// 亭数量 |
|
/// </summary> |
|
public int Pavilion |
|
{ |
|
get => _pavilion; |
|
set { _pavilion = value; } |
|
} |
|
|
|
/// <summary> |
|
/// 对称分级 |
|
/// </summary> |
|
public List<LevelSetEntity> SymLevelSet |
|
{ |
|
get => _symLevelSet; |
|
set { _symLevelSet = value; } |
|
} |
|
/// <summary> |
|
/// 切工分级 |
|
/// </summary> |
|
public List<LevelSetEntity> CutLevelSet |
|
{ |
|
get => _cutLevelSet; |
|
set { _cutLevelSet = value; } |
|
} |
|
/// <summary> |
|
/// 数据设置 |
|
/// </summary> |
|
public List<UseDataSet> UseDataSets |
|
{ |
|
get => _useDataSets; |
|
set { _useDataSets = value; } |
|
} |
|
/// <summary> |
|
/// 规则树 |
|
/// </summary> |
|
public List<BaseEntity> RulesTree |
|
{ |
|
get => _rulesTree; |
|
set { _rulesTree = value; } |
|
} |
|
|
|
public TotalRuleSet CutTotalRuleSet |
|
{ |
|
get => cutTotalRuleSet; |
|
set { cutTotalRuleSet = value; } |
|
} |
|
|
|
public TotalRuleSet SymTotalRuleSet |
|
{ |
|
get => symTotalRuleSet; |
|
set { symTotalRuleSet = value; } |
|
} |
|
|
|
|
|
public string Sign |
|
{ |
|
get => _sign; |
|
set { _sign = value; } |
|
} |
|
} |