46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
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; }
|
||
}
|
||
}
|