Esempio n. 1
0
        public CellInfo() : base()
        {
            m_cellType       = new serialization.types.Byte((byte)CellType.CELL_NONE);
            m_logicCellBytes = new serialization.types.ByteArray(new byte[0]);

            InitSerializableMembers(m_cellType, m_logicCellBytes);
        }
Esempio n. 2
0
        public CellInfo(LogicCell parentCell)
        {
            if (parentCell != null)
            {
                m_cellType       = new serialization.types.Byte((byte)parentCell.GetCellType());
                m_logicCellBytes = new serialization.types.ByteArray(parentCell.GetBytes());
            }
            else
            {
                m_cellType       = new serialization.types.Byte((byte)CellType.CELL_NONE);
                m_logicCellBytes = new serialization.types.ByteArray(new byte[0]);
            }

            InitSerializableMembers(m_cellType, m_logicCellBytes);
        }