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); }
/// <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); }