示例#1
0
        public override DrawObject Clone(int n)
        {
            TCM drawTCM = new TCM();

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

            FillDrawObjectFields(drawTCM);
            return(drawTCM);
        }
示例#2
0
        /// <summary>
        /// Clone this instance
        /// </summary>
        public override DrawObject Clone()
        {
            TCM drawTCM = new TCM();

            drawTCM.Rectangle    = this.Rectangle;
            drawTCM._tagIDBase   = this._tagIDBase;
            drawTCM._logicIDTail = this._logicIDTail;
            drawTCM.DeviceIP     = this.DeviceIP;

            FillDrawObjectFields(drawTCM);
            return(drawTCM);
        }