Ejemplo n.º 1
0
        public void Update_Except_States(Port otherPort)
        {
            this.Name        = otherPort.Name;
            this.Description = otherPort.Description;
            this.Type        = otherPort.Type;
            this.Semantics   = otherPort.Semantics;
            this.ioDirection = otherPort.ioDirection;

            this.PortKey     = otherPort.PortKey;
            this.ConfFlags   = otherPort.ConfFlags;
            this.PortModelId = otherPort.PortModelId;
        }
Ejemplo n.º 2
0
        public void Update_Except_States(Port otherPort)
        {
            this.Name        = otherPort.Name;
            this.Description = otherPort.Description;
            this.Type        = otherPort.Type;
            this.Semantics   = otherPort.Semantics;

            DebugEx.Assert(otherPort.ioDirection != ioPortDirection.Undefined, $"Undefined IO direction for port {otherPort.PortKey}");
            if (otherPort.ioDirection != ioPortDirection.Undefined)
            {
                this.ioDirection = otherPort.ioDirection;
            }

            this.PortKey     = otherPort.PortKey;
            this.ConfFlags   = otherPort.ConfFlags;
            this.PortModelId = otherPort.PortModelId;
        }
Ejemplo n.º 3
0
        public void Update_Except_States(Port otherPort)
        {
            this.Name = otherPort.Name;
            this.Description = otherPort.Description;
            this.Type = otherPort.Type;
            this.Semantics = otherPort.Semantics;
            this.ioDirection = otherPort.ioDirection;

            this.PortKey = otherPort.PortKey;
            this.ConfFlags = otherPort.ConfFlags;
            this.PortModelId = otherPort.PortModelId;
        }