示例#1
0
文件: Port.cs 项目: sm6uax/plegma
        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;
        }
示例#2
0
文件: Port.cs 项目: sm6uax/plegma
        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;
        }
示例#3
0
文件: Port.cs 项目: yodiwo/plegma
        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;
        }