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

            drawAGMWallDual.Rectangle   = this.Rectangle;
            drawAGMWallDual.tagIDBase   = this.tagIDBase;
            drawAGMWallDual.logicIDTail = LogicIDAdd(logicIDTail, n);

            FillDrawObjectFields(drawAGMWallDual);
            return(drawAGMWallDual);
        }
Example #2
0
        public override DrawObject Clone(int n)
        {
            AGMWallDual drawAGMWallDual = new AGMWallDual();

            drawAGMWallDual.Rectangle    = this.Rectangle;
            drawAGMWallDual._tagIDBase   = this._tagIDBase;             //绑定的label
            drawAGMWallDual._logicIDTail = LogicIDAdd(_logicIDTail, n); //解决设备ID相同问题

            FillDrawObjectFields(drawAGMWallDual);
            return(drawAGMWallDual);
        }
Example #3
0
        public override DrawObject Clone()
        {
            AGMWallDual drawAGMWallDual = new AGMWallDual();

            objIdInc--;
            drawAGMWallDual.Rectangle = this.Rectangle;

            drawAGMWallDual.tagIDBase   = this.tagIDBase;
            drawAGMWallDual.logicIDTail = logicIDTail;
            drawAGMWallDual.Direction   = this.Direction;

            FillDrawObjectFields(drawAGMWallDual);
            return(drawAGMWallDual);
        }