Files
SzmediTools/Szmedi.RvKits/InfoManager/Delivery/ParamData.cs
2025-09-16 16:06:41 +08:00

36 lines
966 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace Szmedi.RvKits.InfoManager
{
/// <summary>
/// 绑定到树
/// </summary>
public partial class ParamData : ObservableObject
{
[ObservableProperty]
private bool? isChecked = true;
public int Id { get; set; }
/// <summary>
/// 属性类别
/// </summary>
public string PropertyCategory { get; set; }
/// <summary>
/// 数据类型,与单位对应
/// </summary>
public string DataType { get; set; }
/// <summary>
/// 属性
/// </summary>
public string Property { get; set; }
/// <summary>
/// 单位
/// </summary>
public string Unit { get; set; }
/// <summary>
/// 使用override可以在子类中重写实现不同的逻辑实现根据运行时类型
/// </summary>
public virtual string FullProperty => Property;
}
}