添加项目文件。
This commit is contained in:
35
Szmedi.RvKits/InfoManager/Delivery/ParamData.cs
Normal file
35
Szmedi.RvKits/InfoManager/Delivery/ParamData.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user