Exemplo n.º 1
0
 public HorizontalWire(Core.Components.Node logicNode, int row, int startColumn, int endColumn)
 {
     Grid.SetRow(this, row);
     Grid.SetColumn(this, startColumn);
     Grid.SetColumnSpan(this, endColumn - startColumn);
     this.LogicNode = logicNode;
 }
Exemplo n.º 2
0
 public VerticalWire(Core.Components.Node logicNode, int column, int startRow, int endRow)
 {
     Grid.SetColumn(this, column);
     Grid.SetRow(this, startRow);
     Grid.SetRowSpan(this, endRow - startRow + 1);
     this.LogicNode = logicNode;
 }
Exemplo n.º 3
0
        private List <ComponentGridPosition> GetAllBetween(Core.Components.Node startNode, Core.Components.Node endNode)
        {
            var logicList = _LogicalRung.GetAllBetween(startNode, endNode);

            return(_Components.Where(x => logicList.Contains(x.Component.LogicComponent)).ToList());
        }