Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:SimpleRectangle"/> class.
 /// </summary>
 public PortShape(CommandReference reference)
     : base()
 {
     this.sysRef = reference;
     cIn = new List<Connector>();
     cOut = new List<Connector>();
     cBus = new List<Connector>();
     Initialize();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:SimpleRectangle"/> class.
 /// </summary>
 public SignalShape(CommandReference reference)
     : base()
 {
     this.sysRef = reference;
     Initialize();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Default ctor
 /// </summary>
 /// <param name="s"></param>
 public BusShape(IModel s, CommandReference reference)
     : base(s)
 {
     this.sysRef = reference;
     Initialize();
 }
Exemplo n.º 4
0
 public virtual void PostCommandRemovePort(CommandReference reference, bool isolate)
 {
     RemovePortCommand cmd = new RemovePortCommand();
     cmd.PortReference = reference;
     cmd.Isolate = isolate;
     PostCommand(cmd);
 }
Exemplo n.º 5
0
 public virtual void PostCommandRemoveBus(CommandReference reference)
 {
     RemoveBusCommand cmd = new RemoveBusCommand();
     cmd.BusReference = reference;
     PostCommand(cmd);
 }
Exemplo n.º 6
0
 public virtual void PostCommandRemoveSignal(CommandReference reference, bool isolate)
 {
     RemoveSignalCommand cmd = new RemoveSignalCommand();
     cmd.SignalReference = reference;
     cmd.Isolate = isolate;
     PostCommand(cmd);
 }