Esempio n. 1
0
        public override DrawObject Clone(int n)
        {
            TVM drawTVM = new TVM();

            drawTVM.Rectangle   = this.Rectangle;
            drawTVM.TagIDBase   = TagIDBase;
            drawTVM.DeviceIP    = this.DeviceIP;
            drawTVM.logicIDTail = LogicIDAdd(logicIDTail, n);
            FillDrawObjectFields(drawTVM);
            return(drawTVM);
        }
Esempio n. 2
0
        /// <summary>
        /// Clone this instance
        /// </summary>
        public override DrawObject Clone()
        {
            TVM drawTVM = new TVM();

            drawTVM.Rectangle    = this.Rectangle;
            drawTVM.TagIDBase    = TagIDBase;
            drawTVM._logicIDTail = this._logicIDTail;
            drawTVM.DeviceIP     = this.DeviceIP;
            FillDrawObjectFields(drawTVM);
            return(drawTVM);
        }