Example #1
0
        public override DrawObject Clone(int n)
        {
            AGMChannel drawAGMChannel = new AGMChannel();

            drawAGMChannel.Rectangle    = this.Rectangle;
            drawAGMChannel._tagIDBase   = this._tagIDBase;
            drawAGMChannel.DeviceIP     = this.DeviceIP;
            drawAGMChannel._logicIDTail = LogicIDAdd(_logicIDTail, n);
            drawAGMChannel.Direction    = this.Direction;
            FillDrawObjectFields(drawAGMChannel);
            return(drawAGMChannel);
        }
Example #2
0
        public override DrawObject Clone()
        {
            AGMChannel drawAGMChannel = new AGMChannel();

            drawAGMChannel.Rectangle   = this.Rectangle;
            drawAGMChannel.tagIDBase   = this.tagIDBase;
            drawAGMChannel.logicIDTail = this.logicIDTail;
            drawAGMChannel.DeviceIP    = this.DeviceIP;
            drawAGMChannel.Direction   = this.Direction;
            FillDrawObjectFields(drawAGMChannel);
            return(drawAGMChannel);
        }