automapper框架优化
This commit is contained in:
45
Model/Models/Parameter.cs
Normal file
45
Model/Models/Parameter.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Model.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 参数纯数据类(对应 UIShare.UIViewModel.ParameterModel)
|
||||
/// </summary>
|
||||
public class Parameter
|
||||
{
|
||||
public Guid ID { get; set; } = Guid.NewGuid();
|
||||
|
||||
public bool IsVisible { get; set; } = true;
|
||||
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 类型全名(对应 ParameterModel.Type 的 FullName)
|
||||
/// </summary>
|
||||
public string? TypeName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数类别(Input / Output / Temp)
|
||||
/// </summary>
|
||||
public string? Category { get; set; }
|
||||
|
||||
public bool IsGlobal { get; set; }
|
||||
|
||||
public object? Value { get; set; }
|
||||
|
||||
public object? LowerLimit { get; set; }
|
||||
|
||||
public object? UpperLimit { get; set; }
|
||||
|
||||
public bool Result { get; set; } = true;
|
||||
|
||||
public bool IsUseVar { get; set; }
|
||||
|
||||
public bool IsSave { get; set; }
|
||||
|
||||
public string? VariableName { get; set; }
|
||||
|
||||
public Guid? VariableID { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user