92 lines
2.0 KiB
C#
92 lines
2.0 KiB
C#
using static Egw.Window.Data.Enums;
|
|
|
|
namespace Egw.Window.Data
|
|
{
|
|
public class Hardware
|
|
{
|
|
public string Id { get; set; }
|
|
public string FamilyName { get; set; }
|
|
public string Description { get; set; }
|
|
public OpeningTypes OpeningType { get; set; }
|
|
public string Shape { get; set; }
|
|
public int SashQty { get; set; }
|
|
public int SashPosition { get; set; }
|
|
|
|
#if false
|
|
private string m_Id;
|
|
public string Id
|
|
{
|
|
get
|
|
{
|
|
return m_Id;
|
|
}
|
|
}
|
|
|
|
private string m_FamilyName;
|
|
public string FamilyName
|
|
{
|
|
get
|
|
{
|
|
return m_FamilyName;
|
|
}
|
|
}
|
|
|
|
private string m_Description;
|
|
public string Description
|
|
{
|
|
get
|
|
{
|
|
return m_Description;
|
|
}
|
|
}
|
|
|
|
private OpeningTypes m_OpeningType;
|
|
public OpeningTypes OpeningType
|
|
{
|
|
get
|
|
{
|
|
return m_OpeningType;
|
|
}
|
|
}
|
|
|
|
private string m_Shape;
|
|
public string Shape
|
|
{
|
|
get
|
|
{
|
|
return m_Shape;
|
|
}
|
|
}
|
|
|
|
private int m_SashQty;
|
|
public int SashQty
|
|
{
|
|
get
|
|
{
|
|
return m_SashQty;
|
|
}
|
|
}
|
|
|
|
private int m_SashPosition;
|
|
public int SashPosition
|
|
{
|
|
get
|
|
{
|
|
return m_SashPosition;
|
|
}
|
|
}
|
|
#endif
|
|
|
|
public Hardware(string Id, string FamilyName, string Description, OpeningTypes OpeningType, string Shape, int SashQty, int SashPosition)
|
|
{
|
|
this.Id = Id;
|
|
this.FamilyName = FamilyName;
|
|
this.Description = Description;
|
|
this.OpeningType = OpeningType;
|
|
this.Shape = Shape;
|
|
this.SashQty = SashQty;
|
|
this.SashPosition = SashPosition;
|
|
}
|
|
}
|
|
}
|