public void Execute()
 {
     _ladderDiagram.SetMaskNumber();
     _ladderDiagram.RemoveNetworks(_removedNetworks);
     _ladderDiagram.IDVModel.Setup(_ladderDiagram);
     _ladderDiagram.ClearModelMessageByNetwork(_removedNetworks);
 }
 public void Execute()
 {
     _ladderDiagram.SetMaskNumber();
     _ladderDiagram.AddNetwork(_replacedNetworks, _index, false);
     _ladderDiagram.RemoveNetworks(_removedNetworks);
     _ladderDiagram.IDVModel.Setup(_ladderDiagram);
     _ladderDiagram.ClearModelMessageByNetwork(_removedNetworks);
     _ladderDiagram.UpdateModelMessageByNetwork();
     if (_replacedNetworks.Count() > 0)
     {
         _area = NetworkChangeElementArea.Create(
             _ladderDiagram, _replacedNetworks);
         LadderNetworkViewModel lnvmodel = _replacedNetworks.First();
         _area.Select(lnvmodel);
     }
 }