using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static WebWindowComplex.Json.WindowConst; namespace WebWindowComplex { public class ItemTable { private AreaTypes m_type; public AreaTypes Type { get { return m_type; } set { m_type = value; } } private string m_desc; public string Desc { get { return m_desc; } set { m_desc = value; } } private int m_row; public int Row { get { return m_row; } set { m_row = value; } } private int m_col; public int Col { get { return m_col; } set { m_col = value; } } /// /// Indica l'indice rispetto al vettore delle sash /// Se non è una sash vale -1 /// private int m_numSash; public int NumSash { get { return m_numSash; } set { m_numSash = value; } } /// /// Indica il numero di figli /// Se non ha figli vale -1 /// private int m_numChild; public int NumChild { get { return m_numChild; } set { m_numChild = value; } } public ItemTable(AreaTypes elementType, string s_description,int n_row, int n_col, int n_numSash, int n_numChild) { Type = elementType; m_desc = s_description; Row = n_row; Col = n_col; NumSash = n_numSash; NumChild = n_numChild; } } }