Exemplo n.º 1
0
        public override DrawObject Clone(int n)
        {
            AGMChannelDual drawAGMChannelDual = new AGMChannelDual();

            drawAGMChannelDual.Rectangle    = this.Rectangle;
            drawAGMChannelDual._tagIDBase   = this._tagIDBase;
            drawAGMChannelDual.DeviceIP     = this.DeviceIP;
            drawAGMChannelDual._logicIDTail = LogicIDAdd(_logicIDTail, n);
            drawAGMChannelDual.Direction    = this.Direction;
            FillDrawObjectFields(drawAGMChannelDual);
            return(drawAGMChannelDual);
        }
Exemplo n.º 2
0
        public override DrawObject Clone()
        {
            AGMChannelDual drawAGMChannelDual = new AGMChannelDual();

            drawAGMChannelDual.Rectangle   = this.Rectangle;
            drawAGMChannelDual.tagIDBase   = this.tagIDBase;
            drawAGMChannelDual.logicIDTail = this.logicIDTail;
            drawAGMChannelDual.DeviceIP    = this.DeviceIP;
            drawAGMChannelDual.Direction   = this.Direction;

            FillDrawObjectFields(drawAGMChannelDual);
            return(drawAGMChannelDual);
        }