添加项目文件。
This commit is contained in:
54
Szmedi.RvKits/Civil/RoomItem.cs
Normal file
54
Szmedi.RvKits/Civil/RoomItem.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Szmedi.RvKits.Civil
|
||||
{
|
||||
public class RoomItem : ObservableObject
|
||||
{
|
||||
private string inputValue;
|
||||
|
||||
[Column("Id")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Column("Necessity")]
|
||||
public int Necessity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 站层
|
||||
/// </summary>
|
||||
[Column("Level")]
|
||||
public string Level { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单独的变电所
|
||||
/// </summary>
|
||||
[Column("UnitProject")]
|
||||
public string UnitProject { get; set; }
|
||||
|
||||
[Column("Name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Column("MinArea")]
|
||||
public string MinArea { get; set; }
|
||||
|
||||
[Column("MinEdgeLength")]
|
||||
public string MinEdgeLength { get; set; }
|
||||
|
||||
[Column("Conditions")]
|
||||
public string Conditions { get; set; }
|
||||
|
||||
[Column("DetailDescription")]
|
||||
public string Description { get; set; }
|
||||
|
||||
[Column("LevelRequirement")]
|
||||
public string LevelRequirement { get; set; }
|
||||
|
||||
[Column("InputValue")]
|
||||
public string InputValue
|
||||
{
|
||||
get => inputValue;
|
||||
set => SetProperty(ref inputValue, value);
|
||||
}
|
||||
|
||||
public string Tips => $"布置要求:{Description};等级要求:{LevelRequirement}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user