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